X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fgraphics%2Fwindow.h;h=443cac79210afe3904b5cbc2008daceabc907197;hb=787d1982dceae67b9b934a9b74e08a096c0c1830;hp=70b40443d3d84575f93f4fefc51ffa99119da2c1;hpb=1d7113259625a91f5f6d2f53365aad22ae744689;p=libs%2Fgui.git diff --git a/source/graphics/window.h b/source/graphics/window.h index 70b4044..443cac7 100644 --- a/source/graphics/window.h +++ b/source/graphics/window.h @@ -11,6 +11,9 @@ class Display; struct WindowOptions { + int x; + int y; + bool user_position; unsigned width; unsigned height; bool fullscreen; @@ -30,7 +33,12 @@ public: objects instead. */ sigc::signal signal_input_event; + sigc::signal signal_got_focus; + sigc::signal signal_lost_focus; + + sigc::signal signal_move; sigc::signal signal_resize; + sigc::signal signal_expose; sigc::signal signal_close; protected: @@ -40,6 +48,7 @@ protected: bool kbd_autorepeat; bool touch_input; bool resizing; + bool moving; Private *priv; public: @@ -55,6 +64,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);