Download

Support

Ewl_Cursor: Container to create custom mouse cursors


Detailed Description

Defines the Ewl_Cursor class used for generating ARGB cursor data.

Remarks:
Inherits from Ewl_Window.


Data Structures

struct  Ewl_Cursor
 Inherits from Ewl_Window to allow packing widgets as cursor objects. More...

Defines

#define EWL_CURSOR(cursor)   ((Ewl_Cursor *) cursor)
#define EWL_CURSOR_IS(w)   (ewl_widget_type_is(EWL_WIDGET(w), EWL_CURSOR_TYPE))
#define EWL_CURSOR_TYPE   "cursor"

Typedefs

typedef Ewl_Cursor Ewl_Cursor

Functions

int ewl_cursor_init (Ewl_Cursor *c)
 Initializes an Ewl_Cursor widget.
Ewl_Widgetewl_cursor_new (void)
 Creates and initializes a new Ewl_Cursor widget.

Define Documentation

#define EWL_CURSOR ( cursor   )     ((Ewl_Cursor *) cursor)

Typecast a pointer to an Ewl_Separator pointer.

#define EWL_CURSOR_IS (  )     (ewl_widget_type_is(EWL_WIDGET(w), EWL_CURSOR_TYPE))

Returns TRUE if the widget is an Ewl_Cursor, FALSE otherwise

#define EWL_CURSOR_TYPE   "cursor"

The type name for the Ewl_Cursor widget


Typedef Documentation

typedef struct Ewl_Cursor Ewl_Cursor

Ewl_Cursor provides a container that has a labeled cursor.


Function Documentation

int ewl_cursor_init ( Ewl_Cursor cursor  ) 

Initializes an Ewl_Cursor widget.

Parameters:
cursor,: The Ewl_Cursor to initialize
Returns:
Returns TRUE on success, FALSE on failure

Ewl_Widget* ewl_cursor_new ( void   ) 

Creates and initializes a new Ewl_Cursor widget.

Returns:
Returns a new Ewl_Cursor on success, or NULL on failure


Copyright © Enlightenment.org

Enlightened Widget Library Documentation Generated: Sun Sep 27 01:49:46 2009