aboutsummaryrefslogtreecommitdiff
path: root/src/ToolbarTheme.hh
diff options
context:
space:
mode:
authorfluxgen <fluxgen>2003-07-10 13:48:35 (GMT)
committerfluxgen <fluxgen>2003-07-10 13:48:35 (GMT)
commitaf1d8d9a8a033b4dcc44aff67f00e959ed5dfe4f (patch)
treec1ede67ad422901f2ceee2bdd216921116f23dc9 /src/ToolbarTheme.hh
parenta3c69f66110df1d2c254a363dcb68c370284519b (diff)
downloadfluxbox-af1d8d9a8a033b4dcc44aff67f00e959ed5dfe4f.zip
fluxbox-af1d8d9a8a033b4dcc44aff67f00e959ed5dfe4f.tar.bz2
added border width for buttons
Diffstat (limited to 'src/ToolbarTheme.hh')
-rw-r--r--src/ToolbarTheme.hh5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/ToolbarTheme.hh b/src/ToolbarTheme.hh
index 770967f..eaa7811 100644
--- a/src/ToolbarTheme.hh
+++ b/src/ToolbarTheme.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: ToolbarTheme.hh,v 1.4 2003/07/10 12:00:09 fluxgen Exp $ 22// $Id: ToolbarTheme.hh,v 1.5 2003/07/10 13:48:35 fluxgen Exp $
23 23
24#ifndef TOOLBARTHEME_HH 24#ifndef TOOLBARTHEME_HH
25#define TOOLBARTHEME_HH 25#define TOOLBARTHEME_HH
@@ -75,6 +75,7 @@ public:
75 75
76 inline int borderWidth() const { return *m_border_width; } 76 inline int borderWidth() const { return *m_border_width; }
77 inline int bevelWidth() const { return *m_bevel_width; } 77 inline int bevelWidth() const { return *m_bevel_width; }
78 inline int buttonBorderWidth() const { return *m_button_border_width; }
78 inline bool shape() const { return *m_shape; } 79 inline bool shape() const { return *m_shape; }
79 80
80 void addListener(FbTk::Observer &obs) { m_theme_change_sig.attach(&obs); } 81 void addListener(FbTk::Observer &obs) { m_theme_change_sig.attach(&obs); }
@@ -89,7 +90,7 @@ private:
89 FbTk::ThemeItem<FbTk::Font> m_font; 90 FbTk::ThemeItem<FbTk::Font> m_font;
90 FbTk::ThemeItem<FbTk::Justify> m_justify; 91 FbTk::ThemeItem<FbTk::Justify> m_justify;
91 92
92 FbTk::ThemeItem<int> m_border_width, m_bevel_width; 93 FbTk::ThemeItem<int> m_border_width, m_bevel_width, m_button_border_width;
93 FbTk::ThemeItem<bool> m_shape; 94 FbTk::ThemeItem<bool> m_shape;
94 95
95 // graphic context 96 // graphic context