aboutsummaryrefslogtreecommitdiff
path: root/src/Window.hh
diff options
context:
space:
mode:
authorfluxgen <fluxgen>2003-06-18 13:55:17 (GMT)
committerfluxgen <fluxgen>2003-06-18 13:55:17 (GMT)
commite3ab62fed1e63be3e7f6b81c316b15097638faf6 (patch)
tree563a2d45e6e33de08f2b899bbe775f9b2a5a755b /src/Window.hh
parent501168b557f4c21ca10dfdaad7776c125968363a (diff)
downloadfluxbox_pavel-e3ab62fed1e63be3e7f6b81c316b15097638faf6.zip
fluxbox_pavel-e3ab62fed1e63be3e7f6b81c316b15097638faf6.tar.bz2
added strut support
Diffstat (limited to 'src/Window.hh')
-rw-r--r--src/Window.hh10
1 files changed, 8 insertions, 2 deletions
diff --git a/src/Window.hh b/src/Window.hh
index b5b86fa..59a9084 100644
--- a/src/Window.hh
+++ b/src/Window.hh
@@ -22,7 +22,7 @@
22// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 22// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
23// DEALINGS IN THE SOFTWARE. 23// DEALINGS IN THE SOFTWARE.
24 24
25// $Id: Window.hh,v 1.78 2003/06/15 18:34:48 fluxgen Exp $ 25// $Id: Window.hh,v 1.79 2003/06/18 13:55:16 fluxgen Exp $
26 26
27#ifndef WINDOW_HH 27#ifndef WINDOW_HH
28#define WINDOW_HH 28#define WINDOW_HH
@@ -44,9 +44,10 @@
44class WinClient; 44class WinClient;
45class FbWinFrameTheme; 45class FbWinFrameTheme;
46class BScreen; 46class BScreen;
47class Strut;
48
47class TextButton; 49class TextButton;
48class FbWinFrame; 50class FbWinFrame;
49
50namespace FbTk { 51namespace FbTk {
51class MenuTheme; 52class MenuTheme;
52class ImageControl; 53class ImageControl;
@@ -242,6 +243,9 @@ public:
242 DECORM_LAST = (1<<11) // useful for getting "All" 243 DECORM_LAST = (1<<11) // useful for getting "All"
243 }; 244 };
244 245
246 void setStrut(Strut *strut);
247 void clearStrut();
248
245 unsigned int decorationMask() const; 249 unsigned int decorationMask() const;
246 void setDecorationMask(unsigned int mask); 250 void setDecorationMask(unsigned int mask);
247 251
@@ -441,6 +445,8 @@ private:
441 m_last_button_y; ///< last known y position of the mouse button 445 m_last_button_y; ///< last known y position of the mouse button
442 std::auto_ptr<FbWinFrame> m_frame; 446 std::auto_ptr<FbWinFrame> m_frame;
443 447
448 Strut *m_strut;
449
444 FbTk::XLayerItem m_layeritem; 450 FbTk::XLayerItem m_layeritem;
445 int m_layernum; 451 int m_layernum;
446 452