comparison dw.h @ 306:9d13efce2894

Minor OS/2 cleanup. Added #defines for the signals, instead of using the text strings.
author bsmith@81767d24-ef19-dc11-ae90-00e081727c95
date Mon, 31 Mar 2003 07:50:20 +0000
parents 7c1770e3fe08
children 77105fe19c1f
comparison
equal deleted inserted replaced
305:32ad8a0dc06b 306:9d13efce2894
27 #define DW_CLR_BLUE 12 27 #define DW_CLR_BLUE 12
28 #define DW_CLR_PINK 13 28 #define DW_CLR_PINK 13
29 #define DW_CLR_CYAN 14 29 #define DW_CLR_CYAN 14
30 #define DW_CLR_WHITE 15 30 #define DW_CLR_WHITE 15
31 #define DW_CLR_DEFAULT 16 31 #define DW_CLR_DEFAULT 16
32
33 /* Signal handler defines */
34 #define DW_SIGNAL_CONFIGURE "configure_event"
35 #define DW_SIGNAL_KEY_PRESS "key_press_event"
36 #define DW_SIGNAL_BUTTON_PRESS "button_press_event"
37 #define DW_SIGNAL_BUTTON_RELEASE "button_release_event"
38 #define DW_SIGNAL_MOTION_NOTIFY "motion_notify_event"
39 #define DW_SIGNAL_DELETE "delete_event"
40 #define DW_SIGNAL_EXPOSE "expose_event"
41 #define DW_SIGNAL_CLICKED "clicked"
42 #define DW_SIGNAL_ITEM_ENTER "container-select"
43 #define DW_SIGNAL_ITEM_CONTEXT "container-context"
44 #define DW_SIGNAL_ITEM_SELECT "tree-select"
45 #define DW_SIGNAL_LIST_SELECT "item-select"
46 #define DW_SIGNAL_SET_FOCUS "set-focus"
47 #define DW_SIGNAL_VALUE_CHANGED "value_changed"
32 48
33 #if defined(__OS2__) || defined(__WIN32__) || defined(WINNT) || defined(__EMX__) 49 #if defined(__OS2__) || defined(__WIN32__) || defined(WINNT) || defined(__EMX__)
34 /* OS/2 or Windows */ 50 /* OS/2 or Windows */
35 51
36 #if defined(__IBMC__) && !defined(API) 52 #if defined(__IBMC__) && !defined(API)