Prerequisites
XrdPointer requires
GObject.
Includes
#include <xrdesktop.h>
Functions
xrd_pointer_get_default_length ()
float
xrd_pointer_get_default_length (XrdPointer *self
);
xrd_pointer_hide ()
void
xrd_pointer_hide (XrdPointer *self
);
xrd_pointer_init ()
void
xrd_pointer_init (XrdPointer *self
);
xrd_pointer_reset_length ()
void
xrd_pointer_reset_length (XrdPointer *self
);
xrd_pointer_set_length ()
void
xrd_pointer_set_length (XrdPointer *self
,
float length
);
xrd_pointer_set_selected_window ()
void
xrd_pointer_set_selected_window (XrdPointer *self
,
XrdWindow *window
);
xrd_pointer_show ()
void
xrd_pointer_show (XrdPointer *self
);
Types and Values
XrdPointer
typedef struct _XrdPointer XrdPointer;
XrdPointerData
typedef struct {
float start_offset;
float length;
float default_length;
gboolean visible;
} XrdPointerData;
struct XrdPointerInterface
struct XrdPointerInterface {
GTypeInterface parent;
void
(*move) (XrdPointer *self,
graphene_matrix_t *transform);
void
(*set_length) (XrdPointer *self,
float length);
XrdPointerData*
(*get_data) (XrdPointer *self);
void
(*set_transformation) (XrdPointer *self,
graphene_matrix_t *matrix);
void
(*get_transformation) (XrdPointer *self,
graphene_matrix_t *matrix);
void
(*set_selected_window) (XrdPointer *pointer,
XrdWindow *window);
void
(*show) (XrdPointer *self);
void
(*hide) (XrdPointer *self);
};
XRD_TYPE_POINTER
#define XRD_TYPE_POINTER xrd_pointer_get_type()