aboutsummaryrefslogtreecommitdiff
path: root/src/ButtonTheme.hh
diff options
context:
space:
mode:
authorrathnor <rathnor>2004-08-26 15:09:33 (GMT)
committerrathnor <rathnor>2004-08-26 15:09:33 (GMT)
commit346a6598a62350c5d234e3177de9e6c6c1963475 (patch)
tree02706013944f306c549ca627144a13d6552cd098 /src/ButtonTheme.hh
parent13bf2a7fddff4242581eec62243222acd49a1537 (diff)
downloadfluxbox_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.hh2
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
19private: 20private:
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