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.
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.
SDL | SDL wrapper class |
SDLColor | Storage for RGB values |
SDLError | Class used to notify SDL exceptions. |
SDLEventType | Enumeration of SDL event types. |
SDLK | Enumeration for SDL Scan Key codes. |
SDLKMOD | Enumeration for SDL Key Modifiers. |
SDLMouseState | Allows querying of current mouse status. |
SDLPalette | Represents the palette of a surface |
SDLPixelFormat | Encapsulates SDL_PixelFormat structure. |
SDLRect | Storage for rectangular coordinates. |
SDLScreen | Screen oriented SDL surface. |
SDLSurface | Encapsulates SDL_Surface structures and provides related services. |
SDLVideoInfo | Encapsulate a video info. |
onQuit | Quit requested event. |
sdl_Active | Application visibility event handler. |
sdl_Expose | Window exposition (need redraw) notification. |
sdl_JoyAxisMotion | Joystick axis motion event handler |
sdl_JoyBallMotion | Joystick trackball motion event handler |
sdl_JoyButtonDown | Joystick button event handler |
sdl_JoyButtonUp | Joystick button event handler |
sdl_JoyHatMotion | Joystick hat position change event handler |
sdl_KeyDown | Keyboard key down event handler. |
sdl_KeyUp | Keyboard key down event handler. |
sdl_MouseButtonDown | Mouse button event handler |
sdl_MouseButtonUp | Mouse button event handler |
sdl_MouseMotion | Mouse motion event handler |
sdl_Resize | Window resize event handler |