diff options
Diffstat (limited to 'src/Window.hh')
-rw-r--r-- | src/Window.hh | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/Window.hh b/src/Window.hh index 09374af..b7975f5 100644 --- a/src/Window.hh +++ b/src/Window.hh | |||
@@ -89,9 +89,7 @@ public: | |||
89 | 89 | ||
90 | /// Different resize modes when resizing a window | 90 | /// Different resize modes when resizing a window |
91 | enum ResizeModel { | 91 | enum ResizeModel { |
92 | QUADRANTRESIZE, ///< resizes from one quadrant | ||
93 | CENTERRESIZE, ///< resizes from center | 92 | CENTERRESIZE, ///< resizes from center |
94 | NEARESTEDGERESIZE, ///< resizes the nearest edge | ||
95 | TOPLEFTRESIZE, ///< resizes top left corner | 93 | TOPLEFTRESIZE, ///< resizes top left corner |
96 | TOPRESIZE, ///< resizes top edge | 94 | TOPRESIZE, ///< resizes top edge |
97 | TOPRIGHTRESIZE, ///< resizes top right corner | 95 | TOPRIGHTRESIZE, ///< resizes top right corner |
@@ -100,6 +98,7 @@ public: | |||
100 | BOTTOMLEFTRESIZE, ///< resizes bottom left corner | 98 | BOTTOMLEFTRESIZE, ///< resizes bottom left corner |
101 | BOTTOMRESIZE, ///< resizes bottom edge | 99 | BOTTOMRESIZE, ///< resizes bottom edge |
102 | BOTTOMRIGHTRESIZE, ///< resizes bottom right corner | 100 | BOTTOMRIGHTRESIZE, ///< resizes bottom right corner |
101 | EDGEORCORNERRESIZE, ///< resizes nearest edge or corner | ||
103 | DEFAULTRESIZE = BOTTOMRIGHTRESIZE ///< default resize mode | 102 | DEFAULTRESIZE = BOTTOMRIGHTRESIZE ///< default resize mode |
104 | }; | 103 | }; |
105 | 104 | ||
@@ -341,7 +340,7 @@ public: | |||
341 | */ | 340 | */ |
342 | void startResizing(int x, int y, ReferenceCorner dir); | 341 | void startResizing(int x, int y, ReferenceCorner dir); |
343 | /// determine which edge or corner to resize | 342 | /// determine which edge or corner to resize |
344 | ReferenceCorner getResizeDirection(int x, int y, ResizeModel model) const; | 343 | ReferenceCorner getResizeDirection(int x, int y, ResizeModel model, int corner_size_px, int corner_size_pc) const; |
345 | /// stops the resizing | 344 | /// stops the resizing |
346 | void stopResizing(bool interrupted = false); | 345 | void stopResizing(bool interrupted = false); |
347 | /// starts tabbing | 346 | /// starts tabbing |