comparison dw.h @ 596:a8ea3d68b9ec

Update version Add calendar widget.
author mhessling@81767d24-ef19-dc11-ae90-00e081727c95
date Mon, 25 Sep 2006 22:32:10 +0000
parents 420c6c94abc7
children c5e5671dec8f
comparison
equal deleted inserted replaced
595:8b152d268bd4 596:a8ea3d68b9ec
4 #define _H_DW 4 #define _H_DW
5 5
6 /* Dynamic Windows version numbers */ 6 /* Dynamic Windows version numbers */
7 #define DW_MAJOR_VERSION 0 7 #define DW_MAJOR_VERSION 0
8 #define DW_MINOR_VERSION 9 8 #define DW_MINOR_VERSION 9
9 #define DW_SUB_VERSION 0 9 #define DW_SUB_VERSION 2
10 10
11 /* These corespond to the entries in the color 11 /* These corespond to the entries in the color
12 * arrays in the Win32 dw.c, they are also the 12 * arrays in the Win32 dw.c, they are also the
13 * same as DOS ANSI colors. 13 * same as DOS ANSI colors.
14 */ 14 */
1063 void API dw_splitbar_set(HWND handle, float percent); 1063 void API dw_splitbar_set(HWND handle, float percent);
1064 float API dw_splitbar_get(HWND handle); 1064 float API dw_splitbar_get(HWND handle);
1065 HMENUI API dw_menu_new(unsigned long id); 1065 HMENUI API dw_menu_new(unsigned long id);
1066 HMENUI API dw_menubar_new(HWND location); 1066 HMENUI API dw_menubar_new(HWND location);
1067 HWND API dw_menu_append_item(HMENUI menu, char *title, unsigned long id, unsigned long flags, int end, int check, HMENUI submenu); 1067 HWND API dw_menu_append_item(HMENUI menu, char *title, unsigned long id, unsigned long flags, int end, int check, HMENUI submenu);
1068 #if 0
1069 TBD
1070 void API dw_menu_delete_item(HMENUI menu, unsigned long id);
1071 #endif
1068 void API dw_menu_item_set_check(HMENUI menu, unsigned long id, int check); 1072 void API dw_menu_item_set_check(HMENUI menu, unsigned long id, int check);
1069 void API dw_menu_popup(HMENUI *menu, HWND parent, int x, int y); 1073 void API dw_menu_popup(HMENUI *menu, HWND parent, int x, int y);
1070 void API dw_menu_destroy(HMENUI *menu); 1074 void API dw_menu_destroy(HMENUI *menu);
1071 void API dw_pointer_query_pos(long *x, long *y); 1075 void API dw_pointer_query_pos(long *x, long *y);
1072 void API dw_pointer_set_pos(long x, long y); 1076 void API dw_pointer_set_pos(long x, long y);
1132 int API dw_named_memory_free(HSHM handle, void *ptr); 1136 int API dw_named_memory_free(HSHM handle, void *ptr);
1133 void API dw_html_action(HWND hwnd, int action); 1137 void API dw_html_action(HWND hwnd, int action);
1134 int API dw_html_raw(HWND hwnd, char *string); 1138 int API dw_html_raw(HWND hwnd, char *string);
1135 int API dw_html_url(HWND hwnd, char *url); 1139 int API dw_html_url(HWND hwnd, char *url);
1136 HWND API dw_html_new(unsigned long id); 1140 HWND API dw_html_new(unsigned long id);
1137 1141 HWND API dw_calendar_new(unsigned long id);
1138 #endif 1142 void API dw_calendar_set_date( HWND window, int year, int month, int day );
1143 void API dw_calendar_get_date( HWND window, int *year, int *month, int *day );
1144
1145 #endif