aboutsummaryrefslogtreecommitdiff
path: root/src/IconBar.hh
diff options
context:
space:
mode:
authorrathnor <rathnor>2002-12-01 13:42:15 (GMT)
committerrathnor <rathnor>2002-12-01 13:42:15 (GMT)
commit28b5c604490094e187494dcc566bd3d7a05a2c25 (patch)
tree8f78f5714a5cd055c10b067a2656fe7b2338e71a /src/IconBar.hh
parentb9134162f9633784d9097df18769a699a62650fe (diff)
downloadfluxbox_pavel-28b5c604490094e187494dcc566bd3d7a05a2c25.zip
fluxbox_pavel-28b5c604490094e187494dcc566bd3d7a05a2c25.tar.bz2
Indenting from tabs to emacs 4-space
Diffstat (limited to 'src/IconBar.hh')
-rw-r--r--src/IconBar.hh64
1 files changed, 32 insertions, 32 deletions
diff --git a/src/IconBar.hh b/src/IconBar.hh
index e89d498..ae7c83c 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.8 2002/10/29 15:52:44 fluxgen Exp $ 22// $Id: IconBar.hh,v 1.9 2002/12/01 13:41:57 rathnor Exp $
23 23
24#ifndef ICONBAR_HH 24#ifndef ICONBAR_HH
25#define ICONBAR_HH 25#define ICONBAR_HH
@@ -34,16 +34,16 @@
34class IconBarObj 34class IconBarObj
35{ 35{
36public: 36public:
37 IconBarObj(FluxboxWindow *fluxboxwin, Window iconwin); 37 IconBarObj(FluxboxWindow *fluxboxwin, Window iconwin);
38 ~IconBarObj(); 38 ~IconBarObj();
39 Window getIconWin() const { return m_iconwin; } 39 Window getIconWin() const { return m_iconwin; }
40 FluxboxWindow *getFluxboxWin() { return m_fluxboxwin; } 40 FluxboxWindow *getFluxboxWin() { return m_fluxboxwin; }
41 const FluxboxWindow *getFluxboxWin() const { return m_fluxboxwin; } 41 const FluxboxWindow *getFluxboxWin() const { return m_fluxboxwin; }
42 unsigned int width() const; 42 unsigned int width() const;
43 43
44private: 44private:
45 FluxboxWindow *m_fluxboxwin; 45 FluxboxWindow *m_fluxboxwin;
46 Window m_iconwin; 46 Window m_iconwin;
47}; 47};
48 48
49/** 49/**
@@ -52,34 +52,34 @@ private:
52class IconBar 52class IconBar
53{ 53{
54public: 54public:
55 IconBar(BScreen *scrn, Window parent); 55 IconBar(BScreen *scrn, Window parent);
56 ~IconBar(); 56 ~IconBar();
57 void draw(); //TODO 57 void draw(); //TODO
58 void reconfigure(); 58 void reconfigure();
59 Window addIcon(FluxboxWindow *fluxboxwin); 59 Window addIcon(FluxboxWindow *fluxboxwin);
60 Window delIcon(FluxboxWindow *fluxboxwin); 60 Window delIcon(FluxboxWindow *fluxboxwin);
61 void buttonPressEvent(XButtonEvent *be); 61 void buttonPressEvent(XButtonEvent *be);
62 FluxboxWindow *findWindow(Window w); 62 FluxboxWindow *findWindow(Window w);
63 IconBarObj *findIcon(FluxboxWindow * const fluxboxwin); 63 IconBarObj *findIcon(FluxboxWindow * const fluxboxwin);
64 const IconBarObj *findIcon(const FluxboxWindow * const fluxboxwin) const; 64 const IconBarObj *findIcon(const FluxboxWindow * const fluxboxwin) const;
65 void exposeEvent(XExposeEvent *ee); 65 void exposeEvent(XExposeEvent *ee);
66 66
67 void draw(const IconBarObj * const obj, int width) const; 67 void draw(const IconBarObj * const obj, int width) const;
68private: 68private:
69 typedef std::list<IconBarObj *> IconList; 69 typedef std::list<IconBarObj *> IconList;
70 70
71// void draw(IconBarObj *obj, int width); 71// void draw(IconBarObj *obj, int width);
72 void loadTheme(unsigned int width, unsigned int height); 72 void loadTheme(unsigned int width, unsigned int height);
73 void decorate(Window win); 73 void decorate(Window win);
74// IconBarObj *findIcon(FluxboxWindow *fluxboxwin); 74// IconBarObj *findIcon(FluxboxWindow *fluxboxwin);
75 void repositionIcons(); 75 void repositionIcons();
76 Window createIconWindow(FluxboxWindow *fluxboxwin, Window parent); 76 Window createIconWindow(FluxboxWindow *fluxboxwin, Window parent);
77 BScreen *m_screen; 77 BScreen *m_screen;
78 Display *m_display; 78 Display *m_display;
79 Window m_parent; 79 Window m_parent;
80 IconList m_iconlist; 80 IconList m_iconlist;
81 Pixmap m_focus_pm; 81 Pixmap m_focus_pm;
82 unsigned long m_focus_pixel; 82 unsigned long m_focus_pixel;
83}; 83};
84 84
85#endif // ICONBAR_HH 85#endif // ICONBAR_HH