LibGUI: Add support for changing window title
This commit is contained in:
@@ -165,6 +165,7 @@ namespace LibGUI
|
||||
WindowSetMouseCapture,
|
||||
WindowSetSize,
|
||||
WindowSetFullscreen,
|
||||
WindowSetTitle,
|
||||
|
||||
DestroyWindowEvent,
|
||||
CloseWindowEvent,
|
||||
@@ -230,6 +231,11 @@ namespace LibGUI
|
||||
bool, fullscreen
|
||||
);
|
||||
|
||||
DEFINE_PACKET(
|
||||
WindowSetTitle,
|
||||
BAN::String, title
|
||||
);
|
||||
|
||||
}
|
||||
|
||||
namespace EventPacket
|
||||
|
||||
@@ -68,6 +68,7 @@ namespace LibGUI
|
||||
|
||||
void set_mouse_capture(bool captured);
|
||||
void set_fullscreen(bool fullscreen);
|
||||
void set_title(BAN::StringView title);
|
||||
|
||||
void set_position(int32_t x, int32_t y);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user