]> git.tdb.fi Git - libs/gui.git/blobdiff - source/graphics/videomode.h
Add some state checking to ImageLoader
[libs/gui.git] / source / graphics / videomode.h
index 328d6ea31d3034b81c68fa667f3b6b015d1fd48f..a9c58bd003d1cb26c0f8c052832194cc1446bcb6 100644 (file)
@@ -17,13 +17,23 @@ public:
 };
 
 
+enum VideoRotation
+{
+       ROTATE_ANY,
+       ROTATE_NORMAL,
+       ROTATE_LEFT,
+       ROTATE_RIGHT,
+       ROTATE_INVERTED
+};
+
 struct VideoMode
 {
        unsigned index;
        const Monitor *monitor;
        unsigned width;
        unsigned height;
-       unsigned rate;
+       float rate;
+       VideoRotation rotation;
 
        VideoMode();
        VideoMode(unsigned, unsigned);