diff options
| author | Dana Jansens <danakj@orodu.net> | 2002-04-14 01:11:51 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2002-04-14 01:11:51 +0000 |
| commit | 424d476f7cd0ccc2def4f14119cd4fc3171d0159 (patch) | |
| tree | ee72ec083b880a8a2beb19e8ba95389c7f79d82c /src/Workspace.h | |
| parent | 24f9448c2efc6daf97a4061cfd6c62da2980c0ad (diff) | |
added first revision of the BestFit placement type.
moved RowSmart placement type out of placeWindow() to its own function like bestFit. Will continue moving other placement types into their own functions.
Diffstat (limited to 'src/Workspace.h')
| -rw-r--r-- | src/Workspace.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/Workspace.h b/src/Workspace.h index f9700bdc..441a8733 100644 --- a/src/Workspace.h +++ b/src/Workspace.h @@ -26,6 +26,7 @@ #include <X11/Xlib.h> #include "LinkedList.h" +#include "Geometry.h" class BScreen; class Clientmenu; @@ -46,6 +47,8 @@ private: protected: void placeWindow(OpenboxWindow *); + Point *bestFitPlacement(const Size &win_size, const Rect &space); + Point *rowSmartPlacement(const Size &win_size, const Rect &space); public: |
