]> git.tdb.fi Git - libs/gui.git/blobdiff - source/graphics/window.h
Add decorations for things which should be exported from the library
[libs/gui.git] / source / graphics / window.h
index 09ab25b1b42e3d9bebb86e659bbe62228a0b74f2..a6fb92b4e8e1eb4db2f0cf46004a3a93cf92d1f6 100644 (file)
@@ -3,6 +3,7 @@
 
 #include <string>
 #include <sigc++/signal.h>
+#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);