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

Public Member Functions

 AbilityEntry (AbilityInfo *info)
 
void update (int current, int needed)
 
- Public Member Functions inherited from Container
 Container ()
 
 ~Container () override
 
void drawFrame (gcn::Graphics *graphics) override
 

Protected Attributes

AbilityInfomInfo
 

Private Attributes

IconmIcon = nullptr
 
LabelmNameLabel = nullptr
 
ButtonmUse = nullptr
 
ProgressBarmRechargeBar = nullptr
 

Friends

class AbilitiesWindow
 

Additional Inherited Members

- 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.
 

Detailed Description

Definition at line 50 of file abilitieswindow.cpp.

Constructor & Destructor Documentation

◆ AbilityEntry()

AbilityEntry::AbilityEntry ( AbilityInfo info)

Definition at line 175 of file abilitieswindow.cpp.

Member Function Documentation

◆ update()

void AbilityEntry::update ( int  current,
int  needed 
)

Definition at line 206 of file abilitieswindow.cpp.

Friends And Related Symbol Documentation

◆ AbilitiesWindow

friend class AbilitiesWindow
friend

Definition at line 58 of file abilitieswindow.cpp.

Member Data Documentation

◆ mIcon

Icon* AbilityEntry::mIcon = nullptr
private

Definition at line 62 of file abilitieswindow.cpp.

◆ mInfo

AbilityInfo* AbilityEntry::mInfo
protected

Definition at line 59 of file abilitieswindow.cpp.

◆ mNameLabel

Label* AbilityEntry::mNameLabel = nullptr
private

Definition at line 63 of file abilitieswindow.cpp.

◆ mRechargeBar

ProgressBar* AbilityEntry::mRechargeBar = nullptr
private

Definition at line 65 of file abilitieswindow.cpp.

◆ mUse

Button* AbilityEntry::mUse = nullptr
private

Definition at line 64 of file abilitieswindow.cpp.


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