1
0
mirror of https://github.com/gryf/wmaker.git synced 2026-02-18 23:45:47 +01:00

Added 2 functions to retrieve the default system fonts:

WMDefaultSystemFont(WMScreen *scr) and WMDefaultBoldSystemFont(WMScreen *scr)
This commit is contained in:
dan
2002-03-28 16:22:53 +00:00
parent e4a53ba71e
commit ad0ad5af22
3 changed files with 19 additions and 0 deletions

View File

@@ -268,6 +268,19 @@ WMFontHeight(WMFont *font)
}
WMFont*
WMDefaultSystemFont(WMScreen *scrPtr)
{
return WMRetainFont(scrPtr->normalFont);
}
WMFont*
WMDefaultBoldSystemFont(WMScreen *scrPtr)
{
return WMRetainFont(scrPtr->boldFont);
}
WMFont*
WMSystemFontOfSize(WMScreen *scrPtr, int size)