comparison lwlib/lwlib.h @ 243:f220cc83d72e r20-5b20

Import from CVS: tag r20-5b20
author cvs
date Mon, 13 Aug 2007 10:17:07 +0200
parents 2d532a89d707
children c5d627a313b1
comparison
equal deleted inserted replaced
242:fc816b73a05f 243:f220cc83d72e
9 # define CONST 9 # define CONST
10 #else 10 #else
11 # define CONST const 11 # define CONST const
12 #endif 12 #endif
13 13
14 #if defined (MENUBARS_LUCID) || defined (MENUBARS_MOTIF) || defined (MENUBARS_ATHENA) 14 #if defined (LWLIB_MENUBARS_LUCID) || defined (LWLIB_MENUBARS_MOTIF) || defined (LWLIB_MENUBARS_ATHENA)
15 #define NEED_MENUBARS 15 #define NEED_MENUBARS
16 #endif 16 #endif
17 #if defined (SCROLLBARS_LUCID) || defined (SCROLLBARS_MOTIF) || defined (SCROLLBARS_ATHENA) 17 #if defined (LWLIB_SCROLLBARS_LUCID) || defined (LWLIB_SCROLLBARS_MOTIF) || defined (LWLIB_SCROLLBARS_ATHENA)
18 #define NEED_SCROLLBARS 18 #define NEED_SCROLLBARS
19 #endif 19 #endif
20 #if defined (DIALOGS_LUCID) || defined (DIALOGS_MOTIF) || defined (DIALOGS_ATHENA) 20 #if defined (LWLIB_DIALOGS_LUCID) || defined (LWLIB_DIALOGS_MOTIF) || defined (LWLIB_DIALOGS_ATHENA)
21 #define NEED_DIALOGS 21 #define NEED_DIALOGS
22 #endif 22 #endif
23 23
24 /* 24 /*
25 ** Widget values depend on the Widget type: 25 ** Widget values depend on the Widget type:
169 #define lw_map_menu xlw_map_menu 169 #define lw_map_menu xlw_map_menu
170 #define lw_display_menu xlw_display_menu 170 #define lw_display_menu xlw_display_menu
171 #define lw_kill_menus xlw_kill_menus 171 #define lw_kill_menus xlw_kill_menus
172 #define lw_get_entries xlw_get_entries 172 #define lw_get_entries xlw_get_entries
173 #define lw_menu_level xlw_menu_level 173 #define lw_menu_level xlw_menu_level
174 #else /* MENUBARS_LUCID */ 174 #else /* LWLIB_MENUBARS_LUCID */
175 /* do this for the other toolkits too */ 175 /* do this for the other toolkits too */
176 #endif /* MENUBARS_LUCID */ 176 #endif /* LWLIB_MENUBARS_LUCID */
177 177
178 void lw_register_widget (CONST char* type, CONST char* name, LWLIB_ID id, 178 void lw_register_widget (CONST char* type, CONST char* name, LWLIB_ID id,
179 widget_value* val, lw_callback pre_activate_cb, 179 widget_value* val, lw_callback pre_activate_cb,
180 lw_callback selection_cb, 180 lw_callback selection_cb,
181 lw_callback post_activate_cb); 181 lw_callback post_activate_cb);