X-Git-Url: http://git.tdb.fi/?p=libs%2Fgui.git;a=blobdiff_plain;f=source%2Fgraphics%2Fwindow.h;h=70b40443d3d84575f93f4fefc51ffa99119da2c1;hp=55751b3d5a15cf689972ac38e3dc0f890f2d4a64;hb=1d7113259625a91f5f6d2f53365aad22ae744689;hpb=d6bdc1d1dd8df202608eeee4fb2a99693ee62d56 diff --git a/source/graphics/window.h b/source/graphics/window.h index 55751b3..70b4044 100644 --- a/source/graphics/window.h +++ b/source/graphics/window.h @@ -38,6 +38,7 @@ protected: WindowOptions options; bool visible; bool kbd_autorepeat; + bool touch_input; bool resizing; Private *priv; @@ -60,6 +61,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; }