diff options
author | rathnor <rathnor> | 2002-12-01 13:42:15 (GMT) |
---|---|---|
committer | rathnor <rathnor> | 2002-12-01 13:42:15 (GMT) |
commit | 28b5c604490094e187494dcc566bd3d7a05a2c25 (patch) | |
tree | 8f78f5714a5cd055c10b067a2656fe7b2338e71a /src/IconBar.hh | |
parent | b9134162f9633784d9097df18769a699a62650fe (diff) | |
download | fluxbox_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.hh | 64 |
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 @@ | |||
34 | class IconBarObj | 34 | class IconBarObj |
35 | { | 35 | { |
36 | public: | 36 | public: |
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 | ||
44 | private: | 44 | private: |
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: | |||
52 | class IconBar | 52 | class IconBar |
53 | { | 53 | { |
54 | public: | 54 | public: |
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; |
68 | private: | 68 | private: |
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 |