diff options
author | Lajos Koszti <ajnasz@ajnasz.hu> | 2012-04-06 12:10:24 (GMT) |
---|---|---|
committer | Mathias Gumz <akira at fluxbox dot org> | 2012-04-06 12:11:16 (GMT) |
commit | 7b6dc2ad72a4c4ecd20eddbfb6f1b4c3bd2a7024 (patch) | |
tree | c2a8f4aa658783c6454b7643ce2717acaa744101 /src/Window.hh | |
parent | 5d56046b68635cea2c187e59a9d8c514e2d6bdb2 (diff) | |
download | fluxbox-7b6dc2ad72a4c4ecd20eddbfb6f1b4c3bd2a7024.zip fluxbox-7b6dc2ad72a4c4ecd20eddbfb6f1b4c3bd2a7024.tar.bz2 |
Allow percentage values for some Window commands
Diffstat (limited to 'src/Window.hh')
-rw-r--r-- | src/Window.hh | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/Window.hh b/src/Window.hh index a5bcb66..0d2cadd 100644 --- a/src/Window.hh +++ b/src/Window.hh | |||
@@ -350,6 +350,8 @@ public: | |||
350 | /// determine the reference corner from a string | 350 | /// determine the reference corner from a string |
351 | static ReferenceCorner getCorner(std::string str); | 351 | static ReferenceCorner getCorner(std::string str); |
352 | /// convert to coordinates on the root window | 352 | /// convert to coordinates on the root window |
353 | void translateXCoords(int &x, ReferenceCorner dir = LEFTTOP) const; | ||
354 | void translateYCoords(int &y, ReferenceCorner dir = LEFTTOP) const; | ||
353 | void translateCoords(int &x, int &y, ReferenceCorner dir = LEFTTOP) const; | 355 | void translateCoords(int &x, int &y, ReferenceCorner dir = LEFTTOP) const; |
354 | 356 | ||
355 | /** | 357 | /** |