diff --git a/include/gui.hpp b/include/gui.hpp index 92e37d4..01a3337 100644 --- a/include/gui.hpp +++ b/include/gui.hpp @@ -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);