ManaPlus
Public Member Functions | Data Fields
ItemMenuItem Struct Reference

#include <itemmenuitem.h>

Public Member Functions

 ItemMenuItem (const std::string &name01, const std::string &name02, const std::string &command01, const std::string &command02)
 

Data Fields

std::string name1
 
std::string name2
 
std::string command1
 
std::string command2
 

Detailed Description

Definition at line 29 of file itemmenuitem.h.

Constructor & Destructor Documentation

◆ ItemMenuItem()

ItemMenuItem::ItemMenuItem ( const std::string &  name01,
const std::string &  name02,
const std::string &  command01,
const std::string &  command02 
)
inline

Definition at line 31 of file itemmenuitem.h.

34  :
35  name1(name01),
36  name2(name02),
37  command1(command01),
38  command2(command02)
39  {
40  }
std::string command1
Definition: itemmenuitem.h:46
std::string command2
Definition: itemmenuitem.h:47
std::string name2
Definition: itemmenuitem.h:45
std::string name1
Definition: itemmenuitem.h:44

Field Documentation

◆ command1

std::string ItemMenuItem::command1

Definition at line 46 of file itemmenuitem.h.

Referenced by PopupMenu::addItemMenu().

◆ command2

std::string ItemMenuItem::command2

Definition at line 47 of file itemmenuitem.h.

Referenced by PopupMenu::addItemMenu().

◆ name1

std::string ItemMenuItem::name1

Definition at line 44 of file itemmenuitem.h.

Referenced by PopupMenu::addItemMenu().

◆ name2

std::string ItemMenuItem::name2

Definition at line 45 of file itemmenuitem.h.

Referenced by PopupMenu::addItemMenu().


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