diff options
author | Michele Calgaro <[email protected]> | 2020-08-07 22:05:33 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2020-08-09 21:38:35 +0900 |
commit | fe712166fb6cef31c0285667fd1204f60c54b770 (patch) | |
tree | 6b251a1cdfc3b88233e4b52719cc8d25734beacc /tderandr/randr.h | |
parent | cafb5a55ba84f11c6049a474bd5ef08e3915e0af (diff) | |
download | tdelibs-fe712166fb6cef31c0285667fd1204f60c54b770.tar.gz tdelibs-fe712166fb6cef31c0285667fd1204f60c54b770.zip |
Improved code for tderandr rotation string to allow translation in tdebase. This relates to issue #96.
Signed-off-by: Michele Calgaro <[email protected]>
(cherry picked from commit ce064fcb0190ef4b753668489a62f1e84d93c9a9)
Diffstat (limited to 'tderandr/randr.h')
-rw-r--r-- | tderandr/randr.h | 5 |
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; |