Mercurial > dwindows
comparison mac/dw.m @ 1075:3d117071a50b
Renamed Mac _dw_default_font() to dw_font_set_default() and added it on OS/2 and Windows.
Function added to the public export list... GTK2/3 support will be added shortly.
author | bsmith@81767d24-ef19-dc11-ae90-00e081727c95 |
---|---|
date | Sun, 26 Jun 2011 02:07:49 +0000 |
parents | 53fc692279fc |
children | 34f1d6f5f1c3 |
comparison
equal
deleted
inserted
replaced
1074:53fc692279fc | 1075:3d117071a50b |
---|---|
8927 [pool drain]; | 8927 [pool drain]; |
8928 #endif | 8928 #endif |
8929 free(tmp); | 8929 free(tmp); |
8930 } | 8930 } |
8931 | 8931 |
8932 void _dw_default_font(char *fontname) | 8932 /* |
8933 * Sets the default font used on text based widgets. | |
8934 * Parameters: | |
8935 * fontname: Font name in Dynamic Windows format. | |
8936 */ | |
8937 void API dw_font_set_default(char *fontname) | |
8933 { | 8938 { |
8934 if(DWDefaultFont) | 8939 if(DWDefaultFont) |
8935 { | 8940 { |
8936 [DWDefaultFont release]; | 8941 [DWDefaultFont release]; |
8937 } | 8942 } |