demos/SdlDemo.cpp File Reference

#include "SDL.h"
#include "DemoConfig.h"

Include dependency graph for SdlDemo.cpp:

Go to the source code of this file.


GuiWrapper gui (&handler)
bool InitSDL ()
void RenderScene ()
void ResizeWindow (int width, int height)
int main (int argc, char *argv[])


DemoEventHandler handler
unsigned int oldTime = 0

Function Documentation

GuiWrapper gui ( handler  ) 

bool InitSDL (  ) 

Definition at line 129 of file SdlDemo.cpp.

Referenced by main().

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().

Variable Documentation

DemoEventHandler handler

Definition at line 6 of file SdlDemo.cpp.

unsigned int oldTime = 0

Definition at line 8 of file SdlDemo.cpp.

Generated on Wed Dec 5 20:32:03 2007 for GLWX by  doxygen 1.5.3