The fields of the Sdl class are listed below. For a complete list of Sdl class members, see the Sdl Members topic.
![]() ![]() | Signed 16-bit little-endian samples |
![]() ![]() | Signed 16-bit little-endian samples |
![]() ![]() | Signed 16-bit big-endian samples |
![]() ![]() | Signed 8-bit samples. |
![]() ![]() | Unsigned 16-bit little-endian samples |
![]() ![]() | Unsigned 16-bit little-endian samples. |
![]() ![]() | Unsigned 16-bit big-endian samples |
![]() ![]() | Unsigned 8-bit samples. |
![]() ![]() | An error occured while getting the status. |
![]() ![]() | Frames per second. |
![]() ![]() | The CD has been paused. |
![]() ![]() | The CD is playing. |
![]() ![]() | The CD has stopped playing. |
![]() ![]() | The CD tray is empty. |
![]() ![]() | Both ALT keys. |
![]() ![]() | Capslock is down |
![]() ![]() | Both CTRL keys. |
![]() ![]() | Left Alt is down |
![]() ![]() | Left Control is down |
![]() ![]() | Left Meta is down |
![]() ![]() | Left Shift is down |
![]() ![]() | Both META keys. |
![]() ![]() | |
![]() ![]() | No modifiers applicable |
![]() ![]() | Numlock is down |
![]() ![]() | Right Alt is down |
![]() ![]() | Right Control is down |
![]() ![]() | |
![]() ![]() | Right Meta is down |
![]() ![]() | Right Shift is down |
![]() ![]() | Both SHIFT keys. |
![]() ![]() | Seek relative to current read point |
![]() ![]() | Seek relative to the end of data |
![]() ![]() | Seek from the beginning of data |
![]() ![]() | Application loses/gains visibility |
![]() ![]() | |
![]() ![]() | If 'action' is SDL_ADDEVENT, up to 'numevents' events will be added to the back of the event queue. |
![]() ![]() | This is the mask which refers to all hotkey bindings. |
![]() ![]() | This is the mask which refers to all hotkey bindings. |
![]() ![]() | Transparency definition of Opaque |
![]() ![]() | Transparency definition of Transparent |
![]() ![]() | Allow any video depth/pixel-format |
![]() ![]() | The application is active |
![]() ![]() | The app has input focus |
![]() ![]() | The app has mouse coverage |
![]() ![]() | Use asynchronous blits if possible |
![]() ![]() | SDL_audiostatus. Get the current audio state |
![]() ![]() | SDL_audiostatus. Get the current audio state |
![]() ![]() | SDL_audiostatus. Get the current audio state |
![]() ![]() | The types of CD-ROM track possible |
![]() ![]() | Big Endian |
![]() ![]() | Used as a mask when testing buttons in buttonstate Button 1: Left mouse button |
![]() ![]() | |
![]() ![]() | Button 2: Middle mouse button |
![]() ![]() | |
![]() ![]() | Button 3: Right mouse button |
![]() ![]() | |
![]() ![]() | Button 5: Mouse wheel down (may also be a real button) |
![]() ![]() | Button 4: Mouse wheel up (may also be a real button) |
![]() ![]() | The types of CD-ROM track possible |
![]() ![]() | Enable/Disable keyboard repeat. Keyboard repeat defaults to off. 'delay' is the initial delay in ms between the time when a key is pressed, and keyboard repeat begins. |
![]() ![]() | Enable/Disable keyboard repeat. Keyboard repeat defaults to off. 'interval' is the time in ms between keyboard repeat events. |
![]() ![]() | |
![]() ![]() | Set up double-buffered video mode |
![]() ![]() | If 'state' is set to SDL_ENABLE, that event will be processed normally. |
![]() ![]() | Reserved for future use.. |
![]() ![]() | Reserved for future use.. |
![]() ![]() | Reserved for future use.. |
![]() ![]() | Reserved for future use.. |
![]() ![]() | Reserved for future use.. |
![]() ![]() | Reserved for future use.. |
![]() ![]() | Reserved for future use.. |
![]() ![]() | Reserved for future use.. |
![]() ![]() | |
![]() ![]() | Full screen display surface. |
![]() ![]() | If 'action' is SDL_GETEVENT, up to 'numevents' events at the front of the event queue, matching 'mask', will be returned and will be removed from the queue. |
![]() ![]() | Public enumeration for setting the OpenGL window Attributes |
![]() ![]() | Size of the accumulation buffer alpha component, in bits. Public enumeration for setting the OpenGL window Attributes |
![]() ![]() | Size of the accumulation buffer blue component, in bits. Public enumeration for setting the OpenGL window Attributes |
![]() ![]() | Size of the accumulation buffer green component, in bits. Public enumeration for setting the OpenGL window Attributes |
![]() ![]() | Size of the accumulation buffer red component, in bits. Public enumeration for setting the OpenGL window Attributes |
![]() ![]() | Size of the framebuffer alpha component, in bits Public enumeration for setting the OpenGL window Attributes |
![]() ![]() | Size of the framebuffer blue component, in bits Public enumeration for setting the OpenGL window Attributes |
![]() ![]() | Size of the framebuffer, in bits Public enumeration for setting the OpenGL window Attributes |
![]() ![]() | Size of the depth buffer, in bits Public enumeration for setting the OpenGL window Attributes |
![]() ![]() | 0 or 1, enable or disable double buffering Public enumeration for setting the OpenGL window Attributes |
![]() ![]() | Size of the framebuffer green component, in bits Public enumeration for setting the OpenGL window Attributes |
![]() ![]() | Public enumeration for setting the OpenGL window Attributes |
![]() ![]() | Public enumeration for setting the OpenGL window Attributes |
![]() ![]() | Size of the framebuffer red component, in bits Public enumeration for setting the OpenGL window Attributes |
![]() ![]() | Size of the stencil buffer, in bits. Public enumeration for setting the OpenGL window Attributes |
![]() ![]() | Public enumeration for setting the OpenGL window Attributes |
![]() ![]() | Public enumeration for setting the OpenGL window Attributes |
![]() ![]() | Input grab state. |
![]() ![]() | Input grab state. |
![]() ![]() | Input grab state. |
![]() ![]() | Input grab state. |
![]() ![]() | Indicates which position a joystick hat is pressed in |
![]() ![]() | |
![]() ![]() | |
![]() ![]() | |
![]() ![]() | |
![]() ![]() | |
![]() ![]() | |
![]() ![]() | |
![]() ![]() | |
![]() ![]() | Blit uses hardware acceleration |
![]() ![]() | Surface has exclusive palette |
![]() ![]() | Surface is in video memory |
![]() ![]() | If 'state' is set to SDL_IGNORE, that event will be automatically dropped from the event queue and will not event be filtered. |
![]() ![]() | The audio subsystem. |
![]() ![]() | The CD-ROM subsystem. |
![]() ![]() | Not supported on all OS's. |
![]() ![]() | All subsystems. These are the flags which may be passed to SDL_Init() -- you should specify the subsystems which you will be using in your application.. |
![]() ![]() | The joystick subsystem. |
![]() ![]() | Prevents SDL from catching fatal signals. |
![]() ![]() | The timer subsystem. |
![]() ![]() | The video subsystem. |
![]() ![]() | One of the most common video overlay formats. For an explanation of these pixel formats, see: http://www.webartz.com/fourcc/indexyuv.htm For information on the relationship between color spaces, see: http://www.neuro.sfc.keio.ac.jp/~aly/polygon/info/color-space-faq.html Planar mode: Y + U + V (3 planes) |
![]() ![]() | Joystick axis motion |
![]() ![]() | |
![]() ![]() | Joystick trackball motion |
![]() ![]() | |
![]() ![]() | Joystick button pressed |
![]() ![]() | |
![]() ![]() | Joystick button released |
![]() ![]() | |
![]() ![]() | |
![]() ![]() | Joystick hat position change |
![]() ![]() | |
![]() ![]() | Keys pressed |
![]() ![]() | |
![]() ![]() | |
![]() ![]() | Keys released |
![]() ![]() | |
![]() ![]() | Little Endian |
![]() ![]() | Flag for SDL_SetPalette() which represents a logical palette, which controls how blits are mapped to/from the surface. |
![]() ![]() | Major Version |
![]() ![]() | The maximum number of CD-ROM tracks on a disk |
![]() ![]() | Minor Version |
![]() ![]() | Full audio volume |
![]() ![]() | Mouse button pressed |
![]() ![]() | |
![]() ![]() | Mouse button released |
![]() ![]() | |
![]() ![]() | |
![]() ![]() | Mouse moved |
![]() ![]() | |
![]() ![]() | This is the timeout value which corresponds to never time out |
![]() ![]() | Synchronization functions which can time out return this value if they time out. |
![]() ![]() | Unused (do not remove) |
![]() ![]() | No window caption or edge frame |
![]() ![]() | This last event is only for bounding internal arrays It is the number of bits in the event mask datatype -- Uint32 |
![]() ![]() | Create an OpenGL rendering context |
![]() ![]() | Create an OpenGL rendering context and use it for blitting |
![]() ![]() | Patch Version |
![]() ![]() | If 'action' is SDL_PEEKEVENT, up to 'numevents' events at the front of the event queue, matching 'mask', will be returned and will not be removed from the queue. |
![]() ![]() | Flag for SDL_SetPalette() which represents a physical palette, which controls how pixels look on the screen. |
![]() ![]() | Surface uses preallocated memory |
![]() ![]() | Button in pressed state. |
![]() ![]() | If 'state' is set to SDL_QUERY, SDL_EventState() will return the current processing state of the specified event. |
![]() ![]() | User-requested quit |
![]() ![]() | |
![]() ![]() | Button in released state. |
![]() ![]() | This video mode may be resized |
![]() ![]() | Surface is RLE encoded |
![]() ![]() | Private flag |
![]() ![]() | Blit uses source alpha blending |
![]() ![]() | Blit uses a source color key |
![]() ![]() | Surface is in system memory |
![]() ![]() | |
![]() ![]() | System specific event |
![]() ![]() | |
![]() ![]() | The OS scheduler timeslice, in milliseconds. |
![]() ![]() | |
![]() ![]() | Events SDL_USEREVENT through SDL_MAXEVENTS-1 are for your use. |
![]() ![]() | One of the most common video overlay formats. For an explanation of these pixel formats, see: http://www.webartz.com/fourcc/indexyuv.htm For information on the relationship between color spaces, see: http://www.neuro.sfc.keio.ac.jp/~aly/polygon/info/color-space-faq.html Packed mode: U0+Y0+V0+Y1 (1 plane) |
![]() ![]() | Screen needs to be redrawn |
![]() ![]() | |
![]() ![]() | User resized video mode |
![]() ![]() | |
![]() ![]() | One of the most common video overlay formats. For an explanation of these pixel formats, see: http://www.webartz.com/fourcc/indexyuv.htm For information on the relationship between color spaces, see: http://www.neuro.sfc.keio.ac.jp/~aly/polygon/info/color-space-faq.html Packed mode: Y0+U0+Y1+V0 (1 plane) |
![]() ![]() | One of the most common video overlay formats. For an explanation of these pixel formats, see: http://www.webartz.com/fourcc/indexyuv.htm For information on the relationship between color spaces, see: http://www.neuro.sfc.keio.ac.jp/~aly/polygon/info/color-space-faq.html Planar mode: Y + V + U (3 planes) |
![]() ![]() | One of the most common video overlay formats. For an explanation of these pixel formats, see: http://www.webartz.com/fourcc/indexyuv.htm For information on the relationship between color spaces, see: http://www.neuro.sfc.keio.ac.jp/~aly/polygon/info/color-space-faq.html Packed mode: Y0+V0+Y1+U0 (1 plane) |
![]() ![]() | 0 |
![]() ![]() | 1 |
![]() ![]() | 2 |
![]() ![]() | 3 |
![]() ![]() | 4 |
![]() ![]() | 5 |
![]() ![]() | 6 |
![]() ![]() | 7 |
![]() ![]() | 8 |
![]() ![]() | 9 |
![]() ![]() | a |
![]() ![]() | ampersand. '&' |
![]() ![]() | asterisk. '*' |
![]() ![]() | at. '@' |
![]() ![]() | b |
![]() ![]() | grave. '`' |
![]() ![]() | backslash. '\' |
![]() ![]() | backspace. '\b' |
![]() ![]() | break |
![]() ![]() | c |
![]() ![]() | capslock |
![]() ![]() | caret. '^' |
![]() ![]() | clear |
![]() ![]() | colon. ':' |
![]() ![]() | comma. ';' |
![]() ![]() | Multi-key compose key |
![]() ![]() | d |
![]() ![]() | delete. '^?' |
![]() ![]() | dollar. '$' |
![]() ![]() | down arrow |
![]() ![]() | e |
![]() ![]() | end |
![]() ![]() | equals sign. '=' |
![]() ![]() | escape. '^[' |
![]() ![]() | Some european keyboards |
![]() ![]() | exclaim. '!' |
![]() ![]() | f |
![]() ![]() | F1 |
![]() ![]() | F10 |
![]() ![]() | F11 |
![]() ![]() | F12 |
![]() ![]() | F13 |
![]() ![]() | F14 |
![]() ![]() | F15 |
![]() ![]() | F2 |
![]() ![]() | F3 |
![]() ![]() | F4 |
![]() ![]() | F5 |
![]() ![]() | F6 |
![]() ![]() | F7 |
![]() ![]() | F8 |
![]() ![]() | F9 |
![]() ![]() | |
![]() ![]() | g |
![]() ![]() | greater-than sign. '>' |
![]() ![]() | h |
![]() ![]() | hash. '#' |
![]() ![]() | help |
![]() ![]() | home |
![]() ![]() | i |
![]() ![]() | insert |
![]() ![]() | j |
![]() ![]() | k |
![]() ![]() | keypad divide. '/' |
![]() ![]() | keypad enter. '\r' |
![]() ![]() | keypad equals. '=' |
![]() ![]() | keypad minus. '-' |
![]() ![]() | keypad multiply. '*' |
![]() ![]() | keypad period. '.' |
![]() ![]() | keypad plus. '+' |
![]() ![]() | keypad 0 |
![]() ![]() | keypad 1 |
![]() ![]() | keypad 2 |
![]() ![]() | keypad 3 |
![]() ![]() | keypad 4 |
![]() ![]() | keypad 5 |
![]() ![]() | keypad 6 |
![]() ![]() | keypad 7 |
![]() ![]() | keypad 8 |
![]() ![]() | keypad 9 |
![]() ![]() | l |
![]() ![]() | left alt |
![]() ![]() | |
![]() ![]() | left ctrl |
![]() ![]() | left arrow |
![]() ![]() | left bracket. '[' |
![]() ![]() | left parenthesis. '(' |
![]() ![]() | less-than sign. '<' |
![]() ![]() | left meta |
![]() ![]() | left shift |
![]() ![]() | Left "Windows" key |
![]() ![]() | m |
![]() ![]() | menu |
![]() ![]() | minus sign. '-' |
![]() ![]() | "Alt Gr" key. Mode key |
![]() ![]() | n |
![]() ![]() | numlock |
![]() ![]() | o |
![]() ![]() | p |
![]() ![]() | page down |
![]() ![]() | page up |
![]() ![]() | pause |
![]() ![]() | period. '.' |
![]() ![]() | plus sign. '+' |
![]() ![]() | Power Macintosh power key |
![]() ![]() | print-screen |
![]() ![]() | q |
![]() ![]() | question mark. '?' |
![]() ![]() | quote. ''' |
![]() ![]() | quotedbl. '"' |
![]() ![]() | r |
![]() ![]() | right alt |
![]() ![]() | right ctrl |
![]() ![]() | return. '\r' |
![]() ![]() | right arrow |
![]() ![]() | right bracket. ']' |
![]() ![]() | right parenthesis. ')' |
![]() ![]() | right meta |
![]() ![]() | right shift |
![]() ![]() | Right "Windows" key |
![]() ![]() | s |
![]() ![]() | scrollock |
![]() ![]() | semicolon. ';' |
![]() ![]() | forward slash. '/' |
![]() ![]() | space. ' ' |
![]() ![]() | SysRq |
![]() ![]() | t |
![]() ![]() | tab. '\t' |
![]() ![]() | u |
![]() ![]() | underscore.'_' |
![]() ![]() | Atari keyboard has Undo |
![]() ![]() | |
![]() ![]() | up arrow |
![]() ![]() | v |
![]() ![]() | w |
![]() ![]() | 0xA0 |
![]() ![]() | |
![]() ![]() | |
![]() ![]() | |
![]() ![]() | |
![]() ![]() | |
![]() ![]() | |
![]() ![]() | |
![]() ![]() | |
![]() ![]() | |
![]() ![]() | |
![]() ![]() | |
![]() ![]() | |
![]() ![]() | |
![]() ![]() | |
![]() ![]() | |
![]() ![]() | |
![]() ![]() | |
![]() ![]() | |
![]() ![]() | |
![]() ![]() | |
![]() ![]() | |
![]() ![]() | |
![]() ![]() | |
![]() ![]() | |
![]() ![]() | |
![]() ![]() | |
![]() ![]() | |
![]() ![]() | |
![]() ![]() | |
![]() ![]() | |
![]() ![]() | |
![]() ![]() | |
![]() ![]() | |
![]() ![]() | |
![]() ![]() | |
![]() ![]() | |
![]() ![]() | |
![]() ![]() | |
![]() ![]() | |
![]() ![]() | |
![]() ![]() | |
![]() ![]() | |
![]() ![]() | |
![]() ![]() | |
![]() ![]() | |
![]() ![]() | |
![]() ![]() | |
![]() ![]() | |
![]() ![]() | |
![]() ![]() | |
![]() ![]() | |
![]() ![]() | |
![]() ![]() | |
![]() ![]() | |
![]() ![]() | |
![]() ![]() | |
![]() ![]() | |
![]() ![]() | |
![]() ![]() | |
![]() ![]() | |
![]() ![]() | |
![]() ![]() | |
![]() ![]() | |
![]() ![]() | |
![]() ![]() | |
![]() ![]() | |
![]() ![]() | |
![]() ![]() | |
![]() ![]() | |
![]() ![]() | |
![]() ![]() | |
![]() ![]() | |
![]() ![]() | |
![]() ![]() | |
![]() ![]() | |
![]() ![]() | |
![]() ![]() | |
![]() ![]() | |
![]() ![]() | |
![]() ![]() | |
![]() ![]() | |
![]() ![]() | |
![]() ![]() | |
![]() ![]() | |
![]() ![]() | |
![]() ![]() | |
![]() ![]() | |
![]() ![]() | |
![]() ![]() | |
![]() ![]() | |
![]() ![]() | |
![]() ![]() | |
![]() ![]() | |
![]() ![]() | |
![]() ![]() | 0xFF |
![]() ![]() | x |
![]() ![]() | y |
![]() ![]() | z |
![]() ![]() | The maximum resolution of the SDL timer on all platforms. |