From 14b699d660bb2393c104673ee897592d70ebe589 Mon Sep 17 00:00:00 2001 From: Dan Paulat Date: Wed, 11 Dec 2024 22:19:15 -0600 Subject: [PATCH] Update ImGui to v1.91.6 --- external/imgui | 2 +- external/include/scwx/external/imgui/imconfig.h | 6 +++++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/external/imgui b/external/imgui index f401021d..993fa347 160000 --- a/external/imgui +++ b/external/imgui @@ -1 +1 @@ -Subproject commit f401021d5a5d56fe2304056c391e78f81c8d4b8f +Subproject commit 993fa347495860ed44b83574254ef2a317d0c14f diff --git a/external/include/scwx/external/imgui/imconfig.h b/external/include/scwx/external/imgui/imconfig.h index 16f7692f..6064c40d 100644 --- a/external/include/scwx/external/imgui/imconfig.h +++ b/external/include/scwx/external/imgui/imconfig.h @@ -49,6 +49,7 @@ //#define IMGUI_DISABLE_FILE_FUNCTIONS // Don't implement ImFileOpen/ImFileClose/ImFileRead/ImFileWrite and ImFileHandle at all (replace them with dummies) //#define IMGUI_DISABLE_DEFAULT_FILE_FUNCTIONS // Don't implement ImFileOpen/ImFileClose/ImFileRead/ImFileWrite and ImFileHandle so you can implement them yourself if you don't want to link with fopen/fclose/fread/fwrite. This will also disable the LogToTTY() function. //#define IMGUI_DISABLE_DEFAULT_ALLOCATORS // Don't implement default allocators calling malloc()/free() to avoid linking with them. You will need to call ImGui::SetAllocatorFunctions(). +//#define IMGUI_DISABLE_DEFAULT_FONT // Disable default embedded font (ProggyClean.ttf), remove ~9.5 KB from output binary. AddFontDefault() will assert. //#define IMGUI_DISABLE_SSE // Disable use of SSE intrinsics even if available //---- Enable Test Engine / Automation features. @@ -59,9 +60,12 @@ //#define IMGUI_INCLUDE_IMGUI_USER_H //#define IMGUI_USER_H_FILENAME "my_folder/my_imgui_user.h" -//---- Pack colors to BGRA8 instead of RGBA8 (to avoid converting from one to another) +//---- Pack vertex colors as BGRA8 instead of RGBA8 (to avoid converting from one to another). Need dedicated backend support. //#define IMGUI_USE_BGRA_PACKED_COLOR +//---- Use legacy CRC32-adler tables (used before 1.91.6), in order to preserve old .ini data that you cannot afford to invalidate. +//#define IMGUI_USE_LEGACY_CRC32_ADLER + //---- Use 32-bit for ImWchar (default is 16-bit) to support Unicode planes 1-16. (e.g. point beyond 0xFFFF like emoticons, dingbats, symbols, shapes, ancient languages, etc...) //#define IMGUI_USE_WCHAR32