Mana
Loading...
Searching...
No Matches
Public Types | Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
AttrDisplay Class Reference
Inheritance diagram for AttrDisplay:
Container ChangeDisplay DerDisplay

Public Types

enum  Type { DERIVED , CHANGEABLE , UNKNOWN }
 

Public Member Functions

 ~AttrDisplay () override
 
virtual std::string update ()
 
virtual Type getType ()
 
- Public Member Functions inherited from Container
 Container ()
 
 ~Container () override
 
void drawFrame (gcn::Graphics *graphics) override
 

Protected Member Functions

 AttrDisplay (int id, const std::string &name)
 
- Protected Member Functions inherited from Container
LayoutgetLayout ()
 Gets the layout handler for this container.
 
LayoutCellplace (int x, int y, gcn::Widget *wg, int w=1, int h=1)
 Adds a widget to the container and sets it at given cell.
 
ContainerPlacer getPlacer (int x, int y)
 Returns a proxy for adding widgets in an inner table of the layout.
 

Protected Attributes

const int mId
 
const std::string mName
 
LabelmLabel
 
LabelmValue
 

Detailed Description

Definition at line 50 of file statuswindow.cpp.

Member Enumeration Documentation

◆ Type

Enumerator
DERIVED 
CHANGEABLE 
UNKNOWN 

Definition at line 53 of file statuswindow.cpp.

Constructor & Destructor Documentation

◆ ~AttrDisplay()

AttrDisplay::~AttrDisplay ( )
override

Definition at line 437 of file statuswindow.cpp.

◆ AttrDisplay()

AttrDisplay::AttrDisplay ( int  id,
const std::string &  name 
)
protected

Definition at line 425 of file statuswindow.cpp.

Member Function Documentation

◆ getType()

virtual Type AttrDisplay::getType ( )
inlinevirtual

Reimplemented in DerDisplay, and ChangeDisplay.

Definition at line 60 of file statuswindow.cpp.

◆ update()

std::string AttrDisplay::update ( )
virtual

Reimplemented in ChangeDisplay.

Definition at line 441 of file statuswindow.cpp.

Member Data Documentation

◆ mId

const int AttrDisplay::mId
protected

Definition at line 65 of file statuswindow.cpp.

◆ mLabel

Label* AttrDisplay::mLabel
protected

Definition at line 68 of file statuswindow.cpp.

◆ mName

const std::string AttrDisplay::mName
protected

Definition at line 66 of file statuswindow.cpp.

◆ mValue

Label* AttrDisplay::mValue
protected

Definition at line 69 of file statuswindow.cpp.


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