X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=src%2Fframe.hh;h=3937afc21d3c9112d9d7776d97c1cc6360b41d7a;hb=75e8fc2705d9c606a702eb7057e9e503be90618b;hp=7831284ea066361b0a8c94836a057160ffa8fec1;hpb=ef02a0c8ae65f169157c90064a335303e964a4c1;p=chaz%2Fopenbox diff --git a/src/frame.hh b/src/frame.hh index 7831284e..3937afc2 100644 --- a/src/frame.hh +++ b/src/frame.hh @@ -40,9 +40,6 @@ private: Client *_client; const otk::ScreenInfo *_screen; - //! The style to use for size and display the decorations - otk::Style *_style; - //! The size of the frame on each side of the client window otk::Strut _size; @@ -78,6 +75,9 @@ public: //! Destroys the Frame object virtual ~Frame(); + //! Returns the size of the frame on each side of the client + const otk::Strut& size() const { return _size; } + //! Set the style to decorate the frame with virtual void setStyle(otk::Style *style);