ManaPlus
Public Member Functions | Data Fields
ButtonText Struct Reference

#include <buttontext.h>

Public Member Functions

 ButtonText (const std::string &text0, const InputActionT key0)
 

Data Fields

std::string text
 
InputActionT key
 

Detailed Description

Definition at line 31 of file buttontext.h.

Constructor & Destructor Documentation

◆ ButtonText()

ButtonText::ButtonText ( const std::string &  text0,
const InputActionT  key0 
)
inline

Definition at line 33 of file buttontext.h.

34  :
35  text(text0),
36  key(key0)
37  {
38  }
std::string text
Definition: buttontext.h:42
InputActionT key
Definition: buttontext.h:43

Field Documentation

◆ key

InputActionT ButtonText::key

Definition at line 43 of file buttontext.h.

Referenced by PopupMenu::showWindowsPopup().

◆ text

std::string ButtonText::text

Definition at line 42 of file buttontext.h.

Referenced by PopupMenu::showWindowsPopup().


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