aboutsummaryrefslogtreecommitdiff
path: root/src/ToolTheme.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/ToolTheme.hh')
-rw-r--r--src/ToolTheme.hh7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/ToolTheme.hh b/src/ToolTheme.hh
index 5ca5401..ef4bbdf 100644
--- a/src/ToolTheme.hh
+++ b/src/ToolTheme.hh
@@ -20,7 +20,7 @@
20// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 20// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
21// DEALINGS IN THE SOFTWARE. 21// DEALINGS IN THE SOFTWARE.
22 22
23// $Id: ToolTheme.hh,v 1.5 2004/01/13 14:41:32 rathnor Exp $ 23// $Id: ToolTheme.hh,v 1.6 2004/09/12 14:56:19 rathnor Exp $
24 24
25#ifndef TOOLTHEME_HH 25#ifndef TOOLTHEME_HH
26#define TOOLTHEME_HH 26#define TOOLTHEME_HH
@@ -48,7 +48,8 @@ public:
48 // textures 48 // textures
49 const FbTk::Texture &texture() const { return *m_texture; } 49 const FbTk::Texture &texture() const { return *m_texture; }
50 const BorderTheme &border() const { return m_border; } 50 const BorderTheme &border() const { return m_border; }
51 inline unsigned char alpha() const { return *m_alpha; } 51 inline unsigned char alpha() const { return m_alpha; }
52 inline void setAlpha(unsigned char alpha) { m_alpha = alpha; }
52 53
53protected: 54protected:
54 FbTk::ThemeItem<FbTk::Texture> &textureTheme() { return m_texture; } 55 FbTk::ThemeItem<FbTk::Texture> &textureTheme() { return m_texture; }
@@ -56,7 +57,7 @@ protected:
56private: 57private:
57 FbTk::ThemeItem<FbTk::Texture> m_texture; 58 FbTk::ThemeItem<FbTk::Texture> m_texture;
58 BorderTheme m_border; 59 BorderTheme m_border;
59 FbTk::ThemeItem<int> m_alpha; 60 unsigned char m_alpha;
60}; 61};
61 62
62#endif // TOOLTHEME_HH 63#endif // TOOLTHEME_HH