diff options
author | fluxgen <fluxgen> | 2003-12-12 14:36:22 (GMT) |
---|---|---|
committer | fluxgen <fluxgen> | 2003-12-12 14:36:22 (GMT) |
commit | d2d3fbc96c72209c281bd97ba4aee12912c16d89 (patch) | |
tree | fcde0d22376d0100010a85be1241ca367959e37b /src/IconbarTool.hh | |
parent | 722036eab018d8cd57511a38b15d3fe9714ac244 (diff) | |
download | fluxbox-d2d3fbc96c72209c281bd97ba4aee12912c16d89.zip fluxbox-d2d3fbc96c72209c281bd97ba4aee12912c16d89.tar.bz2 |
alignment of iconbar buttons
Diffstat (limited to 'src/IconbarTool.hh')
-rw-r--r-- | src/IconbarTool.hh | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/IconbarTool.hh b/src/IconbarTool.hh index 00e1026..d60d14b 100644 --- a/src/IconbarTool.hh +++ b/src/IconbarTool.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: IconbarTool.hh,v 1.10 2003/11/27 14:30:11 fluxgen Exp $ | 23 | // $Id: IconbarTool.hh,v 1.11 2003/12/12 14:36:22 fluxgen Exp $ |
24 | 24 | ||
25 | #ifndef ICONBARTOOL_HH | 25 | #ifndef ICONBARTOOL_HH |
26 | #define ICONBARTOOL_HH | 26 | #define ICONBARTOOL_HH |
@@ -66,7 +66,7 @@ public: | |||
66 | void update(FbTk::Subject *subj); | 66 | void update(FbTk::Subject *subj); |
67 | void show(); | 67 | void show(); |
68 | void hide(); | 68 | void hide(); |
69 | 69 | void setAlignment(Container::Alignment a); | |
70 | void setMode(Mode mode); | 70 | void setMode(Mode mode); |
71 | 71 | ||
72 | unsigned int width() const; | 72 | unsigned int width() const; |
@@ -74,7 +74,7 @@ public: | |||
74 | unsigned int borderWidth() const; | 74 | unsigned int borderWidth() const; |
75 | 75 | ||
76 | Mode mode() const { return *m_rc_mode; } | 76 | Mode mode() const { return *m_rc_mode; } |
77 | 77 | Container::Alignment alignment() const { return m_icon_container.alignment(); } | |
78 | private: | 78 | private: |
79 | 79 | ||
80 | /// render single button that holds win | 80 | /// render single button that holds win |
@@ -108,6 +108,8 @@ private: | |||
108 | 108 | ||
109 | IconList m_icon_list; | 109 | IconList m_icon_list; |
110 | FbTk::Resource<Mode> m_rc_mode; | 110 | FbTk::Resource<Mode> m_rc_mode; |
111 | FbTk::Resource<Container::Alignment> m_rc_alignment; ///< alignment of buttons | ||
112 | FbTk::Resource<int> m_rc_client_width; ///< size of client button in LEFT/RIGHT mode | ||
111 | FbTk::Resource<bool> m_rc_use_pixmap; ///< if iconbar should use win pixmap or not | 113 | FbTk::Resource<bool> m_rc_use_pixmap; ///< if iconbar should use win pixmap or not |
112 | 114 | ||
113 | FbMenu m_menu; | 115 | FbMenu m_menu; |