# HG changeset patch # User mhessling@81767d24-ef19-dc11-ae90-00e081727c95 # Date 1159223530 0 # Node ID a8ea3d68b9ec2cd6a1022f89aa15cc3a53e1b932 # Parent 8b152d268bd4e7c916b4ee93b6a6469c95684cf7 Update version Add calendar widget. diff -r 8b152d268bd4 -r a8ea3d68b9ec dw.h --- a/dw.h Mon Sep 25 22:23:43 2006 +0000 +++ b/dw.h Mon Sep 25 22:32:10 2006 +0000 @@ -6,7 +6,7 @@ /* Dynamic Windows version numbers */ #define DW_MAJOR_VERSION 0 #define DW_MINOR_VERSION 9 -#define DW_SUB_VERSION 0 +#define DW_SUB_VERSION 2 /* These corespond to the entries in the color * arrays in the Win32 dw.c, they are also the @@ -1065,6 +1065,10 @@ HMENUI API dw_menu_new(unsigned long id); HMENUI API dw_menubar_new(HWND location); HWND API dw_menu_append_item(HMENUI menu, char *title, unsigned long id, unsigned long flags, int end, int check, HMENUI submenu); +#if 0 +TBD +void API dw_menu_delete_item(HMENUI menu, unsigned long id); +#endif void API dw_menu_item_set_check(HMENUI menu, unsigned long id, int check); void API dw_menu_popup(HMENUI *menu, HWND parent, int x, int y); void API dw_menu_destroy(HMENUI *menu); @@ -1134,5 +1138,8 @@ int API dw_html_raw(HWND hwnd, char *string); int API dw_html_url(HWND hwnd, char *url); HWND API dw_html_new(unsigned long id); +HWND API dw_calendar_new(unsigned long id); +void API dw_calendar_set_date( HWND window, int year, int month, int day ); +void API dw_calendar_get_date( HWND window, int *year, int *month, int *day ); #endif