Skip to content

Commit 15107f2

Browse files
committed
Upgrade dependencies and add more ImGUI debug panels
1 parent c338fdb commit 15107f2

File tree

3 files changed

+9
-9
lines changed

3 files changed

+9
-9
lines changed

src/core/Core/Application.cpp

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ ExitStatus App::Application::run() {
121121
if (ImGui::BeginMenu("View")) {
122122
ImGui::MenuItem("Some Panel", nullptr, &m_show_some_panel);
123123
ImGui::MenuItem("ImGui Demo Panel", nullptr, &m_show_demo_panel);
124-
ImGui::MenuItem("Debug Panel", nullptr, &m_show_debug_panel);
124+
ImGui::MenuItem("Debug Panels", nullptr, &m_show_debug_panel);
125125
ImGui::EndMenu();
126126
}
127127

@@ -142,7 +142,10 @@ ExitStatus App::Application::run() {
142142

143143
// Debug panel
144144
if (m_show_debug_panel) {
145-
ImGui::Begin("Debug panel", &m_show_debug_panel);
145+
ImGui::ShowMetricsWindow();
146+
ImGui::ShowDebugLogWindow();
147+
148+
ImGui::Begin("App debug panel", &m_show_debug_panel);
146149
ImGui::Text("User config path: %s", user_config_path.c_str());
147150
ImGui::Separator();
148151
ImGui::Text("Font path: %s", font_path.c_str());

vendor/CMakeLists.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ FetchContent_Declare(
1111
FetchContent_Declare(
1212
fmt
1313
GIT_REPOSITORY "https://github.com/fmtlib/fmt.git"
14-
GIT_TAG 11.0.1
14+
GIT_TAG 11.0.2
1515
)
1616

1717
FetchContent_Declare(
@@ -23,13 +23,13 @@ FetchContent_Declare(
2323
FetchContent_Declare(
2424
imgui
2525
GIT_REPOSITORY "https://github.com/ocornut/imgui.git"
26-
GIT_TAG 527b2c45af2f8964f95826bd16ab7c7ed372ae41 # Branch: docking, date: 02.07.2024, 19:05 GMT+2
26+
GIT_TAG 68aa9a86ec933510073932980a0940742ecc833c # Branch: docking, date: 10.09.2024, 04:29 GMT+2
2727
)
2828

2929
FetchContent_Declare(
3030
SDL2
3131
GIT_REPOSITORY "https://github.com/libsdl-org/SDL.git"
32-
GIT_TAG release-2.30.5
32+
GIT_TAG release-2.30.7
3333
)
3434

3535
FetchContent_Declare(

vendor/imgui-setup/CMakeLists.txt

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,4 @@
1-
FetchContent_GetProperties(imgui)
2-
if (NOT imgui_POPULATED)
3-
FetchContent_Populate(imgui)
4-
endif ()
1+
FetchContent_MakeAvailable(imgui)
52

63
add_library(imgui
74
${imgui_SOURCE_DIR}/imgui.cpp ${imgui_SOURCE_DIR}/imgui.h

0 commit comments

Comments
 (0)