Curso de introducción a videojuegos multiplataforma con SDL
Curso de introducción a videojuegos multiplataforma con SDL
Curso de introducción a videojuegos multiplataforma con SDL
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
<strong>Curso</strong> <strong>de</strong> <strong>introducción</strong> a vi<strong>de</strong>ojuegos <strong>multiplataforma</strong> <strong>con</strong> <strong>SDL</strong><br />
Eventos <strong>de</strong>l gestor <strong>de</strong><br />
© 2004 – Bruno González (STenyaK)<br />
Pablo Orduña (NcTrun)<br />
ventanas - IV<br />
● El <strong>SDL</strong>_ActiveEvent tiene 3 datos:<br />
– Uint8 type (siempre <strong>SDL</strong>_ACTIVEEVENT)<br />
– Uint8 gain (1 = gana, 0 = pier<strong>de</strong>)<br />
– Uint8 state (<strong>SDL</strong>_APPMOUSEFOCUS es si<br />
el ratón apunta o no a la ventana,<br />
<strong>SDL</strong>_APPINPUTFOCUS es si la ventana<br />
activa es la <strong>de</strong> nuestro programa)<br />
e-ghost – ESIDE – Universidad <strong>de</strong> Deusto