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:
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user