]> git.tdb.fi Git - libs/gui.git/blobdiff - source/graphics/videomode.cpp
Extend the video mode API to support multiple monitors
[libs/gui.git] / source / graphics / videomode.cpp
index a07112a1eb5be6c2ff68dd8ab183e4eb11760927..5c9e821449c14b966b75562da13417fdcea615e8 100644 (file)
@@ -8,5 +8,20 @@ unsupported_video_mode::unsupported_video_mode(const VideoMode &mode):
        runtime_error(format("%dx%d", mode.width, mode.height))
 { }
 
+
+VideoMode::VideoMode():
+       monitor(0),
+       width(0),
+       height(0),
+       rate(0)
+{ }
+
+VideoMode::VideoMode(unsigned w, unsigned h):
+       monitor(0),
+       width(w),
+       height(h),
+       rate(0)
+{ }
+
 } // namespace Graphics
 } // namespace Msp