From d363f720a6b0d1c361bc2022d0e5fcd5a75fd04d Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Wed, 6 Nov 2002 08:06:54 +0000 Subject: fix compiling with the new strut (new namespace) and fix general errors that broke compiling. make xeventhandler find the OBClient for most events.. --- src/screen.hh | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'src/screen.hh') diff --git a/src/screen.hh b/src/screen.hh index 1c09c633..34963508 100644 --- a/src/screen.hh +++ b/src/screen.hh @@ -24,6 +24,7 @@ extern "C" { #include "otk/font.hh" #include "otk/texture.hh" #include "otk/image.hh" +#include "otk/strut.hh" #include "otk/property.hh" #include "timer.hh" #include "workspace.hh" @@ -31,8 +32,6 @@ extern "C" { namespace ob { -struct Strut; - enum TextJustify { LeftJustify = 1, RightJustify, CenterJustify }; struct PixmapMask { @@ -83,7 +82,7 @@ private: RectList xineramaUsableArea; #endif // XINERAMA - typedef std::list StrutList; + typedef std::list StrutList; StrutList strutList; typedef std::vector WorkspaceList; WorkspaceList workspacesList; @@ -270,8 +269,8 @@ public: const RectList& allAvailableAreas(void) const; #endif // XINERAMA void updateAvailableArea(void); - void addStrut(Strut *strut); - void removeStrut(Strut *strut); + void addStrut(otk::Strut *strut); + void removeStrut(otk::Strut *strut); unsigned int addWorkspace(void); unsigned int removeLastWorkspace(void); -- cgit v1.2.3