]> git.tdb.fi Git - libs/gui.git/blobdiff - source/graphics/window.h
Allow configuring window positions as well
[libs/gui.git] / source / graphics / window.h
index 70b40443d3d84575f93f4fefc51ffa99119da2c1..31fa248a65e2a7080fdbfeebfd1a4d290e39d689 100644 (file)
@@ -11,6 +11,9 @@ class Display;
 
 struct WindowOptions
 {
+       int x;
+       int y;
+       bool user_position;
        unsigned width;
        unsigned height;
        bool fullscreen;
@@ -30,7 +33,9 @@ public:
        objects instead. */
        sigc::signal<void, const Event &> signal_input_event;
 
+       sigc::signal<void, int, int> signal_move;
        sigc::signal<void, unsigned, unsigned> signal_resize;
+       sigc::signal<void, unsigned, unsigned, unsigned, unsigned, const Event &> signal_expose;
        sigc::signal<void> signal_close;
 
 protected:
@@ -40,6 +45,7 @@ protected:
        bool kbd_autorepeat;
        bool touch_input;
        bool resizing;
+       bool moving;
        Private *priv;
 
 public: