X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fgraphics%2Fvideomode.cpp;h=b3ca948fb1f86b5161ed4fd4466eb3f3bd19ca71;hb=2438c3cdd14087bfc3375ed1f5521ad5c0c09bbc;hp=a07112a1eb5be6c2ff68dd8ab183e4eb11760927;hpb=e09c2211539f417474b1d3226f56f021938329bf;p=libs%2Fgui.git diff --git a/source/graphics/videomode.cpp b/source/graphics/videomode.cpp index a07112a..b3ca948 100644 --- a/source/graphics/videomode.cpp +++ b/source/graphics/videomode.cpp @@ -8,5 +8,24 @@ unsupported_video_mode::unsupported_video_mode(const VideoMode &mode): runtime_error(format("%dx%d", mode.width, mode.height)) { } + +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) +{ } + } // namespace Graphics } // namespace Msp