mirror of
https://gitea.nishi.boats/pyrite-dev/milsko
synced 2026-01-23 09:34:07 +00:00
appkit
This commit is contained in:
@@ -27,6 +27,7 @@ enum MwLLBackends {
|
||||
MwLLBackendX11 = 0,
|
||||
MwLLBackendGDI,
|
||||
MwLLBackendWayland,
|
||||
MwLLBackendAppKit,
|
||||
};
|
||||
|
||||
struct _MwLLCommon {
|
||||
@@ -61,6 +62,9 @@ struct _MwLLCommonPixmap {
|
||||
#ifdef USE_WAYLAND
|
||||
#include <Mw/LowLevel/Wayland.h>
|
||||
#endif
|
||||
#ifdef USE_APPKIT
|
||||
#include <Mw/LowLevel/AppKit.h>
|
||||
#endif
|
||||
|
||||
union _MwLL {
|
||||
struct _MwLLCommon common;
|
||||
@@ -73,6 +77,9 @@ union _MwLL {
|
||||
#ifdef USE_WAYLAND
|
||||
struct _MwLLWayland wayland;
|
||||
#endif
|
||||
#ifdef USE_APPKIT
|
||||
struct _MwLLAppKit appkit;
|
||||
#endif
|
||||
};
|
||||
|
||||
union _MwLLColor {
|
||||
@@ -86,6 +93,9 @@ union _MwLLColor {
|
||||
#ifdef USE_WAYLAND
|
||||
struct _MwLLWaylandColor wayland;
|
||||
#endif
|
||||
#ifdef USE_APPKIT
|
||||
struct _MwLLAppKitColor appkit;
|
||||
#endif
|
||||
};
|
||||
|
||||
union _MwLLPixmap {
|
||||
@@ -99,6 +109,9 @@ union _MwLLPixmap {
|
||||
#ifdef USE_WAYLAND
|
||||
struct _MwLLWaylandPixmap wayland;
|
||||
#endif
|
||||
#ifdef USE_APPKIT
|
||||
struct _MwLLAppKitPixmap appkit;
|
||||
#endif
|
||||
};
|
||||
#endif
|
||||
#include <Mw/TypeDefs.h>
|
||||
|
||||
Reference in New Issue
Block a user