Added initial support for Nano-X (thanks Hsieh-Fu!)
--HG-- extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%4031
This commit is contained in:
parent
6216069aa3
commit
367f76c103
20 changed files with 1709 additions and 2 deletions
|
@ -50,7 +50,7 @@ typedef struct SDL_SysWMinfo SDL_SysWMinfo;
|
|||
|
||||
/* This is the structure for custom window manager events */
|
||||
#if (defined(unix) || defined(__unix__) || defined(_AIX)) && \
|
||||
(!defined(DISABLE_X11) && !defined(__CYGWIN32__))
|
||||
(defined(ENABLE_X11) && !defined(__CYGWIN32__))
|
||||
/* AIX is unix, of course, but the native compiler CSet doesn't define unix */
|
||||
#include <X11/Xlib.h>
|
||||
#include <X11/Xatom.h>
|
||||
|
@ -95,6 +95,21 @@ typedef struct {
|
|||
} info;
|
||||
} SDL_SysWMinfo;
|
||||
|
||||
#elif defined(ENABLE_NANOX)
|
||||
#include <microwin/nano-X.h>
|
||||
|
||||
/* The generic custom event structure */
|
||||
struct SDL_SysWMmsg {
|
||||
SDL_version version;
|
||||
int data;
|
||||
};
|
||||
|
||||
/* The windows custom window manager information structure */
|
||||
typedef struct {
|
||||
SDL_version version ;
|
||||
GR_WINDOW_ID window ; /* The display window */
|
||||
} SDL_SysWMinfo;
|
||||
|
||||
#elif defined(WIN32)
|
||||
#include <windows.h>
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue