X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fgraphics%2Fwindow.h;h=b9a50fec520bf7baa813e5cbbaa71edc2f875a34;hb=95480fceabec2dd6354b87a200b4a219b39d4f0a;hp=2d4376e1761baf82c7e59316b7823e5436721d9b;hpb=e15959a69551c2027029470e65a17ea5a305545b;p=libs%2Fgui.git diff --git a/source/graphics/window.h b/source/graphics/window.h index 2d4376e..b9a50fe 100644 --- a/source/graphics/window.h +++ b/source/graphics/window.h @@ -8,6 +8,7 @@ namespace Msp { namespace Graphics { class Display; +class Monitor; struct WindowOptions { @@ -17,6 +18,8 @@ struct WindowOptions unsigned width; unsigned height; bool fullscreen; + const Monitor *fullscreen_monitor; + bool fullscreen_exclusive; bool resizable; WindowOptions(); @@ -64,6 +67,7 @@ public: void set_title(const std::string &); void reconfigure(const WindowOptions &); private: + void set_fullscreen_mode(); void platform_reconfigure(bool); public: void set_keyboard_autorepeat(bool);