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
|
namespace ui
|
||||||
{
|
{
|
||||||
|
enum class WindowType : u8
|
||||||
|
{
|
||||||
|
Normal,
|
||||||
|
NotDecorated,
|
||||||
|
System,
|
||||||
|
};
|
||||||
|
|
||||||
class Window
|
class Window
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
|
@ -25,13 +25,7 @@ namespace ui
|
|||||||
CLOSE_WINDOW_ID,
|
CLOSE_WINDOW_ID,
|
||||||
GET_SCREEN_RECT_ID,
|
GET_SCREEN_RECT_ID,
|
||||||
SET_TITLEBAR_HEIGHT_ID,
|
SET_TITLEBAR_HEIGHT_ID,
|
||||||
};
|
SET_SPECIAL_WINDOW_ATTRIBUTES_ID,
|
||||||
|
|
||||||
enum class WindowType : u8
|
|
||||||
{
|
|
||||||
Normal,
|
|
||||||
NotDecorated,
|
|
||||||
System,
|
|
||||||
};
|
};
|
||||||
|
|
||||||
struct CreateWindowRequest
|
struct CreateWindowRequest
|
||||||
@ -40,7 +34,6 @@ namespace ui
|
|||||||
static constexpr u8 ID = CREATE_WINDOW_ID;
|
static constexpr u8 ID = CREATE_WINDOW_ID;
|
||||||
|
|
||||||
ui::Rect rect;
|
ui::Rect rect;
|
||||||
WindowType type;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
struct RemoveSharedMemoryRequest
|
struct RemoveSharedMemoryRequest
|
||||||
|
Loading…
Reference in New Issue
Block a user