FreezePointer Class Reference

#include <cursor.h>

Public Member Functions

 FreezePointer ()
void freeze_pointer (GtkWindow *window, MotionDeltaFunction function, void *data)
void unfreeze_pointer (GtkWindow *window)

Static Public Member Functions

static gboolean motion_delta (GtkWidget *widget, GdkEventMotion *event, FreezePointer *self)

Private Types

typedef void(* MotionDeltaFunction )(int x, int y, unsigned int state, void *data)

Private Attributes

unsigned int handle_motion
int recorded_x
int recorded_y
MotionDeltaFunction m_function
void * m_data

Detailed Description

Definition at line 120 of file cursor.h.


Member Typedef Documentation

typedef void(* FreezePointer::MotionDeltaFunction)(int x, int y, unsigned int state, void *data) [private]

Definition at line 124 of file cursor.h.


Constructor & Destructor Documentation

FreezePointer::FreezePointer (  )  [inline]

Definition at line 128 of file cursor.h.


Member Function Documentation

void FreezePointer::freeze_pointer ( GtkWindow window,
MotionDeltaFunction  function,
void *  data 
) [inline]
static gboolean FreezePointer::motion_delta ( GtkWidget widget,
GdkEventMotion *  event,
FreezePointer self 
) [inline, static]

Definition at line 132 of file cursor.h.

References Sys_GetCursorPos(), and Sys_SetCursorPos().

Referenced by freeze_pointer().

void FreezePointer::unfreeze_pointer ( GtkWindow window  )  [inline]

Definition at line 169 of file cursor.h.

References handle_motion, m_data, m_function, recorded_x, recorded_y, and Sys_SetCursorPos().


Field Documentation

unsigned int FreezePointer::handle_motion [private]

Definition at line 122 of file cursor.h.

Referenced by freeze_pointer(), and unfreeze_pointer().

void* FreezePointer::m_data [private]

Definition at line 126 of file cursor.h.

Referenced by freeze_pointer(), and unfreeze_pointer().

Definition at line 125 of file cursor.h.

Referenced by freeze_pointer(), and unfreeze_pointer().

Definition at line 123 of file cursor.h.

Referenced by freeze_pointer(), and unfreeze_pointer().

Definition at line 123 of file cursor.h.

Referenced by freeze_pointer(), and unfreeze_pointer().


The documentation for this class was generated from the following file:

Generated by  doxygen 1.6.2