Added "SetTitle"

This commit is contained in:
Alex 2023-03-06 04:11:46 +02:00
parent 546efd37d0
commit fec1a97bf9
Signed by untrusted user who does not match committer: enderice2
GPG Key ID: EACC3AD603BAB4DD

View File

@ -293,6 +293,7 @@ namespace GraphicalUserInterface
Rect GetPosition() { return Position; }
Rect *GetPositionPtr() { return &Position; }
const char *GetTitle() { return (const char *)Title; }
void SetTitle(const char *Title) { strcpy(this->Title, Title); }
void AddWidget(WidgetCollection *widget);
Window(void *ParentGUI, Rect rect, const char *Title);