mirror of
https://github.com/Fennix-Project/Kernel.git
synced 2025-07-11 07:19:20 +00:00
Added "ReplaceFont"
This commit is contained in:
@ -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);
|
||||||
|
Reference in New Issue
Block a user