aboutsummaryrefslogtreecommitdiff
path: root/src/ToolbarItem.hh
diff options
context:
space:
mode:
authorMathias Gumz <akira at fluxbox dot org>2007-12-30 00:36:37 (GMT)
committerMathias Gumz <akira at fluxbox dot org>2007-12-30 00:36:37 (GMT)
commitde6d340ba3a1a64ee46e6562d0bdab062cb92a1e (patch)
treeacfe630257bc3c80a006e5c1cc19e452003dda95 /src/ToolbarItem.hh
parente1f362ae764884a4cd1e1673292cb37d5a85f89c (diff)
downloadfluxbox_pavel-de6d340ba3a1a64ee46e6562d0bdab062cb92a1e.zip
fluxbox_pavel-de6d340ba3a1a64ee46e6562d0bdab062cb92a1e.tar.bz2
forgotten inlines from previous round
Diffstat (limited to 'src/ToolbarItem.hh')
-rw-r--r--src/ToolbarItem.hh6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/ToolbarItem.hh b/src/ToolbarItem.hh
index 5e1ed25..5f8797d 100644
--- a/src/ToolbarItem.hh
+++ b/src/ToolbarItem.hh
@@ -32,7 +32,7 @@
32class ToolbarItem { 32class ToolbarItem {
33public: 33public:
34 /// size type in the toolbar 34 /// size type in the toolbar
35 enum Type { 35 enum Type {
36 FIXED, ///< the size can not be changed 36 FIXED, ///< the size can not be changed
37 RELATIVE, ///< the size can be changed 37 RELATIVE, ///< the size can be changed
38 SQUARE ///< the size is fixed relative to the parent, and in both dimensions 38 SQUARE ///< the size is fixed relative to the parent, and in both dimensions
@@ -54,7 +54,7 @@ public:
54 // some items might be there, but effectively empty, so shouldn't appear 54 // some items might be there, but effectively empty, so shouldn't appear
55 virtual bool active() { return true; } 55 virtual bool active() { return true; }
56 56
57 // Tools should NOT listen to theme changes - they'll get notified by 57 // Tools should NOT listen to theme changes - they'll get notified by
58 // the toolbar instead. Otherwise there are ordering problems. 58 // the toolbar instead. Otherwise there are ordering problems.
59 virtual void renderTheme(unsigned char alpha) = 0; 59 virtual void renderTheme(unsigned char alpha) = 0;
60 60
@@ -69,7 +69,7 @@ public:
69 void setType(Type type) { m_type = type; } 69 void setType(Type type) { m_type = type; }
70 Type type() const { return m_type; } 70 Type type() const { return m_type; }
71 71
72 inline FbTk::Orientation orientation() const { return m_orientation; } 72 FbTk::Orientation orientation() const { return m_orientation; }
73 virtual void setOrientation(FbTk::Orientation orient) { m_orientation = orient; } 73 virtual void setOrientation(FbTk::Orientation orient) { m_orientation = orient; }
74 74
75 class ToolbarItemSubject : public FbTk::Subject {}; 75 class ToolbarItemSubject : public FbTk::Subject {};