Added IMGUI_DISABLE compile-time definition to make all headers and sources empty.

This commit is contained in:
omar
2020-02-09 17:06:58 +01:00
parent f694244dec
commit d37d25470a
9 changed files with 31 additions and 4 deletions

View File

@ -45,6 +45,8 @@ Index of this file:
#include "imconfig.h"
#endif
#ifndef IMGUI_DISABLE
//-----------------------------------------------------------------------------
// Header mess
//-----------------------------------------------------------------------------
@ -2275,3 +2277,5 @@ struct ImFont
#ifdef IMGUI_INCLUDE_IMGUI_USER_H
#include "imgui_user.h"
#endif
#endif // #ifndef IMGUI_DISABLE