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

@ -27,6 +27,8 @@ Index of this file:
#endif
#include "imgui.h"
#ifndef IMGUI_DISABLE
#ifndef IMGUI_DEFINE_MATH_OPERATORS
#define IMGUI_DEFINE_MATH_OPERATORS
#endif
@ -3458,3 +3460,5 @@ static const char* GetDefaultCompressedFontDataTTFBase85()
{
return proggy_clean_ttf_compressed_data_base85;
}
#endif // #ifndef IMGUI_DISABLE