 |
Blamite Game Engine - blam!
00272.10.26.20.0001.blamite
The core library for the Blamite Game Engine.
|
Go to the documentation of this file.
3 #include "../../debug_ui.h"
30 if (ImGui::Begin(
"Configuration Editor", &
show))
33 if (ImGui::BeginTabBar(
"config_editor_tabs", ImGuiTabBarFlags_NoTooltip))
37 if (ImGui::BeginTabItem(
"Easy Editor"))
39 std::map<std::string, Blam::Config::ConfigOption>::iterator it;
41 for (it = config->
options.begin(); it != config->
options.end(); it++)
43 GenerateConfigOptionControl(&it->second);
49 if (ImGui::BeginTabItem(
"Raw Editor"))
BLAM ConfigFile * GetConfig(std::string filename)
Retrieves the specified configuration file.
Definition: config.cpp:232
Structure to contain data for an option within a Config file.
Definition: config.h:41
Class to contain data related to a Config file.
Definition: config.h:50
std::map< std::string, ConfigOption > options
Contains all options contained within the config file.
Definition: config.h:59
Class for the modern Config Editor.
Definition: config_editor.hpp:13
bool show
Controls whether or not the group should be shown. May not be used in all groups.
Definition: debug_ui.h:442
Class representing an ImGUI drawing group/draw list item.
Definition: debug_ui.h:409
Legacy namespace to contain data for the legacy ImGUI console.
Definition: debug_ui.h:494
void Draw()
Draws the about box.
Definition: config_editor.hpp:25