LibGUI/WindowServer: Rename mouse capture -> mouse relative
My terminology was incorrect and this is more correct
This commit is contained in:
@@ -205,7 +205,7 @@ namespace LibGUI
|
||||
WindowInvalidate,
|
||||
WindowSetPosition,
|
||||
WindowSetAttributes,
|
||||
WindowSetMouseCapture,
|
||||
WindowSetMouseRelative,
|
||||
WindowSetSize,
|
||||
WindowSetMinSize,
|
||||
WindowSetMaxSize,
|
||||
@@ -266,8 +266,8 @@ namespace LibGUI
|
||||
);
|
||||
|
||||
DEFINE_PACKET(
|
||||
WindowSetMouseCapture,
|
||||
bool, captured
|
||||
WindowSetMouseRelative,
|
||||
bool, enabled
|
||||
);
|
||||
|
||||
DEFINE_PACKET(
|
||||
|
||||
@@ -43,7 +43,7 @@ namespace LibGUI
|
||||
void invalidate(int32_t x, int32_t y, uint32_t width, uint32_t height);
|
||||
void invalidate() { return invalidate(0, 0, width(), height()); }
|
||||
|
||||
void set_mouse_capture(bool captured);
|
||||
void set_mouse_relative(bool enabled);
|
||||
void set_fullscreen(bool fullscreen);
|
||||
void set_title(BAN::StringView title);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user