Added IMGUI_INCLUDE_IMGUI_USER_H

This commit is contained in:
ocornut
2014-12-05 23:09:43 +00:00
parent a5cc2e4161
commit e43cd6e97f
3 changed files with 12 additions and 1 deletions

View File

@ -777,3 +777,10 @@ struct ImFont
};
#pragma pack(pop)
};
//---- Include imgui_user.h at the end of imgui.h
//---- So you can include code that extends ImGui using any of the types declared above.
//---- (also convenient for user to only explicitly include vanilla imgui.h)
#ifdef IMGUI_INCLUDE_IMGUI_USER_H
#include "imgui_user.h"
#endif