libui: Move WindowType from ipc/Server.h to Window.h as it is no longer used in IPC
This commit is contained in:
parent
b9ccda132a
commit
9bb66716a4
@ -19,6 +19,13 @@
|
||||
|
||||
namespace ui
|
||||
{
|
||||
enum class WindowType : u8
|
||||
{
|
||||
Normal,
|
||||
NotDecorated,
|
||||
System,
|
||||
};
|
||||
|
||||
class Window
|
||||
{
|
||||
public:
|
||||
|
@ -25,13 +25,7 @@ namespace ui
|
||||
CLOSE_WINDOW_ID,
|
||||
GET_SCREEN_RECT_ID,
|
||||
SET_TITLEBAR_HEIGHT_ID,
|
||||
};
|
||||
|
||||
enum class WindowType : u8
|
||||
{
|
||||
Normal,
|
||||
NotDecorated,
|
||||
System,
|
||||
SET_SPECIAL_WINDOW_ATTRIBUTES_ID,
|
||||
};
|
||||
|
||||
struct CreateWindowRequest
|
||||
@ -40,7 +34,6 @@ namespace ui
|
||||
static constexpr u8 ID = CREATE_WINDOW_ID;
|
||||
|
||||
ui::Rect rect;
|
||||
WindowType type;
|
||||
};
|
||||
|
||||
struct RemoveSharedMemoryRequest
|
||||
|
Loading…
Reference in New Issue
Block a user