Mercurial > dwindows
comparison dw.h @ 1783:9de6d1cc8fb8
Put test program code into DEPRECATED #ifdef again to avoid build warnings.
Added UTF-8/Wide string conversion functions which will be used in an editor.
author | bsmith@81767d24-ef19-dc11-ae90-00e081727c95 |
---|---|
date | Tue, 24 Jul 2012 22:52:57 +0000 |
parents | d81bebc5c8cc |
children | 9d499b162fe1 |
comparison
equal
deleted
inserted
replaced
1782:d056a50196a9 | 1783:9de6d1cc8fb8 |
---|---|
1412 /* Constants for sizing scrolled widgets */ | 1412 /* Constants for sizing scrolled widgets */ |
1413 #define _DW_SCROLLED_MIN_WIDTH 100 | 1413 #define _DW_SCROLLED_MIN_WIDTH 100 |
1414 #define _DW_SCROLLED_MIN_HEIGHT 75 | 1414 #define _DW_SCROLLED_MIN_HEIGHT 75 |
1415 #define _DW_SCROLLED_MAX_WIDTH 500 | 1415 #define _DW_SCROLLED_MAX_WIDTH 500 |
1416 #define _DW_SCROLLED_MAX_HEIGHT 400 | 1416 #define _DW_SCROLLED_MAX_HEIGHT 400 |
1417 | |
1418 #include <wchar.h> | |
1417 | 1419 |
1418 /* Let other APIs know what types we've defined, | 1420 /* Let other APIs know what types we've defined, |
1419 * Regina REXX in particular, on Unix. | 1421 * Regina REXX in particular, on Unix. |
1420 */ | 1422 */ |
1421 #define ULONG_TYPEDEFED 1 | 1423 #define ULONG_TYPEDEFED 1 |
1722 void API dw_calendar_set_date( HWND window, unsigned int year, unsigned int month, unsigned int day ); | 1724 void API dw_calendar_set_date( HWND window, unsigned int year, unsigned int month, unsigned int day ); |
1723 void API dw_calendar_get_date( HWND window, unsigned int *year, unsigned int *month, unsigned int *day ); | 1725 void API dw_calendar_get_date( HWND window, unsigned int *year, unsigned int *month, unsigned int *day ); |
1724 HPRINT API dw_print_new(char *jobname, unsigned long flags, unsigned int pages, void *drawfunc, void *drawdata); | 1726 HPRINT API dw_print_new(char *jobname, unsigned long flags, unsigned int pages, void *drawfunc, void *drawdata); |
1725 int API dw_print_run(HPRINT print, unsigned long flags); | 1727 int API dw_print_run(HPRINT print, unsigned long flags); |
1726 void API dw_print_cancel(HPRINT print); | 1728 void API dw_print_cancel(HPRINT print); |
1727 | 1729 wchar_t * API dw_utf8_to_wchar(char *utf8string); |
1728 #endif | 1730 char * API dw_wchar_to_utf8(wchar_t *wstring); |
1731 | |
1732 #endif |