X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fgraphics%2Fvideomode.cpp;h=d9c20794da611a492bf1e588d599211f84213604;hb=3c5bbaeadb33d288c0f9e487b52904b7ed7e4319;hp=b3ca948fb1f86b5161ed4fd4466eb3f3bd19ca71;hpb=0913ba6fdd0e28740e0b521f275b9ce82c4a1b7a;p=libs%2Fgui.git diff --git a/source/graphics/videomode.cpp b/source/graphics/videomode.cpp index b3ca948..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 { @@ -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