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

Public Member Functions

 CharacterDisplay (CharSelectDialog *charSelectDialog)
 
void setCharacter (Net::Character *character)
 
Net::CharactergetCharacter () const
 
void requestFocus () override
 
void mouseMoved (gcn::MouseEvent &event) override
 
void mouseExited (gcn::MouseEvent &event) override
 
void setActive (bool active)
 
- Public Member Functions inherited from Container
 Container ()
 
 ~Container () override
 
void drawFrame (gcn::Graphics *graphics) override
 

Private Member Functions

void update ()
 

Private Attributes

Net::CharactermCharacter = nullptr
 
PlayerBoxmPlayerBox
 
LabelmName
 
ButtonmButton
 
ButtonmDelete
 

Static Private Attributes

static TextPopupmTextPopup = nullptr
 The character info popup.
 

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 87 of file charselectdialog.cpp.

Constructor & Destructor Documentation

◆ CharacterDisplay()

CharacterDisplay::CharacterDisplay ( CharSelectDialog charSelectDialog)

Definition at line 345 of file charselectdialog.cpp.

Member Function Documentation

◆ getCharacter()

Net::Character * CharacterDisplay::getCharacter ( ) const
inline

Definition at line 94 of file charselectdialog.cpp.

◆ mouseExited()

void CharacterDisplay::mouseExited ( gcn::MouseEvent &  event)
override

Definition at line 436 of file charselectdialog.cpp.

◆ mouseMoved()

void CharacterDisplay::mouseMoved ( gcn::MouseEvent &  event)
override

Definition at line 415 of file charselectdialog.cpp.

◆ requestFocus()

void CharacterDisplay::requestFocus ( )
override

Definition at line 382 of file charselectdialog.cpp.

◆ setActive()

void CharacterDisplay::setActive ( bool  active)

Definition at line 387 of file charselectdialog.cpp.

◆ setCharacter()

void CharacterDisplay::setCharacter ( Net::Character character)

Definition at line 372 of file charselectdialog.cpp.

◆ update()

void CharacterDisplay::update ( )
private

Definition at line 393 of file charselectdialog.cpp.

Member Data Documentation

◆ mButton

Button* CharacterDisplay::mButton
private

Definition at line 111 of file charselectdialog.cpp.

◆ mCharacter

Net::Character* CharacterDisplay::mCharacter = nullptr
private

Definition at line 107 of file charselectdialog.cpp.

◆ mDelete

Button* CharacterDisplay::mDelete
private

Definition at line 112 of file charselectdialog.cpp.

◆ mName

Label* CharacterDisplay::mName
private

Definition at line 110 of file charselectdialog.cpp.

◆ mPlayerBox

PlayerBox* CharacterDisplay::mPlayerBox
private

Definition at line 109 of file charselectdialog.cpp.

◆ mTextPopup

TextPopup * CharacterDisplay::mTextPopup = nullptr
staticprivate

The character info popup.

Note
: This is a global object. One for all the characters.

Definition at line 118 of file charselectdialog.cpp.


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