浏览代码

Fixed missing symbols when using IMGUI_DISABLE_DEMO_WINDOWS (e.g. with ImPlot) (#8221)

Stewart Mccready 9 月之前
父节点
当前提交
2ca83f0bc7
共有 1 个文件被更改,包括 2 次插入0 次删除
  1. 2 0
      imgui_demo.cpp

+ 2 - 0
imgui_demo.cpp

@@ -10397,6 +10397,8 @@ void ImGui::ShowAboutWindow(bool*) {}
 void ImGui::ShowDemoWindow(bool*) {}
 void ImGui::ShowUserGuide() {}
 void ImGui::ShowStyleEditor(ImGuiStyle*) {}
+bool ImGui::ShowStyleSelector(const char* label) { return false; }
+void ImGui::ShowFontSelector(const char* label) {}
 
 #endif