aboutsummaryrefslogtreecommitdiff
path: root/src/SystemTray.hh
diff options
context:
space:
mode:
authorfluxgen <fluxgen>2003-08-16 12:12:21 (GMT)
committerfluxgen <fluxgen>2003-08-16 12:12:21 (GMT)
commite39e47b5cfe6b0e4fbdb850757c81f363ef2f38c (patch)
tree23b84d7e7519b4aeaef4b93b8a8ceeed0b7f07e8 /src/SystemTray.hh
parenta44683165c1c892dc6d83151323fa70780a920c0 (diff)
downloadfluxbox_pavel-e39e47b5cfe6b0e4fbdb850757c81f363ef2f38c.zip
fluxbox_pavel-e39e47b5cfe6b0e4fbdb850757c81f363ef2f38c.tar.bz2
minor cleaning
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);