diff options
Diffstat (limited to 'src/IconBar.hh')
-rw-r--r-- | src/IconBar.hh | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/src/IconBar.hh b/src/IconBar.hh index ca2bd6d..7f58a12 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.14 2003/04/15 12:06:11 fluxgen Exp $ | 22 | // $Id: IconBar.hh,v 1.15 2003/06/26 12:22:42 rathnor Exp $ |
23 | 23 | ||
24 | #ifndef ICONBAR_HH | 24 | #ifndef ICONBAR_HH |
25 | #define ICONBAR_HH | 25 | #define ICONBAR_HH |
@@ -64,13 +64,16 @@ public: | |||
64 | void reconfigure(); | 64 | void reconfigure(); |
65 | Window addIcon(FluxboxWindow *fluxboxwin); | 65 | Window addIcon(FluxboxWindow *fluxboxwin); |
66 | Window delIcon(FluxboxWindow *fluxboxwin); | 66 | Window delIcon(FluxboxWindow *fluxboxwin); |
67 | WindowList *delAllIcons(); | 67 | WindowList *delAllIcons(bool ignore_stuck = false); |
68 | void buttonPressEvent(XButtonEvent *be); | 68 | void buttonPressEvent(XButtonEvent *be); |
69 | FluxboxWindow *findWindow(Window w); | 69 | FluxboxWindow *findWindow(Window w); |
70 | IconBarObj *findIcon(FluxboxWindow * const fluxboxwin); | 70 | IconBarObj *findIcon(FluxboxWindow * const fluxboxwin); |
71 | const IconBarObj *findIcon(const FluxboxWindow * const fluxboxwin) const; | 71 | const IconBarObj *findIcon(const FluxboxWindow * const fluxboxwin) const; |
72 | void exposeEvent(XExposeEvent *ee); | 72 | void exposeEvent(XExposeEvent *ee); |
73 | 73 | ||
74 | void enableUpdates(); | ||
75 | void disableUpdates(); | ||
76 | |||
74 | void draw(const IconBarObj * const obj, int width) const; | 77 | void draw(const IconBarObj * const obj, int width) const; |
75 | void setVertical(bool value) { m_vertical = value; } | 78 | void setVertical(bool value) { m_vertical = value; } |
76 | BScreen &screen() { return m_screen; } | 79 | BScreen &screen() { return m_screen; } |
@@ -90,6 +93,8 @@ private: | |||
90 | unsigned long m_focus_pixel; | 93 | unsigned long m_focus_pixel; |
91 | bool m_vertical; | 94 | bool m_vertical; |
92 | FbTk::Font &m_font; | 95 | FbTk::Font &m_font; |
96 | |||
97 | int allow_updates; | ||
93 | }; | 98 | }; |
94 | 99 | ||
95 | #endif // ICONBAR_HH | 100 | #endif // ICONBAR_HH |