aboutsummaryrefslogtreecommitdiff
path: root/src/IconbarTool.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/IconbarTool.hh')
-rw-r--r--src/IconbarTool.hh8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/IconbarTool.hh b/src/IconbarTool.hh
index d60d14b..0f2574e 100644
--- a/src/IconbarTool.hh
+++ b/src/IconbarTool.hh
@@ -20,7 +20,7 @@
20// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 20// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
21// DEALINGS IN THE SOFTWARE. 21// DEALINGS IN THE SOFTWARE.
22 22
23// $Id: IconbarTool.hh,v 1.11 2003/12/12 14:36:22 fluxgen Exp $ 23// $Id: IconbarTool.hh,v 1.12 2003/12/19 14:57:44 fluxgen Exp $
24 24
25#ifndef ICONBARTOOL_HH 25#ifndef ICONBARTOOL_HH
26#define ICONBARTOOL_HH 26#define ICONBARTOOL_HH
@@ -76,6 +76,8 @@ public:
76 Mode mode() const { return *m_rc_mode; } 76 Mode mode() const { return *m_rc_mode; }
77 Container::Alignment alignment() const { return m_icon_container.alignment(); } 77 Container::Alignment alignment() const { return m_icon_container.alignment(); }
78private: 78private:
79 /// @return button associated with window
80 IconButton *findButton(FluxboxWindow &win);
79 81
80 /// render single button that holds win 82 /// render single button that holds win
81 void renderWindow(FluxboxWindow &win); 83 void renderWindow(FluxboxWindow &win);
@@ -97,6 +99,8 @@ private:
97 void updateAllWindows(); 99 void updateAllWindows();
98 /// add a list of windows 100 /// add a list of windows
99 void addList(std::list<FluxboxWindow *> &winlist); 101 void addList(std::list<FluxboxWindow *> &winlist);
102 /// so we can update current window without flicker
103 void timedRender();
100 104
101 BScreen &m_screen; 105 BScreen &m_screen;
102 Container m_icon_container; 106 Container m_icon_container;
@@ -111,7 +115,7 @@ private:
111 FbTk::Resource<Container::Alignment> m_rc_alignment; ///< alignment of buttons 115 FbTk::Resource<Container::Alignment> m_rc_alignment; ///< alignment of buttons
112 FbTk::Resource<int> m_rc_client_width; ///< size of client button in LEFT/RIGHT mode 116 FbTk::Resource<int> m_rc_client_width; ///< size of client button in LEFT/RIGHT mode
113 FbTk::Resource<bool> m_rc_use_pixmap; ///< if iconbar should use win pixmap or not 117 FbTk::Resource<bool> m_rc_use_pixmap; ///< if iconbar should use win pixmap or not
114 118 FbTk::Timer m_focus_timer; ///< so we can update current window without flicker while changing attached clients
115 FbMenu m_menu; 119 FbMenu m_menu;
116}; 120};
117 121