X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fgraphics%2Fwindow.h;h=b2c7833c1db844957b09d39df9b1cbe6876dbdb5;hb=05db7bfc90b3a3806080f34e463c57b9b3d87d31;hp=55751b3d5a15cf689972ac38e3dc0f890f2d4a64;hpb=1aca77b93853ee127ac3bbf6886f7f04920542ef;p=libs%2Fgui.git diff --git a/source/graphics/window.h b/source/graphics/window.h index 55751b3..b2c7833 100644 --- a/source/graphics/window.h +++ b/source/graphics/window.h @@ -31,6 +31,7 @@ public: sigc::signal signal_input_event; sigc::signal signal_resize; + sigc::signal signal_expose; sigc::signal signal_close; protected: @@ -38,6 +39,7 @@ protected: WindowOptions options; bool visible; bool kbd_autorepeat; + bool touch_input; bool resizing; Private *priv; @@ -60,6 +62,11 @@ public: bool get_keyboard_autorepeat() const { return kbd_autorepeat; } void show_cursor(bool); void warp_pointer(int, int); + void set_touch_input(bool); +private: + void platform_set_touch_input(); +public: + bool get_touch_input() const { return touch_input; } Display &get_display() const { return display; } const WindowOptions &get_options() const { return options; }