diff options
author | rathnor <rathnor> | 2004-08-26 15:09:33 (GMT) |
---|---|---|
committer | rathnor <rathnor> | 2004-08-26 15:09:33 (GMT) |
commit | 346a6598a62350c5d234e3177de9e6c6c1963475 (patch) | |
tree | 02706013944f306c549ca627144a13d6552cd098 /src/ButtonTheme.hh | |
parent | 13bf2a7fddff4242581eec62243222acd49a1537 (diff) | |
download | fluxbox_pavel-346a6598a62350c5d234e3177de9e6c6c1963475.zip fluxbox_pavel-346a6598a62350c5d234e3177de9e6c6c1963475.tar.bz2 |
make arrow button's arrow size scalable by the user
Diffstat (limited to 'src/ButtonTheme.hh')
-rw-r--r-- | src/ButtonTheme.hh | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/ButtonTheme.hh b/src/ButtonTheme.hh index 2636960..0df252c 100644 --- a/src/ButtonTheme.hh +++ b/src/ButtonTheme.hh | |||
@@ -16,10 +16,12 @@ public: | |||
16 | 16 | ||
17 | inline const FbTk::Texture &pressed() const { return *m_pressed_texture; } | 17 | inline const FbTk::Texture &pressed() const { return *m_pressed_texture; } |
18 | inline GC gc() const { return m_gc.gc(); } | 18 | inline GC gc() const { return m_gc.gc(); } |
19 | inline int scale() const { return *m_scale; } // scale factor for inside objects | ||
19 | private: | 20 | private: |
20 | FbTk::ThemeItem<FbTk::Color> m_pic_color; | 21 | FbTk::ThemeItem<FbTk::Color> m_pic_color; |
21 | FbTk::ThemeItem<FbTk::Texture> m_pressed_texture; | 22 | FbTk::ThemeItem<FbTk::Texture> m_pressed_texture; |
22 | FbTk::GContext m_gc; | 23 | FbTk::GContext m_gc; |
24 | FbTk::ThemeItem<int> m_scale; | ||
23 | }; | 25 | }; |
24 | 26 | ||
25 | #endif // BUTTONTHEME_HH | 27 | #endif // BUTTONTHEME_HH |