 |
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"
5 #include <Strings/components/utils/io/io.h>
6 #include <Strings/components/utils/utilities.h>
31 bool old_devtools_bar =
false;
32 bool show_menubar =
true;
34 int commit_hash_label = 0;
36 bool show_imgui_font_picker =
false;
37 bool show_imgui_metrics =
false;
38 bool show_imgui_style_picker =
false;
39 bool show_imgui_style_editor =
false;
41 bool main_menu =
true;
114 BlamStrings::Utils::OpenLocalWebURL(report_viewer_page);
208 if (debug_menu_stack_item)
266 commit_hash_label = commit_label_size.
x;
276 ImGui::Text(
"this is the final iteration of the hardcoded menu bar");
277 ImGui::Text(
"all newer menu bar changes are controlled by menu_bar_init.xml");
284 if (old_devtools_bar)
290 ImGui::Text(
"can't imagine why you'd need it, but here it is");
295 if (show_imgui_font_picker)
300 if (show_imgui_metrics)
305 if (show_imgui_style_picker)
310 if (show_imgui_style_editor)
312 if (
ImGui::Begin(
"ImGui Style Editor", &show_imgui_style_editor))
IMGUI_API void ShowMetricsWindow(bool *p_open=NULL)
Definition: imgui.cpp:9780
IMGUI_API void EndMenu()
Definition: imgui_widgets.cpp:6224
IMGUI_API void BeginTooltip()
Definition: imgui.cpp:7362
IMGUI_API void EndMainMenuBar()
Definition: imgui_widgets.cpp:5995
Class for the default ImGUI DX11 sample window.
Definition: dx11_window.hpp:13
BLAM ConfigFile * GetConfig()
Definition: compat.cpp:5
IMGUI_API void End()
Definition: imgui.cpp:6016
IMGUI_API bool BeginMainMenuBar()
Definition: imgui_widgets.cpp:5975
float x
Definition: imgui.h:181
IMGUI_API void SameLine(float offset_from_start_x=0.0f, float spacing=-1.0f)
Definition: imgui.cpp:7147
IMGUI_API bool MenuItem(const char *label, const char *shortcut=NULL, bool selected=false, bool enabled=true)
Definition: imgui_widgets.cpp:6240
IMGUI_API bool IsItemHovered(ImGuiHoveredFlags flags=0)
Definition: imgui.cpp:3061
IMGUI_API bool ShowStyleSelector(const char *label)
Definition: imgui_demo.cpp:3123
IMGUI_API bool Begin(const char *name, bool *p_open=NULL, ImGuiWindowFlags flags=0)
Definition: imgui.cpp:5397
IMGUI_API bool BeginMenuBar()
Definition: imgui_widgets.cpp:6012
BLAM void TakeScreenshot()
Captures the current frame and saves it to a file.
Definition: screenshot.cpp:100
IMGUI_API ImVec2 GetItemRectSize()
Definition: imgui.cpp:4689
Add a fourth parameter to bake specific font ranges NULL
Definition: README.txt:57
IMGUI_API void Text(const char *fmt,...) IM_FMTARGS(1)
Definition: imgui_widgets.cpp:238
IMGUI_API void PopTextWrapPos()
Definition: imgui.cpp:6313
IMGUI_API void EndTooltip()
Definition: imgui.cpp:7402
bool show
Controls whether or not the group should be shown. May not be used in all groups.
Definition: debug_ui.h:362
IMGUI_API bool BeginMenu(const char *label, bool enabled=true)
Definition: imgui_widgets.cpp:6081
Class representing an ImGUI drawing group/draw list item.
Definition: debug_ui.h:359
#define CURRENT_COMMIT
Definition: version_data.h:14
IMGUI_API void EndMenuBar()
Definition: imgui_widgets.cpp:6040
IMGUI_API void ShowStyleEditor(ImGuiStyle *ref=NULL)
Definition: imgui_demo.cpp:3165
@ ImGuiWindowFlags_AlwaysAutoResize
Definition: imgui.h:720
#define ENGINE_TEXT(string_id)
Definition: engine_text.h:7
BLAM ImGUIDrawingGroup * GetDrawListItem(std::string key)
Retrieves a drawing group with the specified ID.
Definition: drawing_list.cpp:30
@ ImGuiWindowFlags_MenuBar
Definition: imgui.h:724
BLAM void LogEventForce(std::string message)
Forcibly logs a message to the log and/or console.
Definition: aliases.cpp:258
IMGUI_API void Separator()
Definition: imgui_widgets.cpp:1284
std::string GetString(std::string option)
Definition: compat.cpp:58
@ ImGuiWindowFlags_NoResize
Definition: imgui.h:715
Legacy namespace to contain data for the legacy ImGUI console.
Definition: ui.h:14
IMGUI_API void ShowFontSelector(const char *label)
Definition: imgui_demo.cpp:3141
IMGUI_API void TextUnformatted(const char *text, const char *text_end=NULL)
Definition: imgui_widgets.cpp:233
IMGUI_API void PushTextWrapPos(float wrap_local_pos_x=0.0f)
Definition: imgui.cpp:6306
IMGUI_API float GetWindowWidth()
Definition: imgui.cpp:6580
BLAM bool * RenderTargetClearing()
Retrieves whether or not to enable render target clearing.
Definition: render_manage.cpp:608
IMGUI_API void TextColored(const ImVec4 &col, const char *fmt,...) IM_FMTARGS(2)
Definition: imgui_widgets.cpp:257
#define duigvs(x)
Macro for Blam::DebugUI::GetVisibility().
Definition: debug_ui.h:19
IMGUI_API void TextDisabled(const char *fmt,...) IM_FMTARGS(1)
Definition: imgui_widgets.cpp:272
BLAM StackObjectBase * GetStackItem(std::string id)
Retrieves an item from the render stack.
Definition: render_stack.cpp:75