62 using data_map = std::map<std::string, string_map>;
96 return (*this).position < data.
position;
std::map< std::string, config > options_data_
void update_options_data_map(T *widget, const option_source &source)
const std::vector< node > & nodes
tree_view & options_tree_
bool operator<(const type_node_data &data)
config get_options_config()
void update_all_options()
void display_custom_options(const std::string &type, int node_position, const config &data)
std::vector< option_source > visible_options_
void update_options_data_map_menu_button(menu_button *widget, const option_source &source, const config &cfg)
std::map< std::string, string_map > data_map
void update_mod_options()
void update_game_options()
A tree view is a control that holds several items of the same or different types. ...
void reset_options_data(const option_source &source, bool &handled, bool &halt)
Various uncategorised dialogs.
void update_era_options()
std::map< std::string, type_node_data > node_data_map_
void update_status_label()
ng::create_engine & create_engine_
styled_widget & no_options_notice_
A config object defines a single node in a WML file, with access to child nodes.
std::vector< tree_view_node * > node_vector
int remove_nodes_for_type(const std::string &type)
base class of top level items, the only item which needs to store the final canvases to draw on...
mp_options_helper(window &window, ng::create_engine &create_engine)
friend bool operator<(const option_source &a, const option_source &b)
std::pair< T *, config::attribute_value > add_node_and_get_widget(tree_view_node &option_node, const std::string &id, data_map &data, const config &cfg)