#include "otk/screeninfo.hh"
#include "otk/style.hh"
#include "otk/widget.hh"
+#include "otk/ustring.hh"
#include <string>
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;
//! 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);
//! Displays unfocused decorations
virtual void unfocus();
- void setTitle(const std::string &text);
+ void setTitle(const otk::ustring &text);
//! Reparents the client window from the root window onto the frame
void grabClient();