include/SDL_syswm.h
changeset 630 550bccdf04bd
parent 471 26dafefeebb2
child 769 b8d311d90021
     1.1 --- a/include/SDL_syswm.h	Thu May 29 04:37:17 2003 +0000
     1.2 +++ b/include/SDL_syswm.h	Thu May 29 04:44:13 2003 +0000
     1.3 @@ -130,6 +130,23 @@
     1.4  	HGLRC hglrc;			/* The OpenGL context, if any */
     1.5  } SDL_SysWMinfo;
     1.6  
     1.7 +#elif defined(__riscos__)
     1.8 +
     1.9 +/* RISC OS custom event structure */
    1.10 +struct SDL_SysWMmsg {
    1.11 +	SDL_version version;
    1.12 +	int eventCode;		/* The window for the message */
    1.13 +	int pollBlock[64];
    1.14 +};
    1.15 +
    1.16 +/* The RISCOS custom window manager information structure */
    1.17 +typedef struct {
    1.18 +	SDL_version version;
    1.19 +	int wimpVersion;    /* Wimp version running under */
    1.20 +	int taskHandle;     /* The RISCOS task handle */
    1.21 +	int window;			/* The RISCOS display window */
    1.22 +} SDL_SysWMinfo;
    1.23 +
    1.24  #else
    1.25  
    1.26  /* The generic custom event structure */