Mania++
 All Classes Functions Variables Pages
UIList.h
1 #ifndef UILIST_H_
2 #define UILIST_H_
3 
4 #include <map>
5 #include <vector>
6 
7 //* UILIST
11 struct UIList
12 {
13  std::string Id;
14  std::string Title;
15  std::string IconStyle;
16  std::string IconSubstyle;
18  std::vector<std::pair<std::string, int>> Columns;
19  std::vector<std::map<std::string, std::string>> Rows;
20  std::map<std::string, std::pair<std::string, std::string>> Actions;
22  UIList()
23  {
24  Columns = std::vector<std::pair<std::string, int>>();
25  Rows = std::vector<std::map<std::string, std::string>>();
26  Actions = std::map<std::string, std::pair<std::string, std::string>>();
27  }
28 };
29 
30 #endif // UILIST_H_
ManiaLink for UI list.
Definition: UIList.h:11
std::vector< std::pair< std::string, int > > Columns
List columns.
Definition: UIList.h:18
std::string IconStyle
Header icon style.
Definition: UIList.h:15
std::vector< std::map< std::string, std::string > > Rows
List rows.
Definition: UIList.h:19
std::string IconSubstyle
Header icon substyle.
Definition: UIList.h:16
std::string Title
List title.
Definition: UIList.h:14
std::map< std::string, std::pair< std::string, std::string > > Actions
List of column/row actions.
Definition: UIList.h:20
std::string Id
ManiaLink identifier.
Definition: UIList.h:13