DeferredMotion Class Reference

#include <cursor.h>

Public Member Functions

 DeferredMotion (MotionFunction function, void *data)
void motion (gdouble x, gdouble y, guint state)

Static Public Member Functions

static gboolean gtk_motion (GtkWidget *widget, GdkEventMotion *event, DeferredMotion *self)

Private Types

typedef void(* MotionFunction )(gdouble x, gdouble y, guint state, void *data)

Static Private Member Functions

static gboolean deferred (DeferredMotion *self)

Private Attributes

guint m_handler
MotionFunction m_function
void * m_data
gdouble m_x
gdouble m_y
guint m_state

Detailed Description

Definition at line 40 of file cursor.h.


Member Typedef Documentation

typedef void(* DeferredMotion::MotionFunction)(gdouble x, gdouble y, guint state, void *data) [private]

Definition at line 43 of file cursor.h.


Constructor & Destructor Documentation

DeferredMotion::DeferredMotion ( MotionFunction  function,
void *  data 
) [inline]

Definition at line 57 of file cursor.h.


Member Function Documentation

static gboolean DeferredMotion::deferred ( DeferredMotion self  )  [inline, static, private]

Definition at line 50 of file cursor.h.

Referenced by motion().

static gboolean DeferredMotion::gtk_motion ( GtkWidget widget,
GdkEventMotion *  event,
DeferredMotion self 
) [inline, static]

Definition at line 71 of file cursor.h.

void DeferredMotion::motion ( gdouble  x,
gdouble  y,
guint  state 
) [inline]

Definition at line 61 of file cursor.h.

References deferred(), m_handler, m_state, m_x, and m_y.


Field Documentation

void* DeferredMotion::m_data [private]

Definition at line 45 of file cursor.h.

Definition at line 44 of file cursor.h.

Definition at line 42 of file cursor.h.

Referenced by motion().

Definition at line 48 of file cursor.h.

Referenced by motion().

gdouble DeferredMotion::m_x [private]

Definition at line 46 of file cursor.h.

Referenced by motion().

gdouble DeferredMotion::m_y [private]

Definition at line 47 of file cursor.h.

Referenced by motion().


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

Generated by  doxygen 1.6.2