comparison dw.h @ 2950:0577a97fe36d

Added dw_pixmap_get_width() and dw_pixmap_get_height() by request for language bindings. These APIs function identical to the already existing DW_PIXMAP_HEIGHT/WIDTH() macros. The macros will exist at least until the end of the 3.x series, at which point they may be retired.
author bsmith@81767d24-ef19-dc11-ae90-00e081727c95
date Tue, 03 Jan 2023 22:23:08 +0000
parents 3fe7641f027c
children 34d16576c156
comparison
equal deleted inserted replaced
2949:a1d0522d7edf 2950:0577a97fe36d
2185 HPIXMAP API dw_pixmap_new_from_data(HWND handle, const char *data, int len); 2185 HPIXMAP API dw_pixmap_new_from_data(HWND handle, const char *data, int len);
2186 HPIXMAP API dw_pixmap_grab(HWND handle, ULONG id); 2186 HPIXMAP API dw_pixmap_grab(HWND handle, ULONG id);
2187 void API dw_pixmap_set_transparent_color( HPIXMAP pixmap, ULONG color ); 2187 void API dw_pixmap_set_transparent_color( HPIXMAP pixmap, ULONG color );
2188 int API dw_pixmap_set_font(HPIXMAP pixmap, const char *fontname); 2188 int API dw_pixmap_set_font(HPIXMAP pixmap, const char *fontname);
2189 void API dw_pixmap_destroy(HPIXMAP pixmap); 2189 void API dw_pixmap_destroy(HPIXMAP pixmap);
2190 unsigned long dw_pixmap_get_width(HPIXMAP pixmap);
2191 unsigned long dw_pixmap_get_height(HPIXMAP pixmap);
2190 void API dw_beep(int freq, int dur); 2192 void API dw_beep(int freq, int dur);
2191 void API dw_debug(const char *format, ...); 2193 void API dw_debug(const char *format, ...);
2192 void API dw_vdebug(const char *format, va_list args); 2194 void API dw_vdebug(const char *format, va_list args);
2193 int API dw_messagebox(const char *title, int flags, const char *format, ...); 2195 int API dw_messagebox(const char *title, int flags, const char *format, ...);
2194 int API dw_vmessagebox(const char *title, int flags, const char *format, va_list args); 2196 int API dw_vmessagebox(const char *title, int flags, const char *format, va_list args);