Mercurial > dwindows
diff 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 |
line wrap: on
line diff
--- a/dw.h Mon Jan 02 21:41:27 2023 +0000 +++ b/dw.h Tue Jan 03 22:23:08 2023 +0000 @@ -2187,6 +2187,8 @@ void API dw_pixmap_set_transparent_color( HPIXMAP pixmap, ULONG color ); int API dw_pixmap_set_font(HPIXMAP pixmap, const char *fontname); void API dw_pixmap_destroy(HPIXMAP pixmap); +unsigned long dw_pixmap_get_width(HPIXMAP pixmap); +unsigned long dw_pixmap_get_height(HPIXMAP pixmap); void API dw_beep(int freq, int dur); void API dw_debug(const char *format, ...); void API dw_vdebug(const char *format, va_list args);