1
0
mirror of https://github.com/gryf/wmaker.git synced 2026-01-30 04:05:51 +01:00

added options to change default fonts

This commit is contained in:
kojima
2000-05-21 23:56:33 +00:00
parent 6947fd7b64
commit 79ae37a35c
5 changed files with 32 additions and 3 deletions

View File

@@ -815,6 +815,24 @@ WMCreateScreenWithRContext(Display *display, int screen, RContext *context)
}
void
WMSetWidgetDefaultFont(WMScreen *scr, WMFont *font)
{
WMReleaseFont(scr->normalFont);
scr->normalFont = WMRetainFont(font);
}
void
WMSetWidgetDefaultBoldFont(WMScreen *scr, WMFont *font)
{
WMReleaseFont(scr->boldFont);
scr->boldFont = WMRetainFont(font);
}
void
WMHangData(WMWidget *widget, void *data)
{