aboutsummaryrefslogtreecommitdiff
path: root/src/FbWinFrame.hh
diff options
context:
space:
mode:
authormarkt <markt>2007-03-25 06:53:09 (GMT)
committermarkt <markt>2007-03-25 06:53:09 (GMT)
commitcd28ddec7b719fd10f5b7740cf25fa77891526ae (patch)
tree2c033a9a7c6c8edec38d3ee85d6be67e8efe6128 /src/FbWinFrame.hh
parentaf76b920415642fa04ee32fa1c621e8b36888842 (diff)
downloadfluxbox-cd28ddec7b719fd10f5b7740cf25fa77891526ae.zip
fluxbox-cd28ddec7b719fd10f5b7740cf25fa77891526ae.tar.bz2
added session.screen0.tabs.usePixmap
Diffstat (limited to 'src/FbWinFrame.hh')
-rw-r--r--src/FbWinFrame.hh10
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 @@
42class Shape; 42class Shape;
43class FbWinFrameTheme; 43class FbWinFrameTheme;
44class BScreen; 44class BScreen;
45class IconButton;
46class Focusable;
45 47
46namespace FbTk { 48namespace FbTk {
47class TextButton; 49class 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)