aboutsummaryrefslogtreecommitdiff
path: root/src/IconBar.hh
diff options
context:
space:
mode:
authorfluxgen <fluxgen>2002-01-04 21:21:43 (GMT)
committerfluxgen <fluxgen>2002-01-04 21:21:43 (GMT)
commitbec0065e4a5a4d0c487bd47ec208b9d30a7b9399 (patch)
tree916d78b2c52f6f4241d7a50ece648e96d16e0ea9 /src/IconBar.hh
parent502f1a959cf14691097d2fcdefc5afdcf8e706d5 (diff)
downloadfluxbox-bec0065e4a5a4d0c487bd47ec208b9d30a7b9399.zip
fluxbox-bec0065e4a5a4d0c487bd47ec208b9d30a7b9399.tar.bz2
pekdon patch
Diffstat (limited to 'src/IconBar.hh')
-rw-r--r--src/IconBar.hh12
1 files changed, 8 insertions, 4 deletions
diff --git a/src/IconBar.hh b/src/IconBar.hh
index 4bd0a8e..4da0d07 100644
--- a/src/IconBar.hh
+++ b/src/IconBar.hh
@@ -32,9 +32,10 @@ public:
32 ~IconBarObj(); 32 ~IconBarObj();
33 inline Window getIconWin(void) { return m_iconwin; } 33 inline Window getIconWin(void) { return m_iconwin; }
34 inline FluxboxWindow *getFluxboxWin(void) { return m_fluxboxwin; } 34 inline FluxboxWindow *getFluxboxWin(void) { return m_fluxboxwin; }
35 unsigned int getWidth(void);
35private: 36private:
36 Window m_iconwin;
37 FluxboxWindow *m_fluxboxwin; 37 FluxboxWindow *m_fluxboxwin;
38 Window m_iconwin;
38}; 39};
39 40
40class IconBar 41class IconBar
@@ -42,21 +43,24 @@ class IconBar
42public: 43public:
43 IconBar(BScreen *scrn, Window parent); 44 IconBar(BScreen *scrn, Window parent);
44 ~IconBar(); 45 ~IconBar();
45 void draw(); 46 void draw(); //TODO
46 void reconfigure(); 47 void reconfigure();
47 Window addIcon(FluxboxWindow *fluxboxwin); 48 Window addIcon(FluxboxWindow *fluxboxwin);
48 Window delIcon(FluxboxWindow *fluxboxwin); 49 Window delIcon(FluxboxWindow *fluxboxwin);
49 void buttonPressEvent(XButtonEvent *be); 50 void buttonPressEvent(XButtonEvent *be);
50 FluxboxWindow *findWindow(Window w); 51 FluxboxWindow *findWindow(Window w);
52 IconBarObj *findIcon(FluxboxWindow *fluxboxwin);
51 void exposeEvent(XExposeEvent *ee); 53 void exposeEvent(XExposeEvent *ee);
54
55 void draw(IconBarObj *obj, int width);
52private: 56private:
53 typedef LinkedList<IconBarObj> IconList; 57 typedef LinkedList<IconBarObj> IconList;
54 typedef LinkedListIterator<IconBarObj> IconListIterator; 58 typedef LinkedListIterator<IconBarObj> IconListIterator;
55 59
56 void draw(IconBarObj *obj, int width); 60// void draw(IconBarObj *obj, int width);
57 void loadTheme(unsigned int width, unsigned int height); 61 void loadTheme(unsigned int width, unsigned int height);
58 void decorate(Window win); 62 void decorate(Window win);
59 IconBarObj *findIcon(FluxboxWindow *fluxboxwin); 63// IconBarObj *findIcon(FluxboxWindow *fluxboxwin);
60 void repositionIcons(void); 64 void repositionIcons(void);
61 Window createIconWindow(FluxboxWindow *fluxboxwin, Window parent); 65 Window createIconWindow(FluxboxWindow *fluxboxwin, Window parent);
62 BScreen *m_screen; 66 BScreen *m_screen;