aboutsummaryrefslogtreecommitdiff
path: root/src/ToolTheme.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/ToolTheme.hh')
-rw-r--r--src/ToolTheme.hh6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/ToolTheme.hh b/src/ToolTheme.hh
index 9c34114..693aac6 100644
--- a/src/ToolTheme.hh
+++ b/src/ToolTheme.hh
@@ -41,8 +41,8 @@ public:
41 // textures 41 // textures
42 const FbTk::Texture &texture() const { return *m_texture; } 42 const FbTk::Texture &texture() const { return *m_texture; }
43 const FbTk::BorderTheme &border() const { return m_border; } 43 const FbTk::BorderTheme &border() const { return m_border; }
44 unsigned char alpha() const { return m_alpha; } 44 int alpha() const { return m_alpha; }
45 void setAlpha(unsigned char alpha) { m_alpha = alpha; } 45 void setAlpha(int alpha) { m_alpha = alpha; }
46 46
47 virtual FbTk::Subject &reconfigSig() { return FbTk::Theme::reconfigSig(); } 47 virtual FbTk::Subject &reconfigSig() { return FbTk::Theme::reconfigSig(); }
48 virtual const FbTk::Subject &reconfigSig() const { return FbTk::Theme::reconfigSig(); } 48 virtual const FbTk::Subject &reconfigSig() const { return FbTk::Theme::reconfigSig(); }
@@ -56,7 +56,7 @@ protected:
56private: 56private:
57 FbTk::ThemeItem<FbTk::Texture> m_texture; 57 FbTk::ThemeItem<FbTk::Texture> m_texture;
58 FbTk::BorderTheme m_border; 58 FbTk::BorderTheme m_border;
59 unsigned char m_alpha; 59 int m_alpha;
60}; 60};
61 61
62#endif // TOOLTHEME_HH 62#endif // TOOLTHEME_HH