Tweaked IMGUI_DISABLE_TEST_WINDOWS so it doesn't show in ImGui.h

This commit is contained in:
ocornut
2015-03-20 22:52:32 +00:00
parent 5600ef9701
commit 6699ccfd1f
3 changed files with 10 additions and 4 deletions

View File

@ -8807,7 +8807,14 @@ static void ImeSetInputScreenPosFn_DefaultImpl(int x, int y)
#endif
#ifndef IMGUI_DISABLE_TEST_WINDOWS
#ifdef IMGUI_DISABLE_TEST_WINDOWS
void ImGui::ShowUserGuide() {}
void ImGui::ShowStyleEditor() {}
void ImGui::ShowTestWindow() {}
#else
//-----------------------------------------------------------------------------
// HELP
//-----------------------------------------------------------------------------