Added initial support for RISC OS (thanks Peter Naulls!)

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40631
This commit is contained in:
Sam Lantinga 2003-05-29 04:44:13 +00:00
parent 35f9bbcbd6
commit e8ce0bc197
29 changed files with 4002 additions and 5 deletions

View file

@ -130,6 +130,23 @@ typedef struct {
HGLRC hglrc; /* The OpenGL context, if any */
} SDL_SysWMinfo;
#elif defined(__riscos__)
/* RISC OS custom event structure */
struct SDL_SysWMmsg {
SDL_version version;
int eventCode; /* The window for the message */
int pollBlock[64];
};
/* The RISCOS custom window manager information structure */
typedef struct {
SDL_version version;
int wimpVersion; /* Wimp version running under */
int taskHandle; /* The RISCOS task handle */
int window; /* The RISCOS display window */
} SDL_SysWMinfo;
#else
/* The generic custom event structure */