Added #define IMGUI_INCLUDE_IMGUI_USER_CPP to optionally include imgui_user.cpp

This commit is contained in:
ocornut
2014-09-10 11:22:01 +01:00
parent 62d233aaab
commit 2e85dce1ee
2 changed files with 10 additions and 0 deletions

View File

@ -6237,3 +6237,10 @@ void GetDefaultFontData(const void** fnt_data, unsigned int* fnt_size, const voi
};
//-----------------------------------------------------------------------------
//---- Include imgui_user.cpp at the end of imgui.cpp so you can include code that extends ImGui using its private data/functions.
#ifdef IMGUI_INCLUDE_IMGUI_USER_CPP
#include "imgui_user.cpp"
#endif
//-----------------------------------------------------------------------------