]> git.tdb.fi Git - libs/gui.git/blobdiff - source/graphics/videomode.cpp
Use lambdas for comparison functions
[libs/gui.git] / source / graphics / videomode.cpp
index b3ca948fb1f86b5161ed4fd4466eb3f3bd19ca71..d9c20794da611a492bf1e588d599211f84213604 100644 (file)
@@ -1,5 +1,5 @@
-#include <msp/strings/format.h>
 #include "videomode.h"
+#include <msp/strings/format.h>
 
 namespace Msp {
 namespace Graphics {
@@ -9,22 +9,9 @@ unsupported_video_mode::unsupported_video_mode(const VideoMode &mode):
 { }
 
 
-VideoMode::VideoMode():
-       index(0),
-       monitor(0),
-       width(0),
-       height(0),
-       rate(0),
-       rotation(ROTATE_ANY)
-{ }
-
 VideoMode::VideoMode(unsigned w, unsigned h):
-       index(0),
-       monitor(0),
        width(w),
-       height(h),
-       rate(0),
-       rotation(ROTATE_ANY)
+       height(h)
 { }
 
 } // namespace Graphics