comparison dw.h @ 1306:dbd507f42947

Added dw_debug() logging function which will output a message to the debugging console. On Windows this uses OutputDebugMessage(), on Mac it uses NSLog() ... The other platforms currently just dump it to stderr. Maybe more enhancements to come.
author bsmith@81767d24-ef19-dc11-ae90-00e081727c95
date Thu, 03 Nov 2011 23:34:10 +0000
parents 18a31ab94e3d
children 4333b58d879d
comparison
equal deleted inserted replaced
1305:18a31ab94e3d 1306:dbd507f42947
1671 HPIXMAP API dw_pixmap_grab(HWND handle, ULONG id); 1671 HPIXMAP API dw_pixmap_grab(HWND handle, ULONG id);
1672 void API dw_pixmap_set_transparent_color( HPIXMAP pixmap, ULONG color ); 1672 void API dw_pixmap_set_transparent_color( HPIXMAP pixmap, ULONG color );
1673 int API dw_pixmap_set_font(HPIXMAP pixmap, char *fontname); 1673 int API dw_pixmap_set_font(HPIXMAP pixmap, char *fontname);
1674 void API dw_pixmap_destroy(HPIXMAP pixmap); 1674 void API dw_pixmap_destroy(HPIXMAP pixmap);
1675 void API dw_beep(int freq, int dur); 1675 void API dw_beep(int freq, int dur);
1676 void API dw_debug(char *format, ...);
1676 int API dw_messagebox(char *title, int flags, char *format, ...); 1677 int API dw_messagebox(char *title, int flags, char *format, ...);
1677 void API dw_environment_query(DWEnv *env); 1678 void API dw_environment_query(DWEnv *env);
1678 int API dw_exec(char *program, int type, char **params); 1679 int API dw_exec(char *program, int type, char **params);
1679 int API dw_browse(char *url); 1680 int API dw_browse(char *url);
1680 char * API dw_file_browse(char *title, char *defpath, char *ext, int flags); 1681 char * API dw_file_browse(char *title, char *defpath, char *ext, int flags);