diff options
Diffstat (limited to 'src/game/client/ui.h')
| -rw-r--r-- | src/game/client/ui.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/game/client/ui.h b/src/game/client/ui.h index 477799f7..9ff85dd5 100644 --- a/src/game/client/ui.h +++ b/src/game/client/ui.h @@ -6,7 +6,7 @@ class CUIRect { // TODO: Refactor: Redo UI scaling - float Scale() const { return 1.0f; } + float Scale() const; public: float x, y, w, h; @@ -85,12 +85,13 @@ public: // TODO: Refactor: Redo UI scaling void SetScale(float s); - float Scale() const { return 1.0f; } + float Scale(); int DoButtonLogic(const void *pID, const char *pText /* TODO: Refactor: Remove */, int Checked, const CUIRect *pRect); // TODO: Refactor: Remove this? void DoLabel(const CUIRect *pRect, const char *pText, float Size, int Align, int MaxWidth = -1); + void DoLabelScaled(const CUIRect *pRect, const char *pText, float Size, int Align, int MaxWidth = -1); }; |