aboutsummaryrefslogtreecommitdiff
path: root/src/SystemTray.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/SystemTray.hh')
-rw-r--r--src/SystemTray.hh7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/SystemTray.hh b/src/SystemTray.hh
index 908738e..82d163c 100644
--- a/src/SystemTray.hh
+++ b/src/SystemTray.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: SystemTray.hh,v 1.1 2003/08/15 13:48:50 fluxgen Exp $ 22// $Id: SystemTray.hh,v 1.2 2003/08/16 12:12:21 fluxgen Exp $
23 23
24#ifndef SYSTEMTRAY_HH 24#ifndef SYSTEMTRAY_HH
25#define SYSTEMTRAY_HH 25#define SYSTEMTRAY_HH
@@ -40,7 +40,7 @@ class SystemTray: public ToolbarItem, public FbTk::EventHandler {
40public: 40public:
41 41
42 explicit SystemTray(const FbTk::FbWindow &parent); 42 explicit SystemTray(const FbTk::FbWindow &parent);
43 ~SystemTray(); 43 virtual ~SystemTray();
44 44
45 void move(int x, int y); 45 void move(int x, int y);
46 void resize(unsigned int width, unsigned int height); 46 void resize(unsigned int width, unsigned int height);
@@ -57,6 +57,9 @@ public:
57 unsigned int height() const; 57 unsigned int height() const;
58 unsigned int borderWidth() const; 58 unsigned int borderWidth() const;
59 59
60 int numClients() const { return m_clients.size(); }
61 const FbTk::FbWindow &window() const { return m_window; }
62
60private: 63private:
61 typedef std::list<FbTk::FbWindow *> ClientList; 64 typedef std::list<FbTk::FbWindow *> ClientList;
62 ClientList::iterator findClient(Window win); 65 ClientList::iterator findClient(Window win);