|
NAMESDLmm - The namespace for the SDLmm library.SYNOPSISCompoundsclass SDLmm::Audio class SDLmm::BaseSurface An abstract base class for graphical surfaces. class SDLmm::CD class SDLmm::ColorRGB A small usefull class representing an RGB color. class SDLmm::ColorRGBA A small usefull class representing an RGBA color. class SDLmm::Display The video frame buffer surface. class SDLmm::Event The general Event class. class SDLmm::EventHandler The base class used for custom Event handlers. class SDLmm::Joystick class SDLmm::PixelFormat class SDLmm::SPoint A small usefull class representing a point in 2 dimensional space. class SDLmm::SRect This enhanced version of SDL_Rect includes a number of handy short-hand constructors. Since the class is derived from the SDL_Rect struct, it can be used in any context where an SDL_Rect is valid. class SDLmm::Surface A graphical surface structure which is used to store graphical data. class SDLmm::Timer class SDLmm::VideoInfo Video target information. Typedefstypedef Uint32 Color Functionsbool Init (Uint32 flags) Initializes SDL. void Quit () Shut down SDL. Uint32 WasInit (Uint32 flags) Check which subsystems are initialized. const char* GetError () Get the latest error message. const char* version () Return the SDLmm library version. DETAILED DESCRIPTIONThe namespace for the SDLmm library.TYPEDEF DOCUMENTATIONtypedef Uint32 SDLmm::ColorFUNCTION DOCUMENTATIONconst char * SDLmm::GetError ()Get the latest error message.Returns:
bool SDLmm::Init (Uint32 flags)Initializes SDL.This method should be called before utilizing any other SDL or SDLmm functionality. The flags parameter specifies what part(s) of SDL to initialize (see the SDL documentation for details). Parameters:
Returns:
Note:
void SDLmm::Quit ()Shut down SDL.Quit() shuts down all SDL subsystems and frees the resources allocated to them. This should always be called before you exit. For the sake of simplicity you can set Quit() as your atexit call, like this: SDLmm::Init(SDL_INIT_VIDEO|SDL_INIT_AUDIO); atexit(SDLmm::Quit); Uint32 SDLmm::WasInit (Uint32 flags)Check which subsystems are initialized.This allows you to see which SDL subsytems have been initialized. Parameters:
Returns:
const char * SDLmm::version ()Return the SDLmm library version.AUTHORGenerated automatically by Doxygen for SDLmm from the source code.
Visit the GSP FreeBSD Man Page Interface. |