mirror of
https://github.com/cimgui/cimgui.git
synced 2025-08-10 03:48:30 +01:00
pull imgui 1.90.6 and generate
This commit is contained in:
58
cimgui.h
58
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.90.5" 19050 from Dear ImGui https://github.com/ocornut/imgui
|
||||
//based on imgui.h file version "1.90.6" 19060 from Dear ImGui https://github.com/ocornut/imgui
|
||||
//with imgui_internal.h api
|
||||
//docking branch
|
||||
#ifndef CIMGUI_INCLUDED
|
||||
@@ -105,6 +105,7 @@ typedef struct ImGuiStyleMod ImGuiStyleMod;
|
||||
typedef struct ImGuiTabBar ImGuiTabBar;
|
||||
typedef struct ImGuiTabItem ImGuiTabItem;
|
||||
typedef struct ImGuiTable ImGuiTable;
|
||||
typedef struct ImGuiTableHeaderData ImGuiTableHeaderData;
|
||||
typedef struct ImGuiTableColumn ImGuiTableColumn;
|
||||
typedef struct ImGuiTableInstanceData ImGuiTableInstanceData;
|
||||
typedef struct ImGuiTableTempData ImGuiTableTempData;
|
||||
@@ -113,6 +114,7 @@ typedef struct ImGuiTableColumnsSettings ImGuiTableColumnsSettings;
|
||||
typedef struct ImGuiTypingSelectState ImGuiTypingSelectState;
|
||||
typedef struct ImGuiTypingSelectRequest ImGuiTypingSelectRequest;
|
||||
typedef struct ImGuiWindow ImGuiWindow;
|
||||
typedef struct ImGuiWindowDockStyle ImGuiWindowDockStyle;
|
||||
typedef struct ImGuiWindowTempData ImGuiWindowTempData;
|
||||
typedef struct ImGuiWindowSettings ImGuiWindowSettings;
|
||||
typedef struct ImVector_const_charPtr {int Size;int Capacity;const char** Data;} ImVector_const_charPtr;
|
||||
@@ -296,8 +298,9 @@ typedef enum {
|
||||
ImGuiTreeNodeFlags_FramePadding = 1 << 10,
|
||||
ImGuiTreeNodeFlags_SpanAvailWidth = 1 << 11,
|
||||
ImGuiTreeNodeFlags_SpanFullWidth = 1 << 12,
|
||||
ImGuiTreeNodeFlags_SpanAllColumns = 1 << 13,
|
||||
ImGuiTreeNodeFlags_NavLeftJumpsBackHere = 1 << 14,
|
||||
ImGuiTreeNodeFlags_SpanTextWidth = 1 << 13,
|
||||
ImGuiTreeNodeFlags_SpanAllColumns = 1 << 14,
|
||||
ImGuiTreeNodeFlags_NavLeftJumpsBackHere = 1 << 15,
|
||||
ImGuiTreeNodeFlags_CollapsingHeader = ImGuiTreeNodeFlags_Framed | ImGuiTreeNodeFlags_NoTreePushOnOpen | ImGuiTreeNodeFlags_NoAutoOpenOnLog,
|
||||
}ImGuiTreeNodeFlags_;
|
||||
typedef enum {
|
||||
@@ -720,6 +723,7 @@ typedef enum {
|
||||
ImGuiStyleVar_TabBorderSize,
|
||||
ImGuiStyleVar_TabBarBorderSize,
|
||||
ImGuiStyleVar_TableAngledHeadersAngle,
|
||||
ImGuiStyleVar_TableAngledHeadersTextAlign,
|
||||
ImGuiStyleVar_ButtonTextAlign,
|
||||
ImGuiStyleVar_SelectableTextAlign,
|
||||
ImGuiStyleVar_SeparatorTextBorderSize,
|
||||
@@ -932,6 +936,7 @@ struct ImGuiStyle
|
||||
float TabMinWidthForCloseButton;
|
||||
float TabBarBorderSize;
|
||||
float TableAngledHeadersAngle;
|
||||
ImVec2 TableAngledHeadersTextAlign;
|
||||
ImGuiDir ColorButtonPosition;
|
||||
ImVec2 ButtonTextAlign;
|
||||
ImVec2 SelectableTextAlign;
|
||||
@@ -1231,12 +1236,12 @@ typedef enum {
|
||||
}ImDrawListFlags_;
|
||||
typedef struct ImVector_ImDrawVert {int Size;int Capacity;ImDrawVert* Data;} ImVector_ImDrawVert;
|
||||
|
||||
typedef struct ImVector_ImVec2 {int Size;int Capacity;ImVec2* Data;} ImVector_ImVec2;
|
||||
|
||||
typedef struct ImVector_ImVec4 {int Size;int Capacity;ImVec4* Data;} ImVector_ImVec4;
|
||||
|
||||
typedef struct ImVector_ImTextureID {int Size;int Capacity;ImTextureID* Data;} ImVector_ImTextureID;
|
||||
|
||||
typedef struct ImVector_ImVec2 {int Size;int Capacity;ImVec2* Data;} ImVector_ImVec2;
|
||||
|
||||
struct ImDrawList
|
||||
{
|
||||
ImVector_ImDrawCmd CmdBuffer;
|
||||
@@ -1245,15 +1250,15 @@ struct ImDrawList
|
||||
ImDrawListFlags Flags;
|
||||
unsigned int _VtxCurrentIdx;
|
||||
ImDrawListSharedData* _Data;
|
||||
const char* _OwnerName;
|
||||
ImDrawVert* _VtxWritePtr;
|
||||
ImDrawIdx* _IdxWritePtr;
|
||||
ImVector_ImVec4 _ClipRectStack;
|
||||
ImVector_ImTextureID _TextureIdStack;
|
||||
ImVector_ImVec2 _Path;
|
||||
ImDrawCmdHeader _CmdHeader;
|
||||
ImDrawListSplitter _Splitter;
|
||||
ImVector_ImVec4 _ClipRectStack;
|
||||
ImVector_ImTextureID _TextureIdStack;
|
||||
float _FringeScale;
|
||||
const char* _OwnerName;
|
||||
};
|
||||
typedef struct ImVector_ImDrawListPtr {int Size;int Capacity;ImDrawList** Data;} ImVector_ImDrawListPtr;
|
||||
|
||||
@@ -1495,6 +1500,7 @@ struct ImGuiStyleMod;
|
||||
struct ImGuiTabBar;
|
||||
struct ImGuiTabItem;
|
||||
struct ImGuiTable;
|
||||
struct ImGuiTableHeaderData;
|
||||
struct ImGuiTableColumn;
|
||||
struct ImGuiTableInstanceData;
|
||||
struct ImGuiTableTempData;
|
||||
@@ -1503,6 +1509,7 @@ struct ImGuiTableColumnsSettings;
|
||||
struct ImGuiTypingSelectState;
|
||||
struct ImGuiTypingSelectRequest;
|
||||
struct ImGuiWindow;
|
||||
struct ImGuiWindowDockStyle;
|
||||
struct ImGuiWindowTempData;
|
||||
struct ImGuiWindowSettings;
|
||||
typedef int ImGuiDataAuthority;
|
||||
@@ -1523,6 +1530,7 @@ typedef int ImGuiSeparatorFlags;
|
||||
typedef int ImGuiTextFlags;
|
||||
typedef int ImGuiTooltipFlags;
|
||||
typedef int ImGuiTypingSelectFlags;
|
||||
typedef int ImGuiWindowRefreshFlags;
|
||||
typedef void (*ImGuiErrorLogCallback)(void* user_data, const char* fmt, ...);
|
||||
extern ImGuiContext* GImGui;
|
||||
typedef struct StbUndoRecord StbUndoRecord;
|
||||
@@ -1809,6 +1817,12 @@ struct ImGuiInputTextState
|
||||
int ReloadSelectionStart;
|
||||
int ReloadSelectionEnd;
|
||||
};
|
||||
typedef enum {
|
||||
ImGuiWindowRefreshFlags_None = 0,
|
||||
ImGuiWindowRefreshFlags_TryToAvoidRefresh = 1 << 0,
|
||||
ImGuiWindowRefreshFlags_RefreshOnHover = 1 << 1,
|
||||
ImGuiWindowRefreshFlags_RefreshOnFocus = 1 << 2,
|
||||
}ImGuiWindowRefreshFlags_;
|
||||
typedef enum {
|
||||
ImGuiNextWindowDataFlags_None = 0,
|
||||
ImGuiNextWindowDataFlags_HasPos = 1 << 0,
|
||||
@@ -1820,9 +1834,10 @@ typedef enum {
|
||||
ImGuiNextWindowDataFlags_HasBgAlpha = 1 << 6,
|
||||
ImGuiNextWindowDataFlags_HasScroll = 1 << 7,
|
||||
ImGuiNextWindowDataFlags_HasChildFlags = 1 << 8,
|
||||
ImGuiNextWindowDataFlags_HasViewport = 1 << 9,
|
||||
ImGuiNextWindowDataFlags_HasDock = 1 << 10,
|
||||
ImGuiNextWindowDataFlags_HasWindowClass = 1 << 11,
|
||||
ImGuiNextWindowDataFlags_HasRefreshPolicy = 1 << 9,
|
||||
ImGuiNextWindowDataFlags_HasViewport = 1 << 10,
|
||||
ImGuiNextWindowDataFlags_HasDock = 1 << 11,
|
||||
ImGuiNextWindowDataFlags_HasWindowClass = 1 << 12,
|
||||
}ImGuiNextWindowDataFlags_;
|
||||
struct ImGuiNextWindowData
|
||||
{
|
||||
@@ -1847,6 +1862,7 @@ struct ImGuiNextWindowData
|
||||
ImGuiID DockId;
|
||||
ImGuiWindowClass WindowClass;
|
||||
ImVec2 MenuBarOffsetMinVal;
|
||||
ImGuiWindowRefreshFlags RefreshFlagsVal;
|
||||
};
|
||||
typedef ImS64 ImGuiSelectionUserData;
|
||||
typedef enum {
|
||||
@@ -2157,10 +2173,10 @@ struct ImGuiNavItemData
|
||||
ImGuiID FocusScopeId;
|
||||
ImRect RectRel;
|
||||
ImGuiItemFlags InFlags;
|
||||
ImGuiSelectionUserData SelectionUserData;
|
||||
float DistBox;
|
||||
float DistCenter;
|
||||
float DistAxial;
|
||||
ImGuiSelectionUserData SelectionUserData;
|
||||
};
|
||||
typedef struct ImGuiFocusScopeData ImGuiFocusScopeData;
|
||||
struct ImGuiFocusScopeData
|
||||
@@ -2313,7 +2329,6 @@ typedef enum {
|
||||
ImGuiWindowDockStyleCol_TabUnfocusedActive,
|
||||
ImGuiWindowDockStyleCol_COUNT
|
||||
}ImGuiWindowDockStyleCol;
|
||||
typedef struct ImGuiWindowDockStyle ImGuiWindowDockStyle;
|
||||
struct ImGuiWindowDockStyle
|
||||
{
|
||||
ImU32 Colors[ImGuiWindowDockStyleCol_COUNT];
|
||||
@@ -2902,6 +2917,7 @@ struct ImGuiWindow
|
||||
bool Collapsed;
|
||||
bool WantCollapseToggle;
|
||||
bool SkipItems;
|
||||
bool SkipRefresh;
|
||||
bool Appearing;
|
||||
bool Hidden;
|
||||
bool IsFallbackWindow;
|
||||
@@ -3095,6 +3111,13 @@ struct ImGuiTableCellData
|
||||
ImU32 BgColor;
|
||||
ImGuiTableColumnIdx Column;
|
||||
};
|
||||
struct ImGuiTableHeaderData
|
||||
{
|
||||
ImGuiTableColumnIdx Index;
|
||||
ImU32 TextColor;
|
||||
ImU32 BgColor0;
|
||||
ImU32 BgColor1;
|
||||
};
|
||||
struct ImGuiTableInstanceData
|
||||
{
|
||||
ImGuiID TableInstanceID;
|
||||
@@ -3229,11 +3252,14 @@ struct ImGuiTable
|
||||
bool MemoryCompacted;
|
||||
bool HostSkipItems;
|
||||
};
|
||||
typedef struct ImVector_ImGuiTableHeaderData {int Size;int Capacity;ImGuiTableHeaderData* Data;} ImVector_ImGuiTableHeaderData;
|
||||
|
||||
struct ImGuiTableTempData
|
||||
{
|
||||
int TableIndex;
|
||||
float LastTimeActive;
|
||||
float AngledHeadersExtraWidth;
|
||||
ImVector_ImGuiTableHeaderData AngledHeadersRequests;
|
||||
ImVec2 UserOuterSize;
|
||||
ImDrawListSplitter DrawSplitter;
|
||||
ImRect HostBackupWorkRect;
|
||||
@@ -3328,6 +3354,7 @@ typedef ImVector<ImGuiStoragePair> ImVector_ImGuiStoragePair;
|
||||
typedef ImVector<ImGuiStyleMod> ImVector_ImGuiStyleMod;
|
||||
typedef ImVector<ImGuiTabItem> ImVector_ImGuiTabItem;
|
||||
typedef ImVector<ImGuiTableColumnSortSpecs> ImVector_ImGuiTableColumnSortSpecs;
|
||||
typedef ImVector<ImGuiTableHeaderData> ImVector_ImGuiTableHeaderData;
|
||||
typedef ImVector<ImGuiTableInstanceData> ImVector_ImGuiTableInstanceData;
|
||||
typedef ImVector<ImGuiTableTempData> ImVector_ImGuiTableTempData;
|
||||
typedef ImVector<ImGuiTextRange> ImVector_ImGuiTextRange;
|
||||
@@ -4046,6 +4073,7 @@ CIMGUI_API int igImTextCountCharsFromUtf8(const char* in_text,const char* in_tex
|
||||
CIMGUI_API int igImTextCountUtf8BytesFromChar(const char* in_text,const char* in_text_end);
|
||||
CIMGUI_API int igImTextCountUtf8BytesFromStr(const ImWchar* in_text,const ImWchar* in_text_end);
|
||||
CIMGUI_API const char* igImTextFindPreviousUtf8Codepoint(const char* in_text_start,const char* in_text_curr);
|
||||
CIMGUI_API int igImTextCountLines(const char* in_text,const char* in_text_end);
|
||||
CIMGUI_API ImFileHandle igImFileOpen(const char* filename,const char* mode);
|
||||
CIMGUI_API bool igImFileClose(ImFileHandle file);
|
||||
CIMGUI_API ImU64 igImFileGetSize(ImFileHandle file);
|
||||
@@ -4300,6 +4328,7 @@ CIMGUI_API ImGuiWindow* igGetCurrentWindow(void);
|
||||
CIMGUI_API ImGuiWindow* igFindWindowByID(ImGuiID id);
|
||||
CIMGUI_API ImGuiWindow* igFindWindowByName(const char* name);
|
||||
CIMGUI_API void igUpdateWindowParentAndRootLinks(ImGuiWindow* window,ImGuiWindowFlags flags,ImGuiWindow* parent_window);
|
||||
CIMGUI_API void igUpdateWindowSkipRefresh(ImGuiWindow* window);
|
||||
CIMGUI_API void igCalcWindowNextAutoFitSize(ImVec2 *pOut,ImGuiWindow* window);
|
||||
CIMGUI_API bool igIsWindowChildOf(ImGuiWindow* window,ImGuiWindow* potential_parent,bool popup_hierarchy,bool dock_hierarchy);
|
||||
CIMGUI_API bool igIsWindowWithinBeginStackOf(ImGuiWindow* window,ImGuiWindow* potential_parent);
|
||||
@@ -4322,6 +4351,7 @@ CIMGUI_API void igBringWindowToDisplayBack(ImGuiWindow* window);
|
||||
CIMGUI_API void igBringWindowToDisplayBehind(ImGuiWindow* window,ImGuiWindow* above_window);
|
||||
CIMGUI_API int igFindWindowDisplayIndex(ImGuiWindow* window);
|
||||
CIMGUI_API ImGuiWindow* igFindBottomMostVisibleWindowWithinBeginStack(ImGuiWindow* window);
|
||||
CIMGUI_API void igSetNextWindowRefreshPolicy(ImGuiWindowRefreshFlags flags);
|
||||
CIMGUI_API void igSetCurrentFont(ImFont* font);
|
||||
CIMGUI_API ImFont* igGetDefaultFont(void);
|
||||
CIMGUI_API ImDrawList* igGetForegroundDrawList_WindowPtr(ImGuiWindow* window);
|
||||
@@ -4552,7 +4582,7 @@ CIMGUI_API float igTableGetHeaderRowHeight(void);
|
||||
CIMGUI_API float igTableGetHeaderAngledMaxLabelWidth(void);
|
||||
CIMGUI_API void igTablePushBackgroundChannel(void);
|
||||
CIMGUI_API void igTablePopBackgroundChannel(void);
|
||||
CIMGUI_API void igTableAngledHeadersRowEx(float angle,float max_label_width);
|
||||
CIMGUI_API void igTableAngledHeadersRowEx(ImGuiID row_id,float angle,float max_label_width,const ImGuiTableHeaderData* data,int data_count);
|
||||
CIMGUI_API ImGuiTable* igGetCurrentTable(void);
|
||||
CIMGUI_API ImGuiTable* igTableFindByID(ImGuiID id);
|
||||
CIMGUI_API bool igBeginTableEx(const char* name,ImGuiID id,int columns_count,ImGuiTableFlags flags,const ImVec2 outer_size,float inner_width);
|
||||
|
Reference in New Issue
Block a user