comparison include/SDL_syswm.h @ 630:550bccdf04bd

Added initial support for RISC OS (thanks Peter Naulls!)
author Sam Lantinga <slouken@libsdl.org>
date Thu, 29 May 2003 04:44:13 +0000
parents 26dafefeebb2
children b8d311d90021
comparison
equal deleted inserted replaced
629:3fa401bb4bb5 630:550bccdf04bd
128 SDL_version version; 128 SDL_version version;
129 HWND window; /* The Win32 display window */ 129 HWND window; /* The Win32 display window */
130 HGLRC hglrc; /* The OpenGL context, if any */ 130 HGLRC hglrc; /* The OpenGL context, if any */
131 } SDL_SysWMinfo; 131 } SDL_SysWMinfo;
132 132
133 #elif defined(__riscos__)
134
135 /* RISC OS custom event structure */
136 struct SDL_SysWMmsg {
137 SDL_version version;
138 int eventCode; /* The window for the message */
139 int pollBlock[64];
140 };
141
142 /* The RISCOS custom window manager information structure */
143 typedef struct {
144 SDL_version version;
145 int wimpVersion; /* Wimp version running under */
146 int taskHandle; /* The RISCOS task handle */
147 int window; /* The RISCOS display window */
148 } SDL_SysWMinfo;
149
133 #else 150 #else
134 151
135 /* The generic custom event structure */ 152 /* The generic custom event structure */
136 struct SDL_SysWMmsg { 153 struct SDL_SysWMmsg {
137 SDL_version version; 154 SDL_version version;