Added 2 functions to retrieve the default system fonts:

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

No files matched your search

+13
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)