]> git.tdb.fi Git - libs/gui.git/blobdiff - source/graphics/videomode.h
Expose a lot more information through the Monitor struct
[libs/gui.git] / source / graphics / videomode.h
index 328d6ea31d3034b81c68fa667f3b6b015d1fd48f..2836e11a5c134f00d0f610b54833089efeaa04ef 100644 (file)
@@ -17,6 +17,15 @@ public:
 };
 
 
+enum VideoRotation
+{
+       ROTATE_ANY,
+       ROTATE_NORMAL,
+       ROTATE_LEFT,
+       ROTATE_RIGHT,
+       ROTATE_INVERTED
+};
+
 struct VideoMode
 {
        unsigned index;
@@ -24,6 +33,7 @@ struct VideoMode
        unsigned width;
        unsigned height;
        unsigned rate;
+       VideoRotation rotation;
 
        VideoMode();
        VideoMode(unsigned, unsigned);