SDLMANAGER Class Reference

SDLMANAGER class. More...

#include <sdlmanager.hpp>


Static Public Member Functions

static void initSDL (uint32_t width, uint32_t height, uint32_t bpp, int fullscr_flag)
 Initialize SDL system.
static int resize_screen (int new_w, int new_h)
 Handles window-resize.
static __forceinline void getinput (void)
 Get mouse- and keyboard input.


Detailed Description

SDLMANAGER class.


Member Function Documentation

static void SDLMANAGER::initSDL ( uint32_t  width,
uint32_t  height,
uint32_t  bpp,
int  fullscr_flag 
) [inline, static]

Initialize SDL system.

Parameters:
width The width of the video-window.
height The height of the video-window.
bpp The color-depth (in bits per pixel) of the video-window.
fullscr_flag Flag that indicates if the output-window is to be fullscreen or not.

static int SDLMANAGER::resize_screen ( int  new_w,
int  new_h 
) [inline, static]

Handles window-resize.

Parameters:
new_w The new width.
new_h The new height.
Returns:
Returns 0 on success and -1 if an error occurs.


The documentation for this class was generated from the following file:
Generated on Tue Jun 26 04:22:56 2007 for YAZAPA - yet another zooming and panning application by  doxygen 1.4.7