diff options
author | fluxgen <fluxgen> | 2003-04-15 12:06:11 (GMT) |
---|---|---|
committer | fluxgen <fluxgen> | 2003-04-15 12:06:11 (GMT) |
commit | c09fbcd48073eac2beeca99e1e86acde5d768ba1 (patch) | |
tree | 0bb15daee4f94b2e3df321ab5fd86ac92844e3c5 /src/IconBar.hh | |
parent | 78d4f8f6105e07d289c8d5a63f46ab5a35bcfc33 (diff) | |
download | fluxbox-c09fbcd48073eac2beeca99e1e86acde5d768ba1.zip fluxbox-c09fbcd48073eac2beeca99e1e86acde5d768ba1.tar.bz2 |
minor cleaning
Diffstat (limited to 'src/IconBar.hh')
-rw-r--r-- | src/IconBar.hh | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/IconBar.hh b/src/IconBar.hh index f169fb0..ca2bd6d 100644 --- a/src/IconBar.hh +++ b/src/IconBar.hh | |||
@@ -19,7 +19,7 @@ | |||
19 | // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER | 19 | // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER |
20 | // DEALINGS IN THE SOFTWARE. | 20 | // DEALINGS IN THE SOFTWARE. |
21 | 21 | ||
22 | // $Id: IconBar.hh,v 1.13 2003/04/14 14:43:58 fluxgen Exp $ | 22 | // $Id: IconBar.hh,v 1.14 2003/04/15 12:06:11 fluxgen Exp $ |
23 | 23 | ||
24 | #ifndef ICONBAR_HH | 24 | #ifndef ICONBAR_HH |
25 | #define ICONBAR_HH | 25 | #define ICONBAR_HH |
@@ -58,7 +58,7 @@ class IconBar | |||
58 | { | 58 | { |
59 | public: | 59 | public: |
60 | typedef std::list<Window> WindowList; | 60 | typedef std::list<Window> WindowList; |
61 | IconBar(BScreen *scrn, Window parent, FbTk::Font &font); | 61 | IconBar(BScreen &scrn, Window parent, FbTk::Font &font); |
62 | ~IconBar(); | 62 | ~IconBar(); |
63 | void draw(); //TODO | 63 | void draw(); //TODO |
64 | void reconfigure(); | 64 | void reconfigure(); |
@@ -73,6 +73,8 @@ public: | |||
73 | 73 | ||
74 | void draw(const IconBarObj * const obj, int width) const; | 74 | void draw(const IconBarObj * const obj, int width) const; |
75 | void setVertical(bool value) { m_vertical = value; } | 75 | void setVertical(bool value) { m_vertical = value; } |
76 | BScreen &screen() { return m_screen; } | ||
77 | const BScreen &screen() const { return m_screen; } | ||
76 | private: | 78 | private: |
77 | typedef std::list<IconBarObj *> IconList; | 79 | typedef std::list<IconBarObj *> IconList; |
78 | 80 | ||
@@ -80,7 +82,7 @@ private: | |||
80 | void decorate(Window win); | 82 | void decorate(Window win); |
81 | void repositionIcons(); | 83 | void repositionIcons(); |
82 | Window createIconWindow(FluxboxWindow *fluxboxwin, Window parent); | 84 | Window createIconWindow(FluxboxWindow *fluxboxwin, Window parent); |
83 | BScreen *m_screen; | 85 | BScreen &m_screen; |
84 | Display *m_display; | 86 | Display *m_display; |
85 | Window m_parent; | 87 | Window m_parent; |
86 | IconList m_iconlist; | 88 | IconList m_iconlist; |