#include <cursor.h>
Public Member Functions | |
DeferredMotionDelta (MotionDeltaFunction function, void *data) | |
void | flush () |
void | motion_delta (int x, int y, unsigned int state) |
Private Types | |
typedef void(* | MotionDeltaFunction )(int x, int y, void *data) |
Static Private Member Functions | |
static gboolean | deferred_motion (gpointer data) |
Private Attributes | |
int | m_delta_x |
int | m_delta_y |
guint | m_motion_handler |
MotionDeltaFunction | m_function |
void * | m_data |
Definition at line 78 of file cursor.h.
typedef void(* DeferredMotionDelta::MotionDeltaFunction)(int x, int y, void *data) [private] |
DeferredMotionDelta::DeferredMotionDelta | ( | MotionDeltaFunction | function, | |
void * | data | |||
) | [inline] |
Definition at line 87 of file cursor.h.
References m_delta_x, m_delta_y, m_function, and m_motion_handler.
Referenced by flush(), and motion_delta().
void DeferredMotionDelta::flush | ( | ) | [inline] |
Definition at line 103 of file cursor.h.
References deferred_motion(), and m_motion_handler.
void DeferredMotionDelta::motion_delta | ( | int | x, | |
int | y, | |||
unsigned int | state | |||
) | [inline] |
Definition at line 110 of file cursor.h.
References deferred_motion(), m_delta_x, m_delta_y, and m_motion_handler.
void* DeferredMotionDelta::m_data [private] |
int DeferredMotionDelta::m_delta_x [private] |
Definition at line 80 of file cursor.h.
Referenced by deferred_motion(), and motion_delta().
int DeferredMotionDelta::m_delta_y [private] |
Definition at line 81 of file cursor.h.
Referenced by deferred_motion(), and motion_delta().
Definition at line 84 of file cursor.h.
Referenced by deferred_motion().
guint DeferredMotionDelta::m_motion_handler [private] |
Definition at line 82 of file cursor.h.
Referenced by deferred_motion(), flush(), and motion_delta().