summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/Tab.hh4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/Tab.hh b/src/Tab.hh
index c20b6ba..41a6d90 100644
--- a/src/Tab.hh
+++ b/src/Tab.hh
@@ -42,6 +42,9 @@ public:
42 void draw(bool pressed); 42 void draw(bool pressed);
43 inline Tab *next() const { return m_next; } 43 inline Tab *next() const { return m_next; }
44 inline Tab *prev() const { return m_prev; } 44 inline Tab *prev() const { return m_prev; }
45 inline Tab *last() { return getLast(this); }
46 inline Tab *first() { return getFirst(this); }
47
45 inline FluxboxWindow *getWindow() const { return m_win; } 48 inline FluxboxWindow *getWindow() const { return m_win; }
46 inline unsigned int getTabWidth() const { return m_size_w; } 49 inline unsigned int getTabWidth() const { return m_size_w; }
47 inline unsigned int getTabHeight() const { return m_size_h; } 50 inline unsigned int getTabHeight() const { return m_size_h; }
@@ -62,6 +65,7 @@ public:
62 void exposeEvent(XExposeEvent *ee); 65 void exposeEvent(XExposeEvent *ee);
63 void motionNotifyEvent(XMotionEvent *me); 66 void motionNotifyEvent(XMotionEvent *me);
64 static Tab *getFirst(Tab *current); 67 static Tab *getFirst(Tab *current);
68 static Tab *getLast(Tab *current);
65 void disconnect(); 69 void disconnect();
66 70
67 enum { PTop = 0, PBottom = 5, PLeft = 10, PRight = 15, pnone = 20}; 71 enum { PTop = 0, PBottom = 5, PLeft = 10, PRight = 15, pnone = 20};