]> git.tdb.fi Git - libs/gui.git/blobdiff - source/graphics/videomode.cpp
Expose a lot more information through the Monitor struct
[libs/gui.git] / source / graphics / videomode.cpp
index 888cad824d318a4a3a22f783cce88054745440a8..b3ca948fb1f86b5161ed4fd4466eb3f3bd19ca71 100644 (file)
@@ -14,7 +14,8 @@ VideoMode::VideoMode():
        monitor(0),
        width(0),
        height(0),
-       rate(0)
+       rate(0),
+       rotation(ROTATE_ANY)
 { }
 
 VideoMode::VideoMode(unsigned w, unsigned h):
@@ -22,7 +23,8 @@ VideoMode::VideoMode(unsigned w, unsigned h):
        monitor(0),
        width(w),
        height(h),
-       rate(0)
+       rate(0),
+       rotation(ROTATE_ANY)
 { }
 
 } // namespace Graphics