platform.sdlplatform - ICE 0.1 API documentation

ICE 0.1 API documentation

# platform.sdlplatform

SDL platform implementation.

class SDLPlatform: platform.platform.Platform;

  Platform implementation based on SDL 1.2 .

  this();

    Construct an SDLPlatform.

    Initializes SDL.

    Throws:
    PlatformException on failure.
  package void processKey(const SDL_KeyboardEvent event);

    Process a keyboard event.

  package void processMouseKey(const SDL_MouseButtonEvent event);

    Process a mouse button event.

  package void processMouseMotion(const SDL_MouseMotionEvent event);

    Process a mouse motion event.

Copyright © Ferdinand Majerech 2011. | Page generated by AutoDDoc and Ddoc.