#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. |
static void SDLMANAGER::initSDL | ( | uint32_t | width, | |
uint32_t | height, | |||
uint32_t | bpp, | |||
int | fullscr_flag | |||
) | [inline, static] |
Initialize SDL system.
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.
new_w | The new width. | |
new_h | The new height. |