X-Git-Url: https://de.git.xonotic.org/?p=xonotic%2Fnetradiant.git;a=blobdiff_plain;f=libs%2Fgtkutil%2Fcursor.h;fp=libs%2Fgtkutil%2Fcursor.h;h=77cb776123d7a03621f64fd32b66af2a17951497;hp=db44d2a46e7134ef1212c6e7e722b64e969b25ca;hb=e9bb12b9916f5cdc3834e83a8e0b2569545630cb;hpb=31840ff32f2e289baa16542fa45d1b5219bb2359 diff --git a/libs/gtkutil/cursor.h b/libs/gtkutil/cursor.h index db44d2a4..77cb7761 100644 --- a/libs/gtkutil/cursor.h +++ b/libs/gtkutil/cursor.h @@ -34,8 +34,8 @@ GdkCursor* create_blank_cursor(); void set_cursor( ui::Widget widget, GdkCursorType cursor_type ); void blank_cursor( ui::Widget widget ); void default_cursor( ui::Widget widget ); -void Sys_GetCursorPos( ui::Window window, int *x, int *y ); -void Sys_SetCursorPos( ui::Window window, int x, int y ); +void Sys_GetCursorPos( ui::Widget widget, int *x, int *y ); +void Sys_SetCursorPos( ui::Widget widget, int x, int y ); class DeferredMotion { @@ -114,11 +114,11 @@ void* m_data; public: FreezePointer() : handle_motion( 0 ), m_function( 0 ), m_data( 0 ){ } -static gboolean motion_delta( ui::Window widget, GdkEventMotion *event, FreezePointer* self ); +static gboolean motion_delta( ui::Widget widget, GdkEventMotion *event, FreezePointer* self ); -void freeze_pointer( ui::Window window, MotionDeltaFunction function, void* data ); +void freeze_pointer( ui::Widget widget, MotionDeltaFunction function, void* data ); -void unfreeze_pointer( ui::Window window ); +void unfreeze_pointer( ui::Widget widget ); }; #endif