diff options
author | fluxgen <fluxgen> | 2002-08-02 12:58:37 (GMT) |
---|---|---|
committer | fluxgen <fluxgen> | 2002-08-02 12:58:37 (GMT) |
commit | c28bd74febd7587a2ab10c5b1b6554f6ed8a5ff3 (patch) | |
tree | c095c7cf37af19f6b3d602a43a27f8e977792e0b /src/Tab.hh | |
parent | 378c946d89569afcfe61fcafcf90fa0247673da9 (diff) | |
download | fluxbox_pavel-c28bd74febd7587a2ab10c5b1b6554f6ed8a5ff3.zip fluxbox_pavel-c28bd74febd7587a2ab10c5b1b6554f6ed8a5ff3.tar.bz2 |
added autogrouping-from-tab patch from Steve Cooper
Diffstat (limited to 'src/Tab.hh')
-rw-r--r-- | src/Tab.hh | 9 |
1 files changed, 6 insertions, 3 deletions
@@ -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: Tab.hh,v 1.13 2002/05/19 15:35:39 fluxgen Exp $ | 22 | // $Id: Tab.hh,v 1.14 2002/08/02 12:57:19 fluxgen Exp $ |
23 | 23 | ||
24 | #ifndef TAB_HH | 24 | #ifndef TAB_HH |
25 | #define TAB_HH | 25 | #define TAB_HH |
@@ -81,14 +81,17 @@ public: | |||
81 | const Tab *first() const { return getFirst(const_cast<Tab *>(this)); } | 81 | const Tab *first() const { return getFirst(const_cast<Tab *>(this)); } |
82 | 82 | ||
83 | const FluxboxWindow *getWindow() const { return m_win; } | 83 | const FluxboxWindow *getWindow() const { return m_win; } |
84 | Window getTabWindow() const { return m_tabwin; } | ||
84 | unsigned int getTabWidth() const { return m_size_w; } | 85 | unsigned int getTabWidth() const { return m_size_w; } |
85 | unsigned int getTabHeight() const { return m_size_h; } | 86 | unsigned int getTabHeight() const { return m_size_h; } |
86 | 87 | ||
87 | void resizeGroup(void); // used when (un)shading windows | 88 | void resizeGroup(); // used when (un)shading windows |
88 | void calcIncrease(void); | 89 | void calcIncrease(); |
89 | bool configured() const { return m_configured; } | 90 | bool configured() const { return m_configured; } |
90 | void draw(bool pressed) const; | 91 | void draw(bool pressed) const; |
91 | 92 | ||
93 | bool addWindowToGroup(FluxboxWindow *window); | ||
94 | |||
92 | static Tab *getFirst(Tab *current); | 95 | static Tab *getFirst(Tab *current); |
93 | static Tab *getLast(Tab *current); | 96 | static Tab *getLast(Tab *current); |
94 | 97 | ||