DeferredMotionDelta Class Reference

#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

Detailed Description

Definition at line 78 of file cursor.h.


Member Typedef Documentation

typedef void(* DeferredMotionDelta::MotionDeltaFunction)(int x, int y, void *data) [private]

Definition at line 83 of file cursor.h.


Constructor & Destructor Documentation

DeferredMotionDelta::DeferredMotionDelta ( MotionDeltaFunction  function,
void *  data 
) [inline]

Definition at line 99 of file cursor.h.


Member Function Documentation

static gboolean DeferredMotionDelta::deferred_motion ( gpointer  data  )  [inline, static, private]

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.


Field Documentation

void* DeferredMotionDelta::m_data [private]

Definition at line 85 of file cursor.h.

Definition at line 80 of file cursor.h.

Referenced by deferred_motion(), and motion_delta().

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().

Definition at line 82 of file cursor.h.

Referenced by deferred_motion(), flush(), and motion_delta().


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

Generated by  doxygen 1.6.2