mirror of
https://github.com/gryf/wmaker.git
synced 2026-11-22 07:17:05 +01:00
added options to change default fonts
This commit is contained in:
1 parent
6947fd7b64
commit
79ae37a35c
5 files changed
+32
-3
No files matched your search
@@ -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