#include <gamewindow.h>
Public Member Functions | |
| GameWindow () | |
| Constructor. | |
| virtual | ~GameWindow () |
| Destructor. Does call StopVideo() automatically. | |
| void | InitVideo () |
| void | StopVideo () |
| Shuts the video subsystem down. It won't work if Video wasn't initialized before. | |
| void | SetBackground (GXColor bgcolor) |
| void | Flush () |
| Finishes rendering. | |
Static Public Member Functions | |
| static bool | IsInitialized () |
| static u32 | GetWidth () |
| static u32 | GetHeight () |
Friends | |
| class | Image |
| void wsp::GameWindow::InitVideo | ( | ) |
Initializes the whole video subsystem. Should be the first command called with the library.
| static bool wsp::GameWindow::IsInitialized | ( | ) | [static] |
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. |
| static u32 wsp::GameWindow::GetWidth | ( | ) | [static] |
Gets the width of the screen.
| static u32 wsp::GameWindow::GetHeight | ( | ) | [static] |
Gets the height of the screen.
1.5.5