#include "SDL.h"
#include "DemoConfig.h"
Go to the source code of this file.
Functions | |
GuiWrapper | gui (&handler) |
bool | InitSDL () |
void | RenderScene () |
void | ResizeWindow (int width, int height) |
int | main (int argc, char *argv[]) |
Variables | |
DemoEventHandler | handler |
unsigned int | oldTime = 0 |
GuiWrapper gui | ( | & | handler | ) |
bool InitSDL | ( | ) |
int main | ( | int | argc, | |
char * | argv[] | |||
) |
Definition at line 16 of file SdlDemo.cpp.
References GuiWrapper::AsciiKeyDown(), gui(), GuiWrapper::Init(), InitSDL(), GuiWrapper::MouseClicked(), GuiWrapper::MouseMoved(), RenderScene(), and ResizeWindow().
void RenderScene | ( | ) |
void ResizeWindow | ( | int | width, | |
int | height | |||
) |
Definition at line 147 of file SdlDemo.cpp.
References gui(), and GuiWrapper::SetDimensions().
Referenced by main().
Definition at line 6 of file SdlDemo.cpp.
unsigned int oldTime = 0 |
Definition at line 8 of file SdlDemo.cpp.