 |
Blamite Game Engine - blam!
00406.12.10.23.1457.blamite
The core library for the Blamite Game Engine.
|
Go to the documentation of this file.
16 std::string current_font_name =
"<choose>";
33 for (std::string font_name : font_list.KeySet())
77 current_font_name = font_id;
BLAM void LogEvent(std::string message)
Logs a message to the log and/or console.
Definition: aliases.cpp:130
IMGUI_API bool Checkbox(const char *label, bool *v)
Definition: imgui_widgets.cpp:974
bool show
Controls whether or not the group should be shown. May not be used in all groups.
Definition: imgui.h:34
Class for the Font Editor.
Definition: font_editor.hpp:13
std::string name
The name/ID of the font. Must be unique.
Definition: fonts.h:89
Class representing a Blamite font package.
Definition: fonts.h:86
IMGUI_API void End()
Definition: imgui.cpp:6016
IMGUI_API bool DragInt(const char *label, int *v, float v_speed=1.0f, int v_min=0, int v_max=0, const char *format="%d")
Definition: imgui_widgets.cpp:2209
IMGUI_API void SameLine(float offset_from_start_x=0.0f, float spacing=-1.0f)
Definition: imgui.cpp:7147
Class representing an ImGUI window.
Definition: imgui.h:31
IMGUI_API bool Begin(const char *name, bool *p_open=NULL, ImGuiWindowFlags flags=0)
Definition: imgui.cpp:5397
void SetActiveFont(std::string font_id, BlamFontPackage *font_package)
Updates the currently selected font package.
Definition: font_editor.hpp:75
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
BLAM BlamMap< std::string, BlamFontPackage * > GetFontList()
Retrieves the map of all available fonts.
Definition: fonts.cpp:734
IMGUI_API void EndCombo()
Definition: imgui_widgets.cpp:1522
void Draw()
Draws the contents of the group.
Definition: font_editor.hpp:20
IMGUI_API bool Button(const char *label, const ImVec2 &size=ImVec2(0, 0))
Definition: imgui_widgets.cpp:644