Module The SDL Falcon Module.

Main module for the Falcon SDL module suite.

This is the base of the falcon SDL subsystem. The SDL library can be found at http://www.libsdl.org.

Forewords

The SDL Falcon module tries to stick with SDL interface and conventions whenever possible. However, in some cases where Falcon programming language provides structures and solutions that are better suited to perform certain tasks, the interface may diverge from the original one.

The most significative case is the SDLSurface class and its derived classes that encapsulate many of the SDL operations that are menat to be performed on surfaces and screens.

Also, event structures are not directly exposed to the Falcon programs; instead, they are reported through callbacks. In fact, callbacks and parameter expansion is several time faster than the creation of a Falcon object that should be then inspected and eventually marshalled.

Classes

SDLSDL wrapper class
SDLColorStorage for RGB values
SDLErrorClass used to notify SDL exceptions.
SDLEventTypeEnumeration of SDL event types.
SDLKEnumeration for SDL Scan Key codes.
SDLKMODEnumeration for SDL Key Modifiers.
SDLMouseStateAllows querying of current mouse status.
SDLPaletteRepresents the palette of a surface
SDLPixelFormatEncapsulates SDL_PixelFormat structure.
SDLRectStorage for rectangular coordinates.
SDLScreenScreen oriented SDL surface.
SDLSurfaceEncapsulates SDL_Surface structures and provides related services.
SDLVideoInfoEncapsulate a video info.

Messages

onQuitQuit requested event.
sdl_ActiveApplication visibility event handler.
sdl_ExposeWindow exposition (need redraw) notification.
sdl_JoyAxisMotionJoystick axis motion event handler
sdl_JoyBallMotionJoystick trackball motion event handler
sdl_JoyButtonDownJoystick button event handler
sdl_JoyButtonUpJoystick button event handler
sdl_JoyHatMotionJoystick hat position change event handler
sdl_KeyDownKeyboard key down event handler.
sdl_KeyUpKeyboard key down event handler.
sdl_MouseButtonDownMouse button event handler
sdl_MouseButtonUpMouse button event handler
sdl_MouseMotionMouse motion event handler
sdl_ResizeWindow resize event handler

Made with faldoc 2.0.0