summaryrefslogtreecommitdiffstats
path: root/tderandr/randr.h
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2020-08-07 22:05:33 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2020-08-08 00:41:23 +0900
commitce064fcb0190ef4b753668489a62f1e84d93c9a9 (patch)
tree1111e61b0e74d0fd32cf02dcf2f833474cc1fd1b /tderandr/randr.h
parent40d566dff5ed6c36ddfff3c0193564fc801ae369 (diff)
downloadtdelibs-ce064fcb0190ef4b753668489a62f1e84d93c9a9.tar.gz
tdelibs-ce064fcb0190ef4b753668489a62f1e84d93c9a9.zip
Improved code for tderandr rotation string to allow translation in tdebase. This relates to issue #96.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'tderandr/randr.h')
-rw-r--r--tderandr/randr.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/tderandr/randr.h b/tderandr/randr.h
index 9683f6b9b..ee00b2065 100644
--- a/tderandr/randr.h
+++ b/tderandr/randr.h
@@ -26,6 +26,11 @@
#include <tdecmodule.h>
#include <tdeconfig.h>
+#define ROTATION_0_DEGREES_INDEX 0
+#define ROTATION_90_DEGREES_INDEX 1
+#define ROTATION_180_DEGREES_INDEX 2
+#define ROTATION_270_DEGREES_INDEX 3
+
class KTimerDialog;
class RandRScreenPrivate;