diff options
author | fluxgen <fluxgen> | 2003-08-19 16:15:32 (GMT) |
---|---|---|
committer | fluxgen <fluxgen> | 2003-08-19 16:15:32 (GMT) |
commit | 3006ba49e41538bcc0c4afe958875c59a34550a9 (patch) | |
tree | 71ceaafcbd5e15bf594b3603e8448e3e8f650049 /src/FbWinFrame.hh | |
parent | 3dc7ab05994208549917e57323ba60194b2ec420 (diff) | |
download | fluxbox-3006ba49e41538bcc0c4afe958875c59a34550a9.zip fluxbox-3006ba49e41538bcc0c4afe958875c59a34550a9.tar.bz2 |
moved textbutton to fbtk
Diffstat (limited to 'src/FbWinFrame.hh')
-rw-r--r-- | src/FbWinFrame.hh | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/src/FbWinFrame.hh b/src/FbWinFrame.hh index ce3fa2a..2379c24 100644 --- a/src/FbWinFrame.hh +++ b/src/FbWinFrame.hh | |||
@@ -19,7 +19,7 @@ | |||
19 | // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER | 19 | // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER |
20 | // DEALINGS IN THE SOFTWARE. | 20 | // DEALINGS IN THE SOFTWARE. |
21 | 21 | ||
22 | // $Id: FbWinFrame.hh,v 1.12 2003/08/13 16:36:37 fluxgen Exp $ | 22 | // $Id: FbWinFrame.hh,v 1.13 2003/08/19 16:13:25 fluxgen Exp $ |
23 | 23 | ||
24 | #ifndef FBWINFRAME_HH | 24 | #ifndef FBWINFRAME_HH |
25 | #define FBWINFRAME_HH | 25 | #define FBWINFRAME_HH |
@@ -38,9 +38,9 @@ | |||
38 | 38 | ||
39 | class Shape; | 39 | class Shape; |
40 | class FbWinFrameTheme; | 40 | class FbWinFrameTheme; |
41 | class TextButton; | ||
42 | 41 | ||
43 | namespace FbTk { | 42 | namespace FbTk { |
43 | class TextButton; | ||
44 | class ImageControl; | 44 | class ImageControl; |
45 | class Command; | 45 | class Command; |
46 | class Button; | 46 | class Button; |
@@ -93,15 +93,15 @@ public: | |||
93 | /// remove all buttons from titlebar | 93 | /// remove all buttons from titlebar |
94 | void removeAllButtons(); | 94 | void removeAllButtons(); |
95 | /// adds a button to label window | 95 | /// adds a button to label window |
96 | void addLabelButton(TextButton &btn); | 96 | void addLabelButton(FbTk::TextButton &btn); |
97 | /// removes a specific button from label window | 97 | /// removes a specific button from label window |
98 | void removeLabelButton(TextButton &btn); | 98 | void removeLabelButton(FbTk::TextButton &btn); |
99 | /// move label button to the left | 99 | /// move label button to the left |
100 | void moveLabelButtonLeft(const TextButton &btn); | 100 | void moveLabelButtonLeft(const FbTk::TextButton &btn); |
101 | /// move label button to the right | 101 | /// move label button to the right |
102 | void moveLabelButtonRight(const TextButton &btn); | 102 | void moveLabelButtonRight(const FbTk::TextButton &btn); |
103 | /// which button is to be rendered focused | 103 | /// which button is to be rendered focused |
104 | void setLabelButtonFocus(TextButton &btn); | 104 | void setLabelButtonFocus(FbTk::TextButton &btn); |
105 | /// attach a client window for client area | 105 | /// attach a client window for client area |
106 | void setClientWindow(Window win); | 106 | void setClientWindow(Window win); |
107 | /// same as above but with FbWindow | 107 | /// same as above but with FbWindow |
@@ -182,8 +182,8 @@ private: | |||
182 | void renderTitlebar(); | 182 | void renderTitlebar(); |
183 | void renderHandles(); | 183 | void renderHandles(); |
184 | void renderButtons(); | 184 | void renderButtons(); |
185 | void renderButtonFocus(TextButton &button); | 185 | void renderButtonFocus(FbTk::TextButton &button); |
186 | void renderButtonUnfocus(TextButton &button); | 186 | void renderButtonUnfocus(FbTk::TextButton &button); |
187 | void renderLabel(); | 187 | void renderLabel(); |
188 | /// renders to pixmap or sets color | 188 | /// renders to pixmap or sets color |
189 | void render(const FbTk::Texture &tex, FbTk::Color &col, Pixmap &pm, | 189 | void render(const FbTk::Texture &tex, FbTk::Color &col, Pixmap &pm, |
@@ -217,9 +217,9 @@ private: | |||
217 | typedef std::vector<FbTk::Button *> ButtonList; | 217 | typedef std::vector<FbTk::Button *> ButtonList; |
218 | ButtonList m_buttons_left, ///< buttons to the left | 218 | ButtonList m_buttons_left, ///< buttons to the left |
219 | m_buttons_right; ///< buttons to the right | 219 | m_buttons_right; ///< buttons to the right |
220 | typedef std::list<TextButton *> LabelList; | 220 | typedef std::list<FbTk::TextButton *> LabelList; |
221 | LabelList m_labelbuttons; ///< holds label buttons inside label window | 221 | LabelList m_labelbuttons; ///< holds label buttons inside label window |
222 | TextButton *m_current_label; ///< which client button is focused at the moment | 222 | FbTk::TextButton *m_current_label; ///< which client button is focused at the moment |
223 | std::string m_titletext; ///< text to be displayed int m_label | 223 | std::string m_titletext; ///< text to be displayed int m_label |
224 | int m_bevel; ///< bevel between titlebar items and titlebar | 224 | int m_bevel; ///< bevel between titlebar items and titlebar |
225 | bool m_use_titlebar; ///< if we should use titlebar | 225 | bool m_use_titlebar; ///< if we should use titlebar |