Mercurial > dwindows
diff 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 |
line wrap: on
line diff
--- a/dw.h Sun Mar 30 03:28:45 2003 +0000 +++ b/dw.h Mon Mar 31 07:50:20 2003 +0000 @@ -30,6 +30,22 @@ #define DW_CLR_WHITE 15 #define DW_CLR_DEFAULT 16 +/* Signal handler defines */ +#define DW_SIGNAL_CONFIGURE "configure_event" +#define DW_SIGNAL_KEY_PRESS "key_press_event" +#define DW_SIGNAL_BUTTON_PRESS "button_press_event" +#define DW_SIGNAL_BUTTON_RELEASE "button_release_event" +#define DW_SIGNAL_MOTION_NOTIFY "motion_notify_event" +#define DW_SIGNAL_DELETE "delete_event" +#define DW_SIGNAL_EXPOSE "expose_event" +#define DW_SIGNAL_CLICKED "clicked" +#define DW_SIGNAL_ITEM_ENTER "container-select" +#define DW_SIGNAL_ITEM_CONTEXT "container-context" +#define DW_SIGNAL_ITEM_SELECT "tree-select" +#define DW_SIGNAL_LIST_SELECT "item-select" +#define DW_SIGNAL_SET_FOCUS "set-focus" +#define DW_SIGNAL_VALUE_CHANGED "value_changed" + #if defined(__OS2__) || defined(__WIN32__) || defined(WINNT) || defined(__EMX__) /* OS/2 or Windows */