Mercurial > dwindows
diff mac/dw.m @ 1147:091ed7c20b3f
Implemented dw_pixmap_set_font() on Windows. Added to export files on Windows and OS/2.
Added the function to the template and fixed the comments on several platforms.
author | bsmith@81767d24-ef19-dc11-ae90-00e081727c95 |
---|---|
date | Sun, 11 Sep 2011 21:56:55 +0000 |
parents | 9d97610b2140 |
children | 58b5374355ab |
line wrap: on
line diff
--- a/mac/dw.m Sun Sep 11 21:36:07 2011 +0000 +++ b/mac/dw.m Sun Sep 11 21:56:55 2011 +0000 @@ -6294,7 +6294,6 @@ return pixmap; } - /* * Sets the font used by a specified pixmap. * Normally the pixmap font is obtained from the associated window handle. @@ -6303,6 +6302,8 @@ * pixmap: Handle to a pixmap returned by dw_pixmap_new() or * passed to the application via a callback. * fontname: Name and size of the font in the form "size.fontname" + * Returns: + * DW_ERROR_NONE on success and DW_ERROR_GENERAL on failure. */ int API dw_pixmap_set_font(HPIXMAP pixmap, char *fontname) {