aboutsummaryrefslogtreecommitdiff
path: root/src/Toolbar.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/Toolbar.hh')
-rw-r--r--src/Toolbar.hh7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/Toolbar.hh b/src/Toolbar.hh
index 5a00855..6e49e10 100644
--- a/src/Toolbar.hh
+++ b/src/Toolbar.hh
@@ -22,7 +22,7 @@
22// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 22// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
23// DEALINGS IN THE SOFTWARE. 23// DEALINGS IN THE SOFTWARE.
24 24
25// $Id: Toolbar.hh,v 1.53 2004/06/07 21:32:11 fluxgen Exp $ 25// $Id: Toolbar.hh,v 1.54 2004/09/12 14:56:19 rathnor Exp $
26 26
27#ifndef TOOLBAR_HH 27#ifndef TOOLBAR_HH
28#define TOOLBAR_HH 28#define TOOLBAR_HH
@@ -131,7 +131,8 @@ public:
131 bool isVertical() const; 131 bool isVertical() const;
132 132
133 inline int getOnHead() const { return *m_rc_on_head; } 133 inline int getOnHead() const { return *m_rc_on_head; }
134 134
135 inline unsigned char alpha() const { return *m_rc_alpha; }
135private: 136private:
136 void rearrangeItems(); 137 void rearrangeItems();
137 void deleteItems(); 138 void deleteItems();
@@ -140,6 +141,7 @@ private:
140 void setupMenus(); 141 void setupMenus();
141 void clearStrut(); 142 void clearStrut();
142 void updateStrut(); 143 void updateStrut();
144 void updateAlpha();
143 145
144 bool m_hidden; ///< hidden state 146 bool m_hidden; ///< hidden state
145 147
@@ -179,6 +181,7 @@ private:
179 // resources 181 // resources
180 FbTk::Resource<bool> m_rc_auto_hide, m_rc_maximize_over, m_rc_visible; 182 FbTk::Resource<bool> m_rc_auto_hide, m_rc_maximize_over, m_rc_visible;
181 FbTk::Resource<int> m_rc_width_percent; 183 FbTk::Resource<int> m_rc_width_percent;
184 FbTk::Resource<int> m_rc_alpha;
182 FbTk::Resource<Fluxbox::Layer> m_rc_layernum; 185 FbTk::Resource<Fluxbox::Layer> m_rc_layernum;
183 FbTk::Resource<int> m_rc_on_head; 186 FbTk::Resource<int> m_rc_on_head;
184 FbTk::Resource<Placement> m_rc_placement; 187 FbTk::Resource<Placement> m_rc_placement;