OverlayManager now manages font size for the overlays
This commit is contained in:
parent
d5f7b20be3
commit
f83853c2fb
5 changed files with 57 additions and 49 deletions
|
|
@ -31,11 +31,13 @@ public:
|
|||
void setOverlayTextUpdated(OverlayType type);
|
||||
void setOverlayState(OverlayType type, bool enabled);
|
||||
SDL_Color getOverlayColor(OverlayType type);
|
||||
int getOverlayFontSize(OverlayType type);
|
||||
|
||||
void setOverlayRenderer(IOverlayRenderer* renderer);
|
||||
|
||||
struct {
|
||||
bool enabled;
|
||||
int fontSize;
|
||||
SDL_Color color;
|
||||
char text[512];
|
||||
} m_Overlays[OverlayMax];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue