comparison dw.h @ 2066:2c2530f8cbef

Initial design for system notification support on GTK. Windows, Mac and possibly OS/2 Support will follow. GTK support requires Glib 2.40 or higher.
author bsmith@81767d24-ef19-dc11-ae90-00e081727c95
date Thu, 14 May 2020 01:52:27 +0000
parents 48b91f535f82
children ade83a05a7d8
comparison
equal deleted inserted replaced
2065:2dacac5e4023 2066:2c2530f8cbef
1825 void API dw_calendar_set_date(HWND window, unsigned int year, unsigned int month, unsigned int day); 1825 void API dw_calendar_set_date(HWND window, unsigned int year, unsigned int month, unsigned int day);
1826 void API dw_calendar_get_date(HWND window, unsigned int *year, unsigned int *month, unsigned int *day); 1826 void API dw_calendar_get_date(HWND window, unsigned int *year, unsigned int *month, unsigned int *day);
1827 HPRINT API dw_print_new(const char *jobname, unsigned long flags, unsigned int pages, void *drawfunc, void *drawdata); 1827 HPRINT API dw_print_new(const char *jobname, unsigned long flags, unsigned int pages, void *drawfunc, void *drawdata);
1828 int API dw_print_run(HPRINT print, unsigned long flags); 1828 int API dw_print_run(HPRINT print, unsigned long flags);
1829 void API dw_print_cancel(HPRINT print); 1829 void API dw_print_cancel(HPRINT print);
1830 HWND API dw_notification_new(const char *title, HPIXMAP pixmap, const char *description, ...);
1831 int API dw_notification_send(HWND notification);
1830 wchar_t * API dw_utf8_to_wchar(const char *utf8string); 1832 wchar_t * API dw_utf8_to_wchar(const char *utf8string);
1831 char * API dw_wchar_to_utf8(const wchar_t *wstring); 1833 char * API dw_wchar_to_utf8(const wchar_t *wstring);
1832 /* Exported for language bindings */ 1834 /* Exported for language bindings */
1833 void API _dw_init_thread(void); 1835 void API _dw_init_thread(void);
1834 void API _dw_deinit_thread(void); 1836 void API _dw_deinit_thread(void);