mirror of
https://github.com/cimgui/cimgui.git
synced 2025-08-13 05:08:31 +01:00
Merge branch 'docking_inter'
This commit is contained in:
38
cimgui.h
38
cimgui.h
@@ -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
|
||||
#ifndef CIMGUI_INCLUDED
|
||||
@@ -85,6 +85,7 @@ typedef struct ImGuiColorMod ImGuiColorMod;
|
||||
typedef struct ImGuiContextHook ImGuiContextHook;
|
||||
typedef struct ImGuiDataVarInfo ImGuiDataVarInfo;
|
||||
typedef struct ImGuiDataTypeInfo ImGuiDataTypeInfo;
|
||||
typedef struct ImGuiDeactivatedItemData ImGuiDeactivatedItemData;
|
||||
typedef struct ImGuiErrorRecoveryState ImGuiErrorRecoveryState;
|
||||
typedef struct ImGuiGroupData ImGuiGroupData;
|
||||
typedef struct ImGuiInputTextState ImGuiInputTextState;
|
||||
@@ -323,9 +324,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 {
|
||||
@@ -446,6 +448,7 @@ typedef enum {
|
||||
ImGuiDataType_Float,
|
||||
ImGuiDataType_Double,
|
||||
ImGuiDataType_Bool,
|
||||
ImGuiDataType_String,
|
||||
ImGuiDataType_COUNT
|
||||
}ImGuiDataType_;
|
||||
typedef enum {
|
||||
@@ -799,6 +802,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_;
|
||||
@@ -1500,6 +1504,7 @@ struct ImGuiContext;
|
||||
struct ImGuiContextHook;
|
||||
struct ImGuiDataVarInfo;
|
||||
struct ImGuiDataTypeInfo;
|
||||
struct ImGuiDeactivatedItemData;
|
||||
struct ImGuiErrorRecoveryState;
|
||||
struct ImGuiGroupData;
|
||||
struct ImGuiInputTextState;
|
||||
@@ -1621,8 +1626,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 {
|
||||
@@ -1774,7 +1778,7 @@ struct ImGuiGroupData
|
||||
ImVec2 BackupCurrLineSize;
|
||||
float BackupCurrLineTextBaseOffset;
|
||||
ImGuiID BackupActiveIdIsAlive;
|
||||
bool BackupActiveIdPreviousFrameIsAlive;
|
||||
bool BackupDeactivatedIdIsAlive;
|
||||
bool BackupHoveredIdIsAlive;
|
||||
bool BackupIsSameLine;
|
||||
bool EmitItem;
|
||||
@@ -1801,8 +1805,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;
|
||||
@@ -1812,8 +1818,7 @@ struct ImGuiInputTextState
|
||||
bool CursorFollow;
|
||||
bool SelectedAllMouseLock;
|
||||
bool Edited;
|
||||
ImGuiInputTextFlags Flags;
|
||||
bool ReloadUserBuf;
|
||||
bool WantReloadUserBuf;
|
||||
int ReloadSelectionStart;
|
||||
int ReloadSelectionEnd;
|
||||
};
|
||||
@@ -1931,6 +1936,13 @@ struct ImGuiPtrOrIndex
|
||||
void* Ptr;
|
||||
int Index;
|
||||
};
|
||||
struct ImGuiDeactivatedItemData
|
||||
{
|
||||
ImGuiID ID;
|
||||
int ElapseFrame;
|
||||
bool HasBeenEditedBefore;
|
||||
bool IsAlive;
|
||||
};
|
||||
typedef enum {
|
||||
ImGuiPopupPositionPolicy_Default,
|
||||
ImGuiPopupPositionPolicy_ComboBox,
|
||||
@@ -2464,9 +2476,9 @@ struct ImGuiContext
|
||||
int FrameCount;
|
||||
int FrameCountEnded;
|
||||
int FrameCountRendered;
|
||||
ImGuiID WithinEndChildID;
|
||||
bool WithinFrameScope;
|
||||
bool WithinFrameScopeWithImplicitWindow;
|
||||
bool WithinEndChild;
|
||||
bool GcCompactAll;
|
||||
bool TestEngineHookItems;
|
||||
void* TestEngine;
|
||||
@@ -2520,9 +2532,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;
|
||||
@@ -4271,6 +4282,7 @@ CIMGUI_API void igUpdateMouseMovingWindowEndFrame(void);
|
||||
CIMGUI_API ImGuiID igAddContextHook(ImGuiContext* context,const ImGuiContextHook* hook);
|
||||
CIMGUI_API void igRemoveContextHook(ImGuiContext* context,ImGuiID hook_to_remove);
|
||||
CIMGUI_API void igCallContextHooks(ImGuiContext* context,ImGuiContextHookType type);
|
||||
CIMGUI_API void igScaleWindowsInViewport(ImGuiViewportP* viewport,float scale);
|
||||
CIMGUI_API void igSetWindowViewport(ImGuiWindow* window,ImGuiViewportP* viewport);
|
||||
CIMGUI_API void igMarkIniSettingsDirty_Nil(void);
|
||||
CIMGUI_API void igMarkIniSettingsDirty_WindowPtr(ImGuiWindow* window);
|
||||
@@ -4629,7 +4641,7 @@ CIMGUI_API void ImGuiFreeType_SetAllocatorFunctions(void*(*alloc_func)(size_t sz
|
||||
//no LogTextV
|
||||
CIMGUI_API void igLogText(const char *fmt, ...);
|
||||
//no appendfV
|
||||
CIMGUI_API void ImGuiTextBuffer_appendf(struct ImGuiTextBuffer *buffer, const char *fmt, ...);
|
||||
CIMGUI_API void ImGuiTextBuffer_appendf(ImGuiTextBuffer *self, const char *fmt, ...);
|
||||
//for getting FLT_MAX in bindings
|
||||
CIMGUI_API float igGET_FLT_MAX(void);
|
||||
//for getting FLT_MIN in bindings
|
||||
|
Reference in New Issue
Block a user