diff options
| author | Dana Jansens <danakj@orodu.net> | 2002-11-11 10:05:06 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2002-11-11 10:05:06 +0000 |
| commit | cee305244662d352a7ad5ab7ae22f6221c064d3d (patch) | |
| tree | d7d8baeef9a87d239baba8b60384ae534a18cc2e /src/screen.hh | |
| parent | fb0dd6cf9a839f9990ac877bf1b3d469d883b463 (diff) | |
not using any old blackbox classes anymore!
Diffstat (limited to 'src/screen.hh')
| -rw-r--r-- | src/screen.hh | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/src/screen.hh b/src/screen.hh index 6068e04b..d4d42a7c 100644 --- a/src/screen.hh +++ b/src/screen.hh @@ -14,6 +14,8 @@ extern "C" { #include "otk/strut.hh" #include "otk/rect.hh" #include "otk/point.hh" +#include "otk/style.hh" +#include "otk/configuration.hh" // TEMPORARY #include <string> @@ -53,6 +55,9 @@ private: //! The Image Control used for rendering on the screen otk::BImageControl *_image_control; + //! The style with which to render on the screen + otk::Style _style; + //! Is the root colormap currently installed? bool _root_cmap_installed; @@ -107,7 +112,11 @@ public: void addStrut(otk::Strut *strut); //! Removes a window's strut from the screen's list of reserved spaces void removeStrut(otk::Strut *strut); - + + //! Loads a new style on the screen + void loadStyle(const otk::Configuration &config); + + inline const otk::Style *style() const { return &_style; } }; } |
