X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fgraphics%2Fwindow.h;h=a6fb92b4e8e1eb4db2f0cf46004a3a93cf92d1f6;hb=d7686e3867e3c68cec0d3767a21f9d2408383085;hp=09ab25b1b42e3d9bebb86e659bbe62228a0b74f2;hpb=294c354ae3b1f26887c37f866f082e52c08d80f1;p=libs%2Fgui.git diff --git a/source/graphics/window.h b/source/graphics/window.h index 09ab25b..a6fb92b 100644 --- a/source/graphics/window.h +++ b/source/graphics/window.h @@ -3,6 +3,7 @@ #include #include +#include "mspgui_api.h" namespace Msp { namespace Graphics { @@ -18,12 +19,12 @@ struct WindowOptions unsigned width = 640; unsigned height = 480; bool fullscreen = false; - const Monitor *fullscreen_monitor = 0; + const Monitor *fullscreen_monitor = nullptr; bool fullscreen_exclusive = true; bool resizable = false; }; -class Window +class MSPGUI_API Window { public: struct Private; @@ -50,7 +51,7 @@ protected: bool touch_input = false; bool resizing = false; bool moving = false; - Private *priv = 0; + Private *priv = nullptr; public: Window(Display &, unsigned w, unsigned h, bool fs = false);