aboutsummaryrefslogtreecommitdiff
path: root/src/ToolTheme.hh
diff options
context:
space:
mode:
authorrathnor <rathnor>2004-09-12 14:56:20 (GMT)
committerrathnor <rathnor>2004-09-12 14:56:20 (GMT)
commit42c1fd3ae3dd058e146b7350c65b74386123c25c (patch)
treecc549c2c7b12c87f8c33198f5b30f00d9dd30bc6 /src/ToolTheme.hh
parentc39234195a46cece2bdb18dfdde6c91c7a190dc4 (diff)
downloadfluxbox_pavel-42c1fd3ae3dd058e146b7350c65b74386123c25c.zip
fluxbox_pavel-42c1fd3ae3dd058e146b7350c65b74386123c25c.tar.bz2
preliminary support for composite/compositing manager. Also general work
for consistency with transparency resources
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