RigsofRods
Soft-body Physics Simulation
Data Structures | Public Member Functions | Protected Types | Protected Member Functions | Protected Attributes
RoR::DashBoard Class Reference

#include <DashBoardManager.h>

+ Collaboration diagram for RoR::DashBoard:

Data Structures

struct  layoutLink_t
 

Public Member Functions

 DashBoard (DashBoardManager *manager, Ogre::String filename, bool textureLayer)
 
 ~DashBoard ()
 
void setVisible (bool visible, bool smooth=true)
 
bool getVisible ()
 
bool getIsTextureLayer ()
 
void update (float dt)
 
void updateFeatures ()
 
void windowResized ()
 

Protected Types

enum  {
  ANIM_NONE, ANIM_ROTATE, ANIM_SCALE, ANIM_TEXTFORMAT,
  ANIM_TEXTSTRING, ANIM_LAMP, ANIM_SERIES, ANIM_TRANSLATE,
  ANIM_TEXTCOLOR
}
 
enum  {
  DIRECTION_NONE, DIRECTION_UP, DIRECTION_RIGHT, DIRECTION_DOWN,
  DIRECTION_LEFT
}
 
enum  { CONDITION_NONE, CONDITION_GREATER, CONDITION_LESSER }
 
typedef struct RoR::DashBoard::layoutLink_t layoutLink_t
 

Protected Member Functions

void loadLayoutInternal ()
 
void loadLayoutRecursive (MyGUI::WidgetPtr ptr)
 

Protected Attributes

DashBoardManagermanager
 
Ogre::String filename
 
MyGUI::VectorWidgetPtr widgets
 
MyGUI::WindowPtr mainWidget
 
bool visible
 
bool textureLayer
 
std::string prefix
 
layoutLink_t controls [MAX_CONTROLS]
 
int free_controls
 

Detailed Description

Definition at line 248 of file DashBoardManager.h.

Member Typedef Documentation

◆ layoutLink_t

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
protected
Enumerator
ANIM_NONE 
ANIM_ROTATE 
ANIM_SCALE 
ANIM_TEXTFORMAT 
ANIM_TEXTSTRING 
ANIM_LAMP 
ANIM_SERIES 
ANIM_TRANSLATE 
ANIM_TEXTCOLOR 

Definition at line 272 of file DashBoardManager.h.

◆ anonymous enum

anonymous enum
protected
Enumerator
DIRECTION_NONE 
DIRECTION_UP 
DIRECTION_RIGHT 
DIRECTION_DOWN 
DIRECTION_LEFT 

Definition at line 285 of file DashBoardManager.h.

◆ anonymous enum

anonymous enum
protected
Enumerator
CONDITION_NONE 
CONDITION_GREATER 
CONDITION_LESSER 

Definition at line 294 of file DashBoardManager.h.

Constructor & Destructor Documentation

◆ DashBoard()

DashBoard::DashBoard ( DashBoardManager manager,
Ogre::String  filename,
bool  textureLayer 
)

Definition at line 247 of file DashBoardManager.cpp.

+ Here is the call graph for this function:

◆ ~DashBoard()

DashBoard::~DashBoard ( )

Definition at line 264 of file DashBoardManager.cpp.

Member Function Documentation

◆ getIsTextureLayer()

bool RoR::DashBoard::getIsTextureLayer ( )
inline

Definition at line 257 of file DashBoardManager.h.

◆ getVisible()

bool RoR::DashBoard::getVisible ( )
inline

Definition at line 255 of file DashBoardManager.h.

◆ loadLayoutInternal()

void DashBoard::loadLayoutInternal ( )
protected

Definition at line 749 of file DashBoardManager.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ loadLayoutRecursive()

void DashBoard::loadLayoutRecursive ( MyGUI::WidgetPtr  ptr)
protected

Definition at line 459 of file DashBoardManager.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ setVisible()

void DashBoard::setVisible ( bool  visible,
bool  smooth = true 
)

Definition at line 763 of file DashBoardManager.cpp.

+ Here is the caller graph for this function:

◆ update()

void DashBoard::update ( float  dt)

Definition at line 283 of file DashBoardManager.cpp.

+ Here is the call graph for this function:

◆ updateFeatures()

void DashBoard::updateFeatures ( )

Definition at line 272 of file DashBoardManager.cpp.

+ Here is the call graph for this function:

◆ windowResized()

void DashBoard::windowResized ( )

Definition at line 440 of file DashBoardManager.cpp.

+ Here is the caller graph for this function:

Field Documentation

◆ controls

layoutLink_t RoR::DashBoard::controls[MAX_CONTROLS]
protected

Definition at line 332 of file DashBoardManager.h.

◆ filename

Ogre::String RoR::DashBoard::filename
protected

Definition at line 266 of file DashBoardManager.h.

◆ free_controls

int RoR::DashBoard::free_controls
protected

Definition at line 333 of file DashBoardManager.h.

◆ mainWidget

MyGUI::WindowPtr RoR::DashBoard::mainWidget
protected

Definition at line 268 of file DashBoardManager.h.

◆ manager

DashBoardManager* RoR::DashBoard::manager
protected

Definition at line 265 of file DashBoardManager.h.

◆ prefix

std::string RoR::DashBoard::prefix
protected

Definition at line 270 of file DashBoardManager.h.

◆ textureLayer

bool RoR::DashBoard::textureLayer
protected

Definition at line 269 of file DashBoardManager.h.

◆ visible

bool RoR::DashBoard::visible
protected

Definition at line 269 of file DashBoardManager.h.

◆ widgets

MyGUI::VectorWidgetPtr RoR::DashBoard::widgets
protected

Definition at line 267 of file DashBoardManager.h.


The documentation for this class was generated from the following files: