Public Member Functions | Private Member Functions | Private Attributes

DebugWindow Class Reference

A special debug case of Window. More...

#include <DebugWindow.h>

Inheritance diagram for DebugWindow:
Window Control Broadcaster Listener

List of all members.

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
LabellblRenderer
LabellblRendererName
LabellblResolution
LabellblDriverName
LabellblFps
LabellblFpsCount

Detailed Description

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.


Constructor & Destructor Documentation

DebugWindow::DebugWindow ( const std::string &  titlebar,
int  x,
int  y 
)
DebugWindow::~DebugWindow (  ) 

Member Function Documentation

void DebugWindow::windowInit (  )  [private, virtual]

Instructs derived Window objects to initialize themselves.

Note:
This function must be overridden in derived objects.

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.

Note:
This function must be overridden in derived objects.

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.


Member Data Documentation

FPS Labels


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines