diff options
author | markt <markt> | 2007-03-25 06:53:09 (GMT) |
---|---|---|
committer | markt <markt> | 2007-03-25 06:53:09 (GMT) |
commit | cd28ddec7b719fd10f5b7740cf25fa77891526ae (patch) | |
tree | 2c033a9a7c6c8edec38d3ee85d6be67e8efe6128 /src/FbWinFrame.hh | |
parent | af76b920415642fa04ee32fa1c621e8b36888842 (diff) | |
download | fluxbox-cd28ddec7b719fd10f5b7740cf25fa77891526ae.zip fluxbox-cd28ddec7b719fd10f5b7740cf25fa77891526ae.tar.bz2 |
added session.screen0.tabs.usePixmap
Diffstat (limited to 'src/FbWinFrame.hh')
-rw-r--r-- | src/FbWinFrame.hh | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/src/FbWinFrame.hh b/src/FbWinFrame.hh index 182add4..a75d8a1 100644 --- a/src/FbWinFrame.hh +++ b/src/FbWinFrame.hh | |||
@@ -42,6 +42,8 @@ | |||
42 | class Shape; | 42 | class Shape; |
43 | class FbWinFrameTheme; | 43 | class FbWinFrameTheme; |
44 | class BScreen; | 44 | class BScreen; |
45 | class IconButton; | ||
46 | class Focusable; | ||
45 | 47 | ||
46 | namespace FbTk { | 48 | namespace FbTk { |
47 | class TextButton; | 49 | class TextButton; |
@@ -70,8 +72,6 @@ public: | |||
70 | }; | 72 | }; |
71 | 73 | ||
72 | 74 | ||
73 | typedef FbTk::TextButton *ButtonId; ///< defines a button id | ||
74 | |||
75 | /// create a top level window | 75 | /// create a top level window |
76 | FbWinFrame(BScreen &screen, FbWinFrameTheme &theme, FbTk::ImageControl &imgctrl, | 76 | FbWinFrame(BScreen &screen, FbWinFrameTheme &theme, FbTk::ImageControl &imgctrl, |
77 | FbTk::XLayer &layer, | 77 | FbTk::XLayer &layer, |
@@ -141,10 +141,9 @@ public: | |||
141 | /// remove all buttons from titlebar | 141 | /// remove all buttons from titlebar |
142 | void removeAllButtons(); | 142 | void removeAllButtons(); |
143 | /// adds a button to label window with specified title and command | 143 | /// adds a button to label window with specified title and command |
144 | ButtonId createTab(const std::string &title, FbTk::Command *cmd, int tab_padding); | 144 | IconButton *createTab(Focusable &client); |
145 | // void addLabelButton(FbTk::TextButton &btn); | ||
146 | /// removes a specific button from label window | 145 | /// removes a specific button from label window |
147 | void removeTab(ButtonId id); | 146 | void removeTab(IconButton *id); |
148 | /// move label button to the left | 147 | /// move label button to the left |
149 | void moveLabelButtonLeft(FbTk::TextButton &btn); | 148 | void moveLabelButtonLeft(FbTk::TextButton &btn); |
150 | /// move label button to the right | 149 | /// move label button to the right |
@@ -322,7 +321,6 @@ private: | |||
322 | m_buttons_right; ///< buttons to the right | 321 | m_buttons_right; ///< buttons to the right |
323 | typedef std::list<FbTk::TextButton *> LabelList; | 322 | typedef std::list<FbTk::TextButton *> LabelList; |
324 | FbTk::TextButton *m_current_label; ///< which client button is focused at the moment | 323 | FbTk::TextButton *m_current_label; ///< which client button is focused at the moment |
325 | std::string m_titletext; ///< text to be displayed int m_label | ||
326 | int m_bevel; ///< bevel between titlebar items and titlebar | 324 | int m_bevel; ///< bevel between titlebar items and titlebar |
327 | bool m_use_titlebar; ///< if we should use titlebar | 325 | bool m_use_titlebar; ///< if we should use titlebar |
328 | bool m_use_tabs; ///< if we should use tabs (turns them off in external mode only) | 326 | bool m_use_tabs; ///< if we should use tabs (turns them off in external mode only) |