mirror of
https://github.com/gryf/wmaker.git
synced 2026-02-14 04:45:57 +01:00
- Added WMCreateNonAAFont() to WINGs
This commit is contained in:
@@ -24,6 +24,7 @@ Changes since wmaker 0.80.1:
|
||||
details and incompatibilities introduced by this change.
|
||||
- Added new Bool WMIsAAFont(WMFont *font) to check if a font is AA or not.
|
||||
- Added WMGetColorAlpha(WMColor *color)
|
||||
- Added WMCreateNonAAFont()
|
||||
|
||||
|
||||
Changes since wmaker 0.80.0:
|
||||
|
||||
@@ -701,6 +701,8 @@ WMFont* WMCreateNormalFont(WMScreen *scrPtr, char *fontName);
|
||||
|
||||
WMFont* WMCreateAAFont(WMScreen *scrPtr, char *fontName);
|
||||
|
||||
WMFont* WMCreateNonAAFont(WMScreen *scrPtr, char *fontName);
|
||||
|
||||
WMFont* WMCreateFont(WMScreen *scrPtr, char *fontName);
|
||||
|
||||
WMFont* WMRetainFont(WMFont *font);
|
||||
|
||||
@@ -285,6 +285,17 @@ WMCreateAAFont(WMScreen *scrPtr, char *fontName)
|
||||
}
|
||||
|
||||
|
||||
WMFont*
|
||||
WMCreateNonAAFont(WMScreen *scrPtr, char *fontName)
|
||||
{
|
||||
if (scrPtr->useMultiByte) {
|
||||
return WMCreateFontSet(scrPtr, fontName);
|
||||
} else {
|
||||
return WMCreateNormalFont(scrPtr, fontName);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
WMFont*
|
||||
WMCreateFont(WMScreen *scrPtr, char *fontName)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user