comparison lwlib/lwlib-internal.h @ 398:74fd4e045ea6 r21-2-29

Import from CVS: tag r21-2-29
author cvs
date Mon, 13 Aug 2007 11:13:30 +0200
parents ac2d302a0011
children 697ef44129c6
comparison
equal deleted inserted replaced
397:f4aeb21a5bad 398:74fd4e045ea6
1 #ifndef LWLIB_INTERNAL_H 1 #ifndef INCLUDED_lwlib_internal_h_
2 #define LWLIB_INTERNAL_H 2 #define INCLUDED_lwlib_internal_h_
3 3
4 #include "lwlib.h" 4 #include "lwlib.h"
5 5
6 /* This represents a single widget within a widget tree. All the 6 /* This represents a single widget within a widget tree. All the
7 widgets in a widget tree are chained through the `next' field. 7 widgets in a widget tree are chained through the `next' field.
37 typedef Widget 37 typedef Widget
38 (*widget_creation_function) (widget_instance* instance); 38 (*widget_creation_function) (widget_instance* instance);
39 39
40 typedef struct _widget_creation_entry 40 typedef struct _widget_creation_entry
41 { 41 {
42 CONST char* type; 42 const char* type;
43 widget_creation_function function; 43 widget_creation_function function;
44 } widget_creation_entry; 44 } widget_creation_entry;
45 45
46 /* update all other instances of a widget. Can be used in a callback when 46 /* update all other instances of a widget. Can be used in a callback when
47 a wiget has been used by the user */ 47 a wiget has been used by the user */
53 widget_value* 53 widget_value*
54 lw_get_widget_value_for_widget (widget_instance* instance, Widget w); 54 lw_get_widget_value_for_widget (widget_instance* instance, Widget w);
55 55
56 widget_info *lw_get_widget_info (LWLIB_ID id); 56 widget_info *lw_get_widget_info (LWLIB_ID id);
57 57
58 #endif /* LWLIB_INTERNAL_H */ 58 #endif /* INCLUDED_lwlib_internal_h_ */
59