forked from pyrite-dev/milsko
appkit
This commit is contained in:
parent
079cfa18b9
commit
2d3bd9213e
13 changed files with 416 additions and 83 deletions
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue