 |
Blamite Game Engine - blam!
00346.12.11.21.0529.blamite
The core library for the Blamite Game Engine.
|
Go to the documentation of this file.
3 #include "../../debug_ui.h"
17 int active_theme_index = -1;
19 std::string selected_metrics =
ENGINE_TEXT(
"choose");
20 float global_ui_scale = 1.0f;
37 selected_theme = theme.
name;
38 active_theme_index = i;
53 selected_metrics = metrics.
name;
54 active_theme_index = i;
ImFont * FontDefault
Definition: imgui.h:1362
BLAM std::vector< BlamThemeMetrics > * GetMetricsList()
Retrieves the list of currently loaded theme metrics.
Definition: themes.cpp:456
IMGUI_API void End()
Definition: imgui.cpp:6016
IMGUI_API void ScaleAllSizes(float scale_factor)
Definition: imgui.cpp:1171
IMGUI_API void SameLine(float offset_from_start_x=0.0f, float spacing=-1.0f)
Definition: imgui.cpp:7147
std::string name
The name of the theme.
Definition: themes.h:31
BLAM std::vector< BlamColorScheme > * GetColorSchemeList()
Retrieves the list of currently loaded color schemes.
Definition: themes.cpp:451
Class for the modern Theme Editor.
Definition: theme_editor.hpp:14
ImFontAtlas * Fonts
Definition: imgui.h:1359
IMGUI_API bool Begin(const char *name, bool *p_open=NULL, ImGuiWindowFlags flags=0)
Definition: imgui.cpp:5397
ImVector< ImFont * > Fonts
Definition: imgui.h:2167
void ApplyTheme()
Applies the theme to the engine UI.
Definition: BlamColorScheme.cpp:13
const char * GetDebugName() const
Definition: imgui.h:2211
IMGUI_API ImFont * GetFont()
Definition: imgui.cpp:6867
IMGUI_API ImGuiIO & GetIO()
Definition: imgui.cpp:3300
IMGUI_API bool BeginCombo(const char *label, const char *preview_value, ImGuiComboFlags flags=0)
Definition: imgui_widgets.cpp:1416
IMGUI_API bool Selectable(const char *label, bool selected=false, ImGuiSelectableFlags flags=0, const ImVec2 &size=ImVec2(0, 0))
Definition: imgui_widgets.cpp:5469
bool show
Controls whether or not the group should be shown. May not be used in all groups.
Definition: debug_ui.h:362
Class representing a Blam Color Scheme.
Definition: themes.h:28
Class representing an ImGUI drawing group/draw list item.
Definition: debug_ui.h:359
IMGUI_API void PopID()
Definition: imgui.cpp:7026
IMGUI_API void EndCombo()
Definition: imgui_widgets.cpp:1522
IMGUI_API ImGuiStyle & GetStyle()
Definition: imgui.cpp:3306
void Draw()
Draws the contents of the group.
Definition: theme_editor.hpp:23
#define ENGINE_TEXT(string_id)
Definition: engine_text.h:7
Legacy namespace to contain data for the legacy ImGUI console.
Definition: ui.h:14
void ApplyMetrics()
Applies the metrics to the engine UI.
Definition: BlamThemeMetrics.cpp:6
std::string name
The name of the theme metrics.
Definition: themes.h:68
int Size
Definition: imgui.h:1229
IMGUI_API bool InputFloat(const char *label, float *v, float step=0.0f, float step_fast=0.0f, const char *format="%.3f", ImGuiInputTextFlags flags=0)
Definition: imgui_widgets.cpp:2975
io.Fonts->AddFontFromMemoryCompressedTTF(compressed_data, compressed_data_size, size_pixels,...) font
Definition: README.txt:86
IMGUI_API void PushID(const char *str_id)
Definition: imgui.cpp:6995
IMGUI_API bool Button(const char *label, const ImVec2 &size=ImVec2(0, 0))
Definition: imgui_widgets.cpp:644