From 424d476f7cd0ccc2def4f14119cd4fc3171d0159 Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Sun, 14 Apr 2002 01:11:51 +0000 Subject: 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. --- src/Workspace.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/Workspace.h') 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 #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: -- cgit v1.2.3