summaryrefslogtreecommitdiff
path: root/src/workspace.hh
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2002-11-03 11:46:05 +0000
committerDana Jansens <danakj@orodu.net>2002-11-03 11:46:05 +0000
commitace8c8896aa13a6fc4e489277cf9c96f49175322 (patch)
tree69748320de56b6c0c1fccdefc768b2b12ab012b7 /src/workspace.hh
parent37e56007680a6664967e0e71ac52981654def6a6 (diff)
WE DONT USE BASE DISPLAY FOR ANYTHING ANY MORE!!@^!*@*!! YAY
Diffstat (limited to 'src/workspace.hh')
-rw-r--r--src/workspace.hh13
1 files changed, 8 insertions, 5 deletions
diff --git a/src/workspace.hh b/src/workspace.hh
index 6c59a3b8..b40de267 100644
--- a/src/workspace.hh
+++ b/src/workspace.hh
@@ -12,6 +12,8 @@ extern "C" {
#include "xatom.hh"
+namespace ob {
+
class BScreen;
class Workspace;
class BlackboxWindow;
@@ -42,13 +44,13 @@ private:
void lowerTransients(const BlackboxWindow * const win,
StackVector::iterator &stack);
- typedef std::vector<Rect> rectList;
- rectList calcSpace(const Rect &win, const rectList &spaces) const;
+ typedef std::vector<otk::Rect> rectList;
+ rectList calcSpace(const otk::Rect &win, const rectList &spaces) const;
void placeWindow(BlackboxWindow *win);
- bool cascadePlacement(Rect& win, const int offset);
- bool smartPlacement(Rect& win);
- bool underMousePlacement(Rect& win);
+ bool cascadePlacement(otk::Rect& win, const int offset);
+ bool smartPlacement(otk::Rect& win);
+ bool underMousePlacement(otk::Rect& win);
public:
Workspace(BScreen *scrn, unsigned int i = 0);
@@ -91,6 +93,7 @@ public:
void setName(const std::string& new_name);
};
+}
#endif // __Workspace_hh