From a2f113f8ee6f196aa7712a87704b854ac5e2e41d Mon Sep 17 00:00:00 2001 From: Alexander Sulfrian Date: Thu, 22 Mar 2012 23:36:10 +0100 Subject: menu/software_mouse_pointer: hide after 2s without movement --- src/menu/software_mouse_pointer.hpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/menu/software_mouse_pointer.hpp') diff --git a/src/menu/software_mouse_pointer.hpp b/src/menu/software_mouse_pointer.hpp index 15e855db..26ffc037 100644 --- a/src/menu/software_mouse_pointer.hpp +++ b/src/menu/software_mouse_pointer.hpp @@ -31,6 +31,7 @@ #include "container.hpp" #include "event_manager.hpp" #include "texture.hpp" +#include "timer.hpp" #include #include @@ -48,6 +49,8 @@ namespace usdx Texture* texture_normal; Texture* texture_pressed; + Timer* fade_inactive; + boost::signals2::connection mouse_move_connection; protected: -- cgit v1.2.3