Comments, exposed a few things in imgui_internal.h for consistency, added ImQsort wrapper.

This commit is contained in:
omar
2018-07-12 11:08:24 +02:00
parent 23288547ec
commit 5e73e969fb
4 changed files with 17 additions and 23 deletions

View File

@ -97,7 +97,8 @@ namespace IMGUI_STB_NAMESPACE
#ifndef STB_RECT_PACK_IMPLEMENTATION // in case the user already have an implementation in the _same_ compilation unit (e.g. unity builds)
#ifndef IMGUI_DISABLE_STB_RECT_PACK_IMPLEMENTATION
#define STBRP_STATIC
#define STBRP_ASSERT(x) IM_ASSERT(x)
#define STBRP_ASSERT(x) IM_ASSERT(x)
#define STBRP_SORT ImQsort
#define STB_RECT_PACK_IMPLEMENTATION
#endif
#ifdef IMGUI_STB_RECT_PACK_FILENAME