SDL
Description:
Content:
Namespaces:
Classes:
Structs:
- AudioDeviceEvent
- CommonEvent
- ControllerAxisEvent
- ControllerButtonEvent
- ControllerDeviceEvent
- DollarGestureEvent
- DropEvent
- Event
- JoyAxisEvent
- JoyBallEvent
- JoyButtonEvent
- JoyDeviceEvent
- JoyHatEvent
- KeyboardEvent
- MouseButtonEvent
- MouseMotionEvent
- MouseWheelEvent
- MultiGestureEvent
- OSEvent
- QuitEvent
- SysWMEvent
- TextEditingEvent
- TextInputEvent
- Timer
- TouchFingerEvent
- UserEvent
- Version
- WindowEvent
Enums:
- ErrorCode
- EventAction
- EventState
- EventType
- HatValue
- InitFlag - These flags can be OR'd together.
- MouseWheelDirection
- PowerState
- RWFlags
- ThreadPriority
- WindowEventType
Delegates:
- public delegate int EventFilter (ref Event ev)
- public delegate int ThreadFunction ()
- public delegate uint32 TimerFunc (uint32 interval)
Functions:
- public void clear_error ()
- public void emit_error (ErrorCode code)
- public unowned string get_error ()
- public uint32 get_initialized (uint32 flags)
Use this function to return a mask of the specified subsystems which have previously been initialized.
- public PowerState get_power_info (out int seconds_left, out int percentage_left)
- public int init (uint32 flags = EVERYTHING)
Use this function to initialize the SDL library. This must be called before using any other SDL function.
- public int init_subsystem (uint32 flags)
Use this function to initialize specific SDL subsystems.
- public void quit ()
Use this function to clean up all initialized subsystems. You should call it upon all exit conditions.
- public void quit_subsystem (uint32 flags)
Use this function to shut down specific SDL subsystems.
- public int set_error (string format, ...)