Mana
Loading...
Searching...
No Matches
Public Member Functions | Private Member Functions | Private Attributes | List of all members

The window menu. More...

#include <windowmenu.h>

Inheritance diagram for WindowMenu:
Container

Public Member Functions

 WindowMenu ()
 
 ~WindowMenu () override
 
void action (const gcn::ActionEvent &event) override
 
void valueChanged (const gcn::SelectionEvent &event) override
 
void updatePopUpCaptions ()
 Update the pop-up captions with new key shortcuts.
 
- Public Member Functions inherited from Container
 Container ()
 
 ~Container () override
 
void drawFrame (gcn::Graphics *graphics) override
 

Private Member Functions

void addButton (const std::string &text, int &x, int &h, const std::string &iconPath=std::string(), KeyboardConfig::KeyAction key=KeyboardConfig::KEY_NO_VALUE)
 

Private Attributes

EmotePopupmEmotePopup = nullptr
 

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

The window menu.

Allows showing and hiding many of the different windows used in the game.

Definition at line 39 of file windowmenu.h.

Constructor & Destructor Documentation

◆ WindowMenu()

WindowMenu::WindowMenu ( )

Definition at line 51 of file windowmenu.cpp.

◆ ~WindowMenu()

WindowMenu::~WindowMenu ( )
override

Definition at line 85 of file windowmenu.cpp.

Member Function Documentation

◆ action()

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

Definition at line 90 of file windowmenu.cpp.

◆ addButton()

void WindowMenu::addButton ( const std::string &  text,
int &  x,
int &  h,
const std::string &  iconPath = std::string(),
KeyboardConfig::KeyAction  key = KeyboardConfig::KEY_NO_VALUE 
)
private

Definition at line 194 of file windowmenu.cpp.

◆ updatePopUpCaptions()

void WindowMenu::updatePopUpCaptions ( )

Update the pop-up captions with new key shortcuts.

Definition at line 215 of file windowmenu.cpp.

◆ valueChanged()

void WindowMenu::valueChanged ( const gcn::SelectionEvent &  event)
override

Definition at line 162 of file windowmenu.cpp.

Member Data Documentation

◆ mEmotePopup

EmotePopup* WindowMenu::mEmotePopup = nullptr
private

Definition at line 62 of file windowmenu.h.


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