aboutsummaryrefslogtreecommitdiff
path: root/src/IconBar.hh
diff options
context:
space:
mode:
authorfluxgen <fluxgen>2003-04-15 12:06:11 (GMT)
committerfluxgen <fluxgen>2003-04-15 12:06:11 (GMT)
commitc09fbcd48073eac2beeca99e1e86acde5d768ba1 (patch)
tree0bb15daee4f94b2e3df321ab5fd86ac92844e3c5 /src/IconBar.hh
parent78d4f8f6105e07d289c8d5a63f46ab5a35bcfc33 (diff)
downloadfluxbox_pavel-c09fbcd48073eac2beeca99e1e86acde5d768ba1.zip
fluxbox_pavel-c09fbcd48073eac2beeca99e1e86acde5d768ba1.tar.bz2
minor cleaning
Diffstat (limited to 'src/IconBar.hh')
-rw-r--r--src/IconBar.hh8
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{
59public: 59public:
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; }
76private: 78private:
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;