mirror of
https://github.com/gryf/wmaker.git
synced 2026-10-09 11:12:29 +02:00
- Added wstrndup() and WMGetFontName()
This commit is contained in:
1 parent
96c64e15ef
commit
ca43aba088
7 files changed
+721
-688
No files matched your search
@@ -529,6 +529,8 @@ WMIsAntialiasingEnabled(WMScreen *scrPtr)
|
||||
Bool
|
||||
WMIsAntialiasedFont(WMFont *font)
|
||||
{
|
||||
wassertrv(font!=NULL, False);
|
||||
|
||||
return font->antialiased;
|
||||
}
|
||||
|
||||
@@ -542,6 +544,15 @@ WMFontHeight(WMFont *font)
|
||||
}
|
||||
|
||||
|
||||
char*
|
||||
WMGetFontName(WMFont *font)
|
||||
{
|
||||
wassertrv(font!=NULL, NULL);
|
||||
|
||||
return font->name;
|
||||
}
|
||||
|
||||
|
||||
WMFont*
|
||||
WMDefaultSystemFont(WMScreen *scrPtr)
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user