Mercurial > dwindows
comparison dw.h @ 2901:761b7a12b079
Add va_list versions of dw_debug() and dw_messagebox() for use in C++ bindings.
dw_vdebug() and dw_vmessagebox() work similarly to the standard library versions.
DW::App:Debug() and DW::App:MessageBox() use them for variable arguments.
author | bsmith@81767d24-ef19-dc11-ae90-00e081727c95 |
---|---|
date | Sun, 25 Dec 2022 00:20:49 +0000 |
parents | 939fbceec13f |
children | cb9e8494f534 |
comparison
equal
deleted
inserted
replaced
2900:fe31d4535270 | 2901:761b7a12b079 |
---|---|
2185 void API dw_pixmap_set_transparent_color( HPIXMAP pixmap, ULONG color ); | 2185 void API dw_pixmap_set_transparent_color( HPIXMAP pixmap, ULONG color ); |
2186 int API dw_pixmap_set_font(HPIXMAP pixmap, const char *fontname); | 2186 int API dw_pixmap_set_font(HPIXMAP pixmap, const char *fontname); |
2187 void API dw_pixmap_destroy(HPIXMAP pixmap); | 2187 void API dw_pixmap_destroy(HPIXMAP pixmap); |
2188 void API dw_beep(int freq, int dur); | 2188 void API dw_beep(int freq, int dur); |
2189 void API dw_debug(const char *format, ...); | 2189 void API dw_debug(const char *format, ...); |
2190 void API dw_vdebug(const char *format, va_list args); | |
2190 int API dw_messagebox(const char *title, int flags, const char *format, ...); | 2191 int API dw_messagebox(const char *title, int flags, const char *format, ...); |
2192 int API dw_vmessagebox(const char *title, int flags, const char *format, va_list args); | |
2191 void API dw_environment_query(DWEnv *env); | 2193 void API dw_environment_query(DWEnv *env); |
2192 int API dw_exec(const char *program, int type, char **params); | 2194 int API dw_exec(const char *program, int type, char **params); |
2193 int API dw_browse(const char *url); | 2195 int API dw_browse(const char *url); |
2194 #if defined(__ANDROID__) | 2196 #if defined(__ANDROID__) |
2195 int API dw_file_open(const char *path, int mode); | 2197 int API dw_file_open(const char *path, int mode); |