diff options
author | Mark Tiefenbruck <mark@fluxbox.org> | 2008-01-07 10:26:32 (GMT) |
---|---|---|
committer | Mark Tiefenbruck <mark@fluxbox.org> | 2008-01-07 10:26:32 (GMT) |
commit | dbfddf8e0bcf8e7abbba671eff64c9679332a774 (patch) | |
tree | 37cefce75eef2f7e0c749c3489008608e71dcd6c /src/FbWinFrame.hh | |
parent | ac1bd7e0981222bf340ce7defb2bb8307d42a0a2 (diff) | |
download | fluxbox-dbfddf8e0bcf8e7abbba671eff64c9679332a774.zip fluxbox-dbfddf8e0bcf8e7abbba671eff64c9679332a774.tar.bz2 |
added new ThemeProxy for automatically handling focused vs. unfocused ThemeItems
Diffstat (limited to 'src/FbWinFrame.hh')
-rw-r--r-- | src/FbWinFrame.hh | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/FbWinFrame.hh b/src/FbWinFrame.hh index 82c33dc..800bc0e 100644 --- a/src/FbWinFrame.hh +++ b/src/FbWinFrame.hh | |||
@@ -160,8 +160,8 @@ public: | |||
160 | void addRightButton(FbTk::Button *btn); | 160 | void addRightButton(FbTk::Button *btn); |
161 | /// remove all buttons from titlebar | 161 | /// remove all buttons from titlebar |
162 | void removeAllButtons(); | 162 | void removeAllButtons(); |
163 | /// adds a button to label window with specified title and command | 163 | /// adds a button to tab container |
164 | IconButton *createTab(Focusable &client); | 164 | void createTab(FbTk::Button &button); |
165 | /// removes a specific button from label window | 165 | /// removes a specific button from label window |
166 | void removeTab(IconButton *id); | 166 | void removeTab(IconButton *id); |
167 | /// move label button to the left | 167 | /// move label button to the left |
@@ -253,7 +253,6 @@ public: | |||
253 | FbTk::FbWindow &gripLeft() { return m_grip_left; } | 253 | FbTk::FbWindow &gripLeft() { return m_grip_left; } |
254 | const FbTk::FbWindow &gripRight() const { return m_grip_right; } | 254 | const FbTk::FbWindow &gripRight() const { return m_grip_right; } |
255 | FbTk::FbWindow &gripRight() { return m_grip_right; } | 255 | FbTk::FbWindow &gripRight() { return m_grip_right; } |
256 | const IconButton *currentLabel() const { return m_current_label; } | ||
257 | bool focused() const { return m_focused; } | 256 | bool focused() const { return m_focused; } |
258 | bool isShaded() const { return m_shaded; } | 257 | bool isShaded() const { return m_shaded; } |
259 | FbTk::ThemeProxy<FbWinFrameTheme> &theme() const { return m_theme; } | 258 | FbTk::ThemeProxy<FbWinFrameTheme> &theme() const { return m_theme; } |
@@ -337,7 +336,6 @@ private: | |||
337 | ButtonList m_buttons_left, ///< buttons to the left | 336 | ButtonList m_buttons_left, ///< buttons to the left |
338 | m_buttons_right; ///< buttons to the right | 337 | m_buttons_right; ///< buttons to the right |
339 | typedef std::list<FbTk::TextButton *> LabelList; | 338 | typedef std::list<FbTk::TextButton *> LabelList; |
340 | IconButton *m_current_label; ///< which client button is focused at the moment | ||
341 | int m_bevel; ///< bevel between titlebar items and titlebar | 339 | int m_bevel; ///< bevel between titlebar items and titlebar |
342 | unsigned int m_decoration_mask; ///< bitmask of applied decorations | 340 | unsigned int m_decoration_mask; ///< bitmask of applied decorations |
343 | bool m_use_titlebar; ///< if we should use titlebar | 341 | bool m_use_titlebar; ///< if we should use titlebar |