Mercurial > dwindows
comparison gtk/dw.c @ 1076:dbaf1b11c301
Added stub dw_font_set_default() functions for GTK.
After some research I haven't been able to find a way to set the default font for just the running application.
There are APIs for setting it for all applications, but that isn't what I want... so just committing stubs for the moment.
author | bsmith@81767d24-ef19-dc11-ae90-00e081727c95 |
---|---|
date | Sun, 26 Jun 2011 02:36:23 +0000 |
parents | fadb18121c56 |
children | 27e9a063fbb5 |
comparison
equal
deleted
inserted
replaced
1075:3d117071a50b | 1076:dbaf1b11c301 |
---|---|
2840 DW_MUTEX_UNLOCK; | 2840 DW_MUTEX_UNLOCK; |
2841 return retfont; | 2841 return retfont; |
2842 } | 2842 } |
2843 | 2843 |
2844 /* | 2844 /* |
2845 * Sets the default font used on text based widgets. | |
2846 * Parameters: | |
2847 * fontname: Font name in Dynamic Windows format. | |
2848 */ | |
2849 void API dw_font_set_default(char *fontname) | |
2850 { | |
2851 } | |
2852 | |
2853 /* | |
2845 * Sets the font used by a specified window (widget) handle. | 2854 * Sets the font used by a specified window (widget) handle. |
2846 * Parameters: | 2855 * Parameters: |
2847 * handle: The window (widget) handle. | 2856 * handle: The window (widget) handle. |
2848 * fontname: Name and size of the font in the form "size.fontname" | 2857 * fontname: Name and size of the font in the form "size.fontname" |
2849 */ | 2858 */ |