aboutsummaryrefslogtreecommitdiff
path: root/src/ButtonTheme.hh
diff options
context:
space:
mode:
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