#include <gamewindow.h>
Public Member Functions | |
GameWindow () | |
Constructor. | |
virtual | ~GameWindow () |
Destructor. | |
void | InitVideo () |
bool | IsInitialized () const |
void | SetBackground (GXColor bgcolor) |
void | Flush () |
Finishes rendering. |
void wsp::GameWindow::InitVideo | ( | ) |
Initializes the whole video subsystem. Should be the first command called with the library.
bool wsp::GameWindow::IsInitialized | ( | ) | const |
Checks if the video subsystem is already initialized.
void wsp::GameWindow::SetBackground | ( | GXColor | bgcolor | ) |
Sets the background clear color
bgcolor | is a GXColor containing r, g, b and a. |