pull imgui docking 1.91.7 and generate

This commit is contained in:
sonoro1234
2025-01-21 15:59:46 +01:00
parent 46c47d5703
commit 9bc279c4d8
13 changed files with 3884 additions and 3779 deletions

View File

@@ -1,5 +1,5 @@
//This file is automatically generated by generator.lua from https://github.com/cimgui/cimgui
//based on imgui.h file version "1.91.6" 19160 from Dear ImGui https://github.com/ocornut/imgui
//based on imgui.h file version "1.91.7" 19170 from Dear ImGui https://github.com/ocornut/imgui
//with imgui_internal.h api
//with imgui_freetype.h api
//docking branch
@@ -88,6 +88,7 @@ typedef struct ImGuiColorMod ImGuiColorMod;
typedef struct ImGuiContextHook ImGuiContextHook;
typedef struct ImGuiDataVarInfo ImGuiDataVarInfo;
typedef struct ImGuiDataTypeInfo ImGuiDataTypeInfo;
typedef struct ImGuiDeactivatedItemData ImGuiDeactivatedItemData;
typedef struct ImGuiDockContext ImGuiDockContext;
typedef struct ImGuiDockRequest ImGuiDockRequest;
typedef struct ImGuiDockNode ImGuiDockNode;
@@ -338,9 +339,10 @@ typedef enum {
ImGuiTreeNodeFlags_FramePadding = 1 << 10,
ImGuiTreeNodeFlags_SpanAvailWidth = 1 << 11,
ImGuiTreeNodeFlags_SpanFullWidth = 1 << 12,
ImGuiTreeNodeFlags_SpanTextWidth = 1 << 13,
ImGuiTreeNodeFlags_SpanLabelWidth = 1 << 13,
ImGuiTreeNodeFlags_SpanAllColumns = 1 << 14,
ImGuiTreeNodeFlags_NavLeftJumpsBackHere = 1 << 15,
ImGuiTreeNodeFlags_LabelSpanAllColumns = 1 << 15,
ImGuiTreeNodeFlags_NavLeftJumpsBackHere = 1 << 17,
ImGuiTreeNodeFlags_CollapsingHeader = ImGuiTreeNodeFlags_Framed | ImGuiTreeNodeFlags_NoTreePushOnOpen | ImGuiTreeNodeFlags_NoAutoOpenOnLog,
}ImGuiTreeNodeFlags_;
typedef enum {
@@ -473,6 +475,7 @@ typedef enum {
ImGuiDataType_Float,
ImGuiDataType_Double,
ImGuiDataType_Bool,
ImGuiDataType_String,
ImGuiDataType_COUNT
}ImGuiDataType_;
typedef enum {
@@ -836,6 +839,7 @@ typedef enum {
ImGuiSliderFlags_WrapAround = 1 << 8,
ImGuiSliderFlags_ClampOnInput = 1 << 9,
ImGuiSliderFlags_ClampZeroRange = 1 << 10,
ImGuiSliderFlags_NoSpeedTweaks = 1 << 11,
ImGuiSliderFlags_AlwaysClamp = ImGuiSliderFlags_ClampOnInput | ImGuiSliderFlags_ClampZeroRange,
ImGuiSliderFlags_InvalidMask_ = 0x7000000F,
}ImGuiSliderFlags_;
@@ -1617,6 +1621,7 @@ struct ImGuiContext;
struct ImGuiContextHook;
struct ImGuiDataVarInfo;
struct ImGuiDataTypeInfo;
struct ImGuiDeactivatedItemData;
struct ImGuiDockContext;
struct ImGuiDockRequest;
struct ImGuiDockNode;
@@ -1744,8 +1749,7 @@ struct ImGuiDataTypeInfo
const char* ScanFmt;
};
typedef enum {
ImGuiDataType_String = ImGuiDataType_COUNT + 1,
ImGuiDataType_Pointer,
ImGuiDataType_Pointer = ImGuiDataType_COUNT + 1,
ImGuiDataType_ID,
}ImGuiDataTypePrivate_;
typedef enum {
@@ -1897,7 +1901,7 @@ struct ImGuiGroupData
ImVec2 BackupCurrLineSize;
float BackupCurrLineTextBaseOffset;
ImGuiID BackupActiveIdIsAlive;
bool BackupActiveIdPreviousFrameIsAlive;
bool BackupDeactivatedIdIsAlive;
bool BackupHoveredIdIsAlive;
bool BackupIsSameLine;
bool EmitItem;
@@ -1924,8 +1928,10 @@ struct ImGuiInputTextState
{
ImGuiContext* Ctx;
ImStbTexteditState* Stb;
ImGuiInputTextFlags Flags;
ImGuiID ID;
int TextLen;
const char* TextSrc;
ImVector_char TextA;
ImVector_char TextToRevertTo;
ImVector_char CallbackTextBackup;
@@ -1935,8 +1941,7 @@ struct ImGuiInputTextState
bool CursorFollow;
bool SelectedAllMouseLock;
bool Edited;
ImGuiInputTextFlags Flags;
bool ReloadUserBuf;
bool WantReloadUserBuf;
int ReloadSelectionStart;
int ReloadSelectionEnd;
};
@@ -2062,6 +2067,13 @@ struct ImGuiPtrOrIndex
void* Ptr;
int Index;
};
struct ImGuiDeactivatedItemData
{
ImGuiID ID;
int ElapseFrame;
bool HasBeenEditedBefore;
bool IsAlive;
};
typedef enum {
ImGuiPopupPositionPolicy_Default,
ImGuiPopupPositionPolicy_ComboBox,
@@ -2729,9 +2741,9 @@ struct ImGuiContext
int FrameCountEnded;
int FrameCountPlatformEnded;
int FrameCountRendered;
ImGuiID WithinEndChildID;
bool WithinFrameScope;
bool WithinFrameScopeWithImplicitWindow;
bool WithinEndChild;
bool GcCompactAll;
bool TestEngineHookItems;
void* TestEngine;
@@ -2785,9 +2797,8 @@ struct ImGuiContext
ImGuiWindow* ActiveIdWindow;
ImGuiInputSource ActiveIdSource;
ImGuiID ActiveIdPreviousFrame;
bool ActiveIdPreviousFrameIsAlive;
bool ActiveIdPreviousFrameHasBeenEditedBefore;
ImGuiWindow* ActiveIdPreviousFrameWindow;
ImGuiDeactivatedItemData DeactivatedItemData;
ImGuiDataTypeStorage ActiveIdValueOnActivation;
ImGuiID LastActiveId;
float LastActiveIdTimer;
double LastKeyModsChangeTime;