X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fgraphics%2Fvideomode.h;h=ea69e1b8fc7dfd42545463216f33928695da6d1e;hb=b99a9eb342d0f6ba5509c6d9f8ab0b0b5d5d2979;hp=6c83d945185123a055fd967082875f32b9aa484c;hpb=294c354ae3b1f26887c37f866f082e52c08d80f1;p=libs%2Fgui.git diff --git a/source/graphics/videomode.h b/source/graphics/videomode.h index 6c83d94..ea69e1b 100644 --- a/source/graphics/videomode.h +++ b/source/graphics/videomode.h @@ -2,6 +2,7 @@ #define MSP_GRAPHICS_VIDEOMODE_H_ #include +#include "mspgui_api.h" namespace Msp { namespace Graphics { @@ -9,7 +10,7 @@ namespace Graphics { struct Monitor; struct VideoMode; -class unsupported_video_mode: public std::runtime_error +class MSPGUI_API unsupported_video_mode: public std::runtime_error { public: unsupported_video_mode(const VideoMode &); @@ -25,10 +26,10 @@ enum VideoRotation ROTATE_INVERTED }; -struct VideoMode +struct MSPGUI_API VideoMode { unsigned index = 0; - const Monitor *monitor = 0; + const Monitor *monitor = nullptr; unsigned width = 0; unsigned height = 0; float rate = 0.0f;