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

Public Member Functions

 ChangeDisplay (int id, const std::string &name)
 
std::string update () override
 
Type getType () override
 
void setPointsNeeded (int needed)
 
- Public Member Functions inherited from AttrDisplay
 ~AttrDisplay () override
 
- Public Member Functions inherited from Container
 Container ()
 
 ~Container () override
 
void drawFrame (gcn::Graphics *graphics) override
 

Private Member Functions

void action (const gcn::ActionEvent &event) override
 

Private Attributes

int mNeeded = 1
 
LabelmPoints
 
ButtonmDec
 
ButtonmInc
 

Additional Inherited Members

- Public Types inherited from AttrDisplay
enum  Type { DERIVED , CHANGEABLE , UNKNOWN }
 
- Protected Member Functions inherited from AttrDisplay
 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 inherited from AttrDisplay
const int mId
 
const std::string mName
 
LabelmLabel
 
LabelmValue
 

Detailed Description

Definition at line 79 of file statuswindow.cpp.

Constructor & Destructor Documentation

◆ ChangeDisplay()

ChangeDisplay::ChangeDisplay ( int  id,
const std::string &  name 
)

Definition at line 463 of file statuswindow.cpp.

Member Function Documentation

◆ action()

void ChangeDisplay::action ( const gcn::ActionEvent &  event)
overrideprivate

Definition at line 518 of file statuswindow.cpp.

◆ getType()

Type ChangeDisplay::getType ( )
inlineoverridevirtual

Reimplemented from AttrDisplay.

Definition at line 84 of file statuswindow.cpp.

◆ setPointsNeeded()

void ChangeDisplay::setPointsNeeded ( int  needed)

Definition at line 511 of file statuswindow.cpp.

◆ update()

std::string ChangeDisplay::update ( )
overridevirtual

Reimplemented from AttrDisplay.

Definition at line 490 of file statuswindow.cpp.

Member Data Documentation

◆ mDec

Button* ChangeDisplay::mDec
private

Definition at line 93 of file statuswindow.cpp.

◆ mInc

Button* ChangeDisplay::mInc
private

Definition at line 94 of file statuswindow.cpp.

◆ mNeeded

int ChangeDisplay::mNeeded = 1
private

Definition at line 90 of file statuswindow.cpp.

◆ mPoints

Label* ChangeDisplay::mPoints
private

Definition at line 92 of file statuswindow.cpp.


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