Data types: moved ImGuiDataType_String to public API as a convenience enum value only. (#8266)

This commit is contained in:
ocornut
2025-01-06 14:22:03 +01:00
parent f169102c8e
commit 80aafbc81b
3 changed files with 4 additions and 3 deletions
+2 -1
View File
@@ -29,7 +29,7 @@
// Library Version
// (Integer encoded as XYYZZ for use in #if preprocessor conditionals, e.g. '#if IMGUI_VERSION_NUM >= 12345')
#define IMGUI_VERSION "1.91.7 WIP"
#define IMGUI_VERSION_NUM 19163
#define IMGUI_VERSION_NUM 19164
#define IMGUI_HAS_TABLE
/*
@@ -1399,6 +1399,7 @@ enum ImGuiDataType_
ImGuiDataType_Float, // float
ImGuiDataType_Double, // double
ImGuiDataType_Bool, // bool (provided for user convenience, not supported by scalar widgets)
ImGuiDataType_String, // char* (provided for user convenience, not supported by scalar widgets)
ImGuiDataType_COUNT
};