aboutsummaryrefslogtreecommitdiff
path: root/src/IconbarTool.hh
diff options
context:
space:
mode:
authorfluxgen <fluxgen>2003-12-12 14:36:22 (GMT)
committerfluxgen <fluxgen>2003-12-12 14:36:22 (GMT)
commitd2d3fbc96c72209c281bd97ba4aee12912c16d89 (patch)
treefcde0d22376d0100010a85be1241ca367959e37b /src/IconbarTool.hh
parent722036eab018d8cd57511a38b15d3fe9714ac244 (diff)
downloadfluxbox-d2d3fbc96c72209c281bd97ba4aee12912c16d89.zip
fluxbox-d2d3fbc96c72209c281bd97ba4aee12912c16d89.tar.bz2
alignment of iconbar buttons
Diffstat (limited to 'src/IconbarTool.hh')
-rw-r--r--src/IconbarTool.hh8
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(); }
78private: 78private:
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;