|
Player12
An open source football management simulator
|
#include <editor_fields.h>
Public Types | |
| enum class | Control { Text , Number , Choice , Attributes } |
Public Attributes | |
| std::string | column |
| std::string | label |
| std::string | section |
| Control | control = Control::Text |
| std::optional< double > | minimum |
| std::optional< double > | maximum |
| std::vector< std::pair< std::string, std::string > > | choices |
Presentation belongs to the feature, never inferred from SQL storage types. Labels/sections/choice labels are localisation keys; stored choice values remain independent of the current language. Missing schema columns are omitted.
|
strong |
| std::vector<std::pair<std::string, std::string> > EditorField::choices |
| std::string EditorField::column |
| Control EditorField::control = Control::Text |
| std::string EditorField::label |
| std::optional<double> EditorField::maximum |
| std::optional<double> EditorField::minimum |
| std::string EditorField::section |