]> git.tdb.fi Git - libs/gui.git/blobdiff - source/graphics/videomode.cpp
Include the matching header first in .cpp files
[libs/gui.git] / source / graphics / videomode.cpp
index 888cad824d318a4a3a22f783cce88054745440a8..dfd002ed83a54798772a8d3b43ee468e7ae00389 100644 (file)
@@ -1,5 +1,5 @@
-#include <msp/strings/format.h>
 #include "videomode.h"
+#include <msp/strings/format.h>
 
 namespace Msp {
 namespace Graphics {
@@ -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