diff options
Diffstat (limited to 'src/ToolbarItem.hh')
-rw-r--r-- | src/ToolbarItem.hh | 6 |
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 @@ | |||
32 | class ToolbarItem { | 32 | class ToolbarItem { |
33 | public: | 33 | public: |
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 {}; |