A special debug case of Window. More...
#include <DebugWindow.h>
Public Member Functions | |
| DebugWindow (const std::string &titlebar, int x, int y) | |
| ~DebugWindow () | |
Private Member Functions | |
| void | windowInit () |
| Instructs derived Window objects to initialize themselves. | |
| void | windowLogic () |
| Instructs derived Window objects to perform their logic. | |
Private Attributes | |
| FpsCounter | mFps |
| Label * | lblRenderer |
| Label * | lblRendererName |
| Label * | lblResolution |
| Label * | lblDriverName |
| Label * | lblFps |
| Label * | lblFpsCount |
A special debug case of Window.
DebugWindow is a special case of a Window Control used to present different pieces of information to aid in the development of The Legend of Mazzeroth.
This Control should only be visible/usable in Debug builds of the Client.
| DebugWindow::DebugWindow | ( | const std::string & | titlebar, | |
| int | x, | |||
| int | y | |||
| ) |
| DebugWindow::~DebugWindow | ( | ) |
| void DebugWindow::windowInit | ( | ) | [private, virtual] |
Instructs derived Window objects to initialize themselves.
When deriving a Window Control, windowInit() must be overridden. This is the function where one would create and add new Control objects as well as specify various attributes such as color, size, position, etc.
Reimplemented from Window.
| void DebugWindow::windowLogic | ( | ) | [private, virtual] |
Instructs derived Window objects to perform their logic.
During every GUI update cycle, windowLogic() is called to allow derived Window objects to perform logic operations. This is the function where one would respond to events, perform calculations, etc.
Reimplemented from Window.
Label * DebugWindow::lblDriverName [private] |
Label* DebugWindow::lblFps [private] |
Label * DebugWindow::lblFpsCount [private] |
FPS Labels
Label* DebugWindow::lblRenderer [private] |
Label * DebugWindow::lblRendererName [private] |
Renderer Labels
Label* DebugWindow::lblResolution [private] |
FpsCounter DebugWindow::mFps [private] |
1.7.1