aboutsummaryrefslogtreecommitdiff
path: root/src/ToolbarItem.hh
diff options
context:
space:
mode:
authorsimonb <simonb>2006-04-15 16:41:11 (GMT)
committersimonb <simonb>2006-04-15 16:41:11 (GMT)
commit7c7908443302fc66929e19804f0fbd655d4c7f34 (patch)
tree6839a7379b4cc514a5a4ce20ebf0a53123d20ba2 /src/ToolbarItem.hh
parent83a3429c395299b5acb85a3f372091037fe12603 (diff)
downloadfluxbox_pavel-7c7908443302fc66929e19804f0fbd655d4c7f34.zip
fluxbox_pavel-7c7908443302fc66929e19804f0fbd655d4c7f34.tar.bz2
implement vertical toolbar placement options
Diffstat (limited to 'src/ToolbarItem.hh')
-rw-r--r--src/ToolbarItem.hh6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/ToolbarItem.hh b/src/ToolbarItem.hh
index 3137fc8..a240880 100644
--- a/src/ToolbarItem.hh
+++ b/src/ToolbarItem.hh
@@ -26,6 +26,7 @@
26#define TOOLBARITEM_HH 26#define TOOLBARITEM_HH
27 27
28#include "FbTk/Subject.hh" 28#include "FbTk/Subject.hh"
29#include "FbTk/Text.hh" // orientation
29 30
30/// An item in the toolbar that has either fixed or relative size to the toolbar 31/// An item in the toolbar that has either fixed or relative size to the toolbar
31class ToolbarItem { 32class ToolbarItem {
@@ -65,11 +66,16 @@ public:
65 void setType(Type type) { m_type = type; } 66 void setType(Type type) { m_type = type; }
66 Type type() const { return m_type; } 67 Type type() const { return m_type; }
67 68
69 inline FbTk::Orientation orientation() const { return m_orientation; }
70 virtual void setOrientation(FbTk::Orientation orient) { m_orientation = orient; }
71
68 class ToolbarItemSubject : public FbTk::Subject {}; 72 class ToolbarItemSubject : public FbTk::Subject {};
69 73
70private: 74private:
71 Type m_type; 75 Type m_type;
72 76
77 FbTk::Orientation m_orientation;
78
73 ToolbarItemSubject m_resize_sig; 79 ToolbarItemSubject m_resize_sig;
74}; 80};
75 81