diff options
Diffstat (limited to 'src/SystemTray.hh')
-rw-r--r-- | src/SystemTray.hh | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/src/SystemTray.hh b/src/SystemTray.hh index d92e437..61cd1bb 100644 --- a/src/SystemTray.hh +++ b/src/SystemTray.hh | |||
@@ -35,7 +35,6 @@ | |||
35 | 35 | ||
36 | class BScreen; | 36 | class BScreen; |
37 | class ButtonTheme; | 37 | class ButtonTheme; |
38 | class TrayWindow; | ||
39 | class AtomHandler; | 38 | class AtomHandler; |
40 | 39 | ||
41 | namespace FbTk { | 40 | namespace FbTk { |
@@ -73,12 +72,13 @@ public: | |||
73 | int numClients() const { return m_clients.size(); } | 72 | int numClients() const { return m_clients.size(); } |
74 | const FbTk::FbWindow &window() const { return m_window; } | 73 | const FbTk::FbWindow &window() const { return m_window; } |
75 | 74 | ||
76 | void renderTheme(int alpha) { | 75 | void renderTheme(int alpha) { |
77 | m_window.setBorderWidth(m_theme->border().width()); | 76 | m_window.setBorderWidth(m_theme->border().width()); |
78 | m_window.setBorderColor(m_theme->border().color()); | 77 | m_window.setBorderColor(m_theme->border().color()); |
79 | m_window.setAlpha(alpha); | 78 | m_window.setAlpha(alpha); |
80 | update(); | 79 | update(); |
81 | } | 80 | } |
81 | |||
82 | void updateSizing() { m_window.setBorderWidth(m_theme->border().width()); } | 82 | void updateSizing() { m_window.setBorderWidth(m_theme->border().width()); } |
83 | 83 | ||
84 | void parentMoved() { m_window.parentMoved(); } | 84 | void parentMoved() { m_window.parentMoved(); } |
@@ -90,7 +90,8 @@ public: | |||
90 | private: | 90 | private: |
91 | void update(); | 91 | void update(); |
92 | 92 | ||
93 | typedef std::list<TrayWindow *> ClientList; | 93 | class TrayWindow; |
94 | typedef std::list<TrayWindow*> ClientList; | ||
94 | ClientList::iterator findClient(Window win); | 95 | ClientList::iterator findClient(Window win); |
95 | 96 | ||
96 | void rearrangeClients(); | 97 | void rearrangeClients(); |