create ChaChaFont interface (to handle unscalled)
This commit is contained in:
12
Classes/IChaChaFontInfo.uc
Normal file
12
Classes/IChaChaFontInfo.uc
Normal file
@@ -0,0 +1,12 @@
|
|||||||
|
class IChaChaFontInfo expands FontInfo;
|
||||||
|
|
||||||
|
|
||||||
|
function GlobalForceScalingState(bool bState);
|
||||||
|
function Font GetHugeUnscaledFont(float Width);
|
||||||
|
function Font GetBigUnscaledFont(float Width);
|
||||||
|
function Font GetMediumUnscaledFont(float Width);
|
||||||
|
function Font GetSmallUnscaledFont(float Width);
|
||||||
|
function Font GetSmallestUnscaledFont(float Width);
|
||||||
|
function Font GetAReallySmallUnscaledFont(float Width);
|
||||||
|
function Font GetACompletelyUnreadableUnscaledFont(float Width);
|
||||||
|
function Font GetUnscaledFontIndex(int i, float Width);
|
||||||
@@ -2,7 +2,7 @@ class IChaChaFonts expands Actor
|
|||||||
abstract;
|
abstract;
|
||||||
|
|
||||||
|
|
||||||
simulated function FontInfo Get(String requestedFont);
|
simulated function IChaChaFontInfo Get(String requestedFont);
|
||||||
|
|
||||||
static function IChaChaFonts GetInstance(LevelInfo _Level, String ID)
|
static function IChaChaFonts GetInstance(LevelInfo _Level, String ID)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user