X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fgraphics%2Fvideomode.cpp;h=d9c20794da611a492bf1e588d599211f84213604;hb=3c5bbaeadb33d288c0f9e487b52904b7ed7e4319;hp=a07112a1eb5be6c2ff68dd8ab183e4eb11760927;hpb=e09c2211539f417474b1d3226f56f021938329bf;p=libs%2Fgui.git diff --git a/source/graphics/videomode.cpp b/source/graphics/videomode.cpp index a07112a..d9c2079 100644 --- a/source/graphics/videomode.cpp +++ b/source/graphics/videomode.cpp @@ -1,5 +1,5 @@ -#include #include "videomode.h" +#include namespace Msp { namespace Graphics { @@ -8,5 +8,11 @@ unsupported_video_mode::unsupported_video_mode(const VideoMode &mode): runtime_error(format("%dx%d", mode.width, mode.height)) { } + +VideoMode::VideoMode(unsigned w, unsigned h): + width(w), + height(h) +{ } + } // namespace Graphics } // namespace Msp