diff options
author | fluxgen <fluxgen> | 2003-10-13 23:47:38 (GMT) |
---|---|---|
committer | fluxgen <fluxgen> | 2003-10-13 23:47:38 (GMT) |
commit | dda53b698d0e371b9a7122dbc6fa8bfeaee4146f (patch) | |
tree | 2803d39b773ea65bde94cc1d7e005f42fcb72d5e /src/ToolbarTheme.hh | |
parent | 2aef1e67c3fa06157b7607462463f796e881c215 (diff) | |
download | fluxbox_pavel-dda53b698d0e371b9a7122dbc6fa8bfeaee4146f.zip fluxbox_pavel-dda53b698d0e371b9a7122dbc6fa8bfeaee4146f.tar.bz2 |
added toolbar.button.size
Diffstat (limited to 'src/ToolbarTheme.hh')
-rw-r--r-- | src/ToolbarTheme.hh | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/src/ToolbarTheme.hh b/src/ToolbarTheme.hh index 1161e85..c33dbe8 100644 --- a/src/ToolbarTheme.hh +++ b/src/ToolbarTheme.hh | |||
@@ -1,5 +1,5 @@ | |||
1 | // ToolbarTheme.hh a theme class for Toolbar | 1 | // ToolbarTheme.hh a theme class for Toolbar |
2 | // Copyright (c) 2002 Henrik Kinnunen (fluxgen at users.sourceforge.net) | 2 | // Copyright (c) 2002 - 2003 Henrik Kinnunen (fluxgen at users.sourceforge.net) |
3 | // | 3 | // |
4 | // Permission is hereby granted, free of charge, to any person obtaining a | 4 | // Permission is hereby granted, free of charge, to any person obtaining a |
5 | // copy of this software and associated documentation files (the "Software"), | 5 | // copy of this software and associated documentation files (the "Software"), |
@@ -19,14 +19,14 @@ | |||
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: ToolbarTheme.hh,v 1.9 2003/08/27 20:13:32 fluxgen Exp $ | 22 | // $Id: ToolbarTheme.hh,v 1.10 2003/10/13 23:47:38 fluxgen Exp $ |
23 | 23 | ||
24 | #ifndef TOOLBARTHEME_HH | 24 | #ifndef TOOLBARTHEME_HH |
25 | #define TOOLBARTHEME_HH | 25 | #define TOOLBARTHEME_HH |
26 | 26 | ||
27 | #include "FbTk/Theme.hh" | 27 | #include "FbTk/Theme.hh" |
28 | #include "Texture.hh" | 28 | #include "FbTk/Texture.hh" |
29 | #include "Color.hh" | 29 | #include "FbTk/Color.hh" |
30 | 30 | ||
31 | #include "BorderTheme.hh" | 31 | #include "BorderTheme.hh" |
32 | 32 | ||
@@ -46,16 +46,14 @@ public: | |||
46 | inline bool shape() const { return *m_shape; } | 46 | inline bool shape() const { return *m_shape; } |
47 | inline unsigned char alpha() const { return *m_alpha; } | 47 | inline unsigned char alpha() const { return *m_alpha; } |
48 | inline int height() const { return *m_height; } | 48 | inline int height() const { return *m_height; } |
49 | inline int buttonSize() const { return *m_button_size; } | ||
49 | private: | 50 | private: |
50 | FbTk::ThemeItem<FbTk::Texture> m_toolbar; | 51 | FbTk::ThemeItem<FbTk::Texture> m_toolbar; |
51 | BorderTheme m_border; | 52 | BorderTheme m_border; |
52 | 53 | ||
53 | FbTk::ThemeItem<int> m_bevel_width; | 54 | FbTk::ThemeItem<int> m_bevel_width; |
54 | FbTk::ThemeItem<bool> m_shape; | 55 | FbTk::ThemeItem<bool> m_shape; |
55 | FbTk::ThemeItem<int> m_alpha, m_height; | 56 | FbTk::ThemeItem<int> m_alpha, m_height, m_button_size; |
56 | |||
57 | Display *m_display; | ||
58 | |||
59 | }; | 57 | }; |
60 | 58 | ||
61 | #endif // TOOLBARTHEME_HH | 59 | #endif // TOOLBARTHEME_HH |