Remove gnCreateWindowSurface, add platform specific window creation
functions
This commit is contained in:
@@ -1,10 +1,15 @@
|
||||
#pragma once
|
||||
|
||||
|
||||
#ifdef GN_PLATFORM_LINUX
|
||||
#include <platform/platform_linux/gryphn_platform_linux.h>
|
||||
#elif GN_PLATFORM_MACOS
|
||||
#endif
|
||||
|
||||
#ifdef GN_PLATFORM_MACOS
|
||||
#include <platform/platform_macos/gryphn_platform_macos.h>
|
||||
#elif GN_PLATFORM_WINDOWS
|
||||
#endif
|
||||
|
||||
#ifdef GN_PLATFORM_WINDOWS
|
||||
#include <platform/platform_windows/gryphn_platform_windows.h>
|
||||
#endif
|
||||
|
||||
|
@@ -0,0 +1,7 @@
|
||||
#ifdef GN_WINDOW_X11
|
||||
#include <X11/Xlib.h>
|
||||
#endif
|
||||
|
||||
#ifdef GN_WINDOW_WAYLAND
|
||||
#include <wayland-client.h>
|
||||
#endif
|
||||
|
@@ -3,3 +3,9 @@
|
||||
#include <utils/strings/gryphn_string.h>
|
||||
#include <vector>
|
||||
#include <dlfcn.h>
|
||||
|
||||
namespace NS {
|
||||
struct Window;
|
||||
struct View;
|
||||
}
|
||||
// #include "AppKit/NSView.hpp"
|
||||
|
Reference in New Issue
Block a user