Results 1 - 25 of 52 results out of about 6839 pages. (4.37 seconds)
- SDL_Event . . . 13 matches
- ...
= SDL_Event =
A union that contains structures for the different event types.
<<TableOfContents()>>
== Data Fields ==
||Uint32||'''type'''||event type, shared with all events|...
- SDL_EventState . . . 4 matches
- ...
= SDL_EventState =
Use this function to set the state of processing events by type.
<<TableOfContents()>>
== Syntax ==
{{{#!highlight cpp
Uint8 SDL_EventState(Uint32 type,
...
- SDL_EventType . . . 3 matches
- ...
= SDL_EventType =
An enumeration of the types of events that can be delivered.
<<TableOfContents()>>
== Values ==
||<style="color: #808080;">SDL_FIRSTEVENT||<style="color: #80...
- SGStructures . . . 11 matches
- ...ure` with the word `union` where appropriate throughout the page.||
||''Example'': [[SDL_Event]]||
||<( |2 30%>''If'' __another API page__ is referenced in the description||''Acti...
- SGEnumerations . . . 11 matches
- ...dress of the page.
''Example'': The page address {{{http://wiki.libsdl.org/moin.cgi/SDL_EventType}}} should have matching title {{{SDL_EventType}}} and describe the [[SDL_EventTy...
- MigrationGuide . . . 10 matches
- ...concern. Note that on Unix platforms, SDL still catches `SIGINT` and maps it to an [[SDL_EventType|SDL_QUIT]] event.
=== Video ===
==== Setting up a game with the new video API ...
- GuiaDeMigracion . . . 10 matches
- ... en plataformas Unix, SDL sigue interceptando `SIGINT` y lo convierte en un evento [[SDL_EventType|SDL_QUIT]].
=== Video ===
==== Configurando la nueva API de video ====
La API ...
- SDL_DropEvent . . . 7 matches
- ..."
int main(int argc, char *argv[]) {
SDL_bool done;
SDL_Window *window;
SDL_Event event; // Declare event handle
char* dropped_filedir; ...
- SDL_WindowEvent . . . 5 matches
- ...ata||
== Code Examples ==
##Example1 Start
{{{#!highlight cpp
void PrintEvent(const SDL_Event * event)
{
if (event->type == SDL_WINDOWEVENT) {
switch (event->window.e...
- SDL_SysWMEvent . . . 5 matches
- ...here
}}}
== Remarks ==
This event is disabled by default. You can enable it with [[SDL_EventState]](). You are encouraged to avoid this if you can find a less platform-specific...
- SDL_QuitEvent . . . 5 matches
- ...2||'''timestamp'''||timestamp of the event||
== Code Examples ==
{{{#!highlight cpp
SDL_Event e;
for (;;) {
SDL_PollEvent(&e);
if (e.type == SDL_QUIT) {
SDL_Log("...
- SDL_SetEventFilter . . . 4 matches
- ...eue.
<<TableOfContents()>>
== Syntax ==
{{{#!highlight cpp
void SDL_SetEventFilter(SDL_EventFilter filter,
void* userdata)
}}}
== Function Par...
- SDL_PollEvent . . . 4 matches
- ...ng events.
<<TableOfContents()>>
== Syntax ==
{{{#!highlight cpp
int SDL_PollEvent(SDL_Event* event)
}}}
== Function Parameters ==
||'''event'''||the [[SDL_Event]] structure to...
- SDL_MouseWheelEvent . . . 4 matches
- ...arks|Remarks]] for details (>= SDL 2.0.4)||
== Code Examples ==
{{{#!highlight cpp
SDL_Event event;
while( SDL_PollEvent( &event ) )
{
if(event.type == SDL_MOUSEWHEEL)
{...
- CategoryEvents . . . 4 matches
- ... Handling =
'''Include File(s):''' [[http://hg.libsdl.org/SDL/file/default/include/SDL_events.h|SDL_events.h]]
<<TableOfContents()>>
== Introduction ==
Event handling allows y...
- SDL_WaitEventTimeout . . . 3 matches
- ...nt.
<<TableOfContents()>>
== Syntax ==
{{{#!highlight cpp
int SDL_WaitEventTimeout(SDL_Event* event,
int timeout)
}}}
== Function Parameters ==
...
- SDL_WaitEvent . . . 3 matches
- ...ble event.
<<TableOfContents()>>
== Syntax ==
{{{#!highlight cpp
int SDL_WaitEvent(SDL_Event* event)
}}}
== Function Parameters ==
||'''event'''||the [[SDL_Event]] structure to...
- SDL_UserEvent . . . 3 matches
- ...p
Uint32 myEventType = SDL_RegisterEvents(1);
if (myEventType != ((Uint32)-1)) {
SDL_Event event;
SDL_memset(&event, 0, sizeof(event)); /* or SDL_zero(event) */
event....
- SDL_TouchFingerEvent . . . 3 matches
- ...r code example here
}}}
== Remarks ==
[[SDL_TouchFingerEvent]] is a member of the [[SDL_Event]] union and is used when an event of type SDL_FINGERMOTION, SDL_FINGERDOWN, or SDL_F...
- SDL_TextInputEvent . . . 3 matches
- ...our code example here
}}}
== Remarks ==
[[SDL_TextInputEvent]] is a member of the [[SDL_Event]] union and is used when an event of type SDL_TEXTINPUT is reported. You would acces...
- SDL_TextEditingEvent . . . 3 matches
- ...r code example here
}}}
== Remarks ==
[[SDL_TextEditingEvent]] is a member of the [[SDL_Event]] union and is used when an event of type SDL_TEXTEDITING is reported. You would ac...
- SDL_PushEvent . . . 3 matches
- ...ent queue.
<<TableOfContents()>>
== Syntax ==
{{{#!highlight cpp
int SDL_PushEvent(SDL_Event* event)
}}}
== Function Parameters ==
||'''event'''|| the [[SDL_Event]] to be added...
- SDL_MultiGestureEvent . . . 3 matches
- ... code example here
}}}
== Remarks ==
[[SDL_MultiGestureEvent]] is a member of the [[SDL_Event]] union and is used when an event of type SDL_MULTIGESTURE is reported. You would ac...
- SDL_MouseMotionEvent . . . 3 matches
- ...r code example here
}}}
== Remarks ==
[[SDL_MouseMotionEvent]] is a member of the [[SDL_Event]] union and is used when an event of type SDL_MOUSEMOTION is reported. You would ac...
- SDL_MouseButtonEvent . . . 3 matches
- ...r code example here
}}}
== Remarks ==
[[SDL_MouseButtonEvent]] is a member of the [[SDL_Event]] union and is used when an event of type SDL_MOUSEBUTTONDOWN or SDL_MOUSEBUTTONUP i...
