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