lib/ewl_cursor.h
Go to the documentation of this file.00001 /* vim: set sw=8 ts=8 sts=8 expandtab: */ 00002 #ifndef EWL_CURSOR_H 00003 #define EWL_CURSOR_H 00004 00026 #define EWL_CURSOR_TYPE "cursor" 00027 00032 #define EWL_CURSOR_IS(w) (ewl_widget_type_is(EWL_WIDGET(w), EWL_CURSOR_TYPE)) 00033 00037 typedef struct Ewl_Cursor Ewl_Cursor; 00038 00043 #define EWL_CURSOR(cursor) ((Ewl_Cursor *) cursor) 00044 00048 struct Ewl_Cursor 00049 { 00050 Ewl_Window window; 00051 int refcount; 00052 int handle; 00053 }; 00054 00055 Ewl_Widget *ewl_cursor_new(void); 00056 int ewl_cursor_init(Ewl_Cursor *c); 00057 00062 #endif 00063