mirror of
https://github.com/EnderIce2/Fennix.git
synced 2025-05-30 08:17:58 +00:00
Added "ReplaceFont"
This commit is contained in:
parent
39a788ddb5
commit
e23d6168bb
@ -230,6 +230,12 @@ namespace GraphicalUserInterface
|
||||
Vector<ButtonObject *> Buttons;
|
||||
|
||||
public:
|
||||
void ReplaceFont(Video::Font *NewFont)
|
||||
{
|
||||
delete this->CurrentFont;
|
||||
this->CurrentFont = NewFont;
|
||||
}
|
||||
|
||||
Handle CreatePanel(Rect rect, uint32_t Color);
|
||||
Handle CreateButton(Rect rect, const char *Text, uintptr_t OnClick = (uintptr_t) nullptr);
|
||||
Handle CreateLabel(Rect rect, const char *Text);
|
||||
|
Loading…
x
Reference in New Issue
Block a user