mirror of
https://github.com/cimgui/cimgui.git
synced 2025-08-14 05:38:29 +01:00
Merge branch 'docking_inter'
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.91.0" 19100 from Dear ImGui https://github.com/ocornut/imgui
|
||||
//based on imgui.h file version "1.91.1" 19110 from Dear ImGui https://github.com/ocornut/imgui
|
||||
//with imgui_internal.h api
|
||||
#ifndef CIMGUI_INCLUDED
|
||||
#define CIMGUI_INCLUDED
|
||||
@@ -62,6 +62,7 @@ typedef struct ImGuiListClipper ImGuiListClipper;
|
||||
typedef struct ImGuiMultiSelectIO ImGuiMultiSelectIO;
|
||||
typedef struct ImGuiOnceUponAFrame ImGuiOnceUponAFrame;
|
||||
typedef struct ImGuiPayload ImGuiPayload;
|
||||
typedef struct ImGuiPlatformIO ImGuiPlatformIO;
|
||||
typedef struct ImGuiPlatformImeData ImGuiPlatformImeData;
|
||||
typedef struct ImGuiSelectionBasicStorage ImGuiSelectionBasicStorage;
|
||||
typedef struct ImGuiSelectionExternalStorage ImGuiSelectionExternalStorage;
|
||||
@@ -147,6 +148,7 @@ struct ImGuiListClipper;
|
||||
struct ImGuiMultiSelectIO;
|
||||
struct ImGuiOnceUponAFrame;
|
||||
struct ImGuiPayload;
|
||||
struct ImGuiPlatformIO;
|
||||
struct ImGuiPlatformImeData;
|
||||
struct ImGuiSelectionBasicStorage;
|
||||
struct ImGuiSelectionExternalStorage;
|
||||
@@ -247,7 +249,7 @@ typedef enum {
|
||||
}ImGuiWindowFlags_;
|
||||
typedef enum {
|
||||
ImGuiChildFlags_None = 0,
|
||||
ImGuiChildFlags_Border = 1 << 0,
|
||||
ImGuiChildFlags_Borders = 1 << 0,
|
||||
ImGuiChildFlags_AlwaysUseWindowPadding = 1 << 1,
|
||||
ImGuiChildFlags_ResizeX = 1 << 2,
|
||||
ImGuiChildFlags_ResizeY = 1 << 3,
|
||||
@@ -1016,13 +1018,6 @@ struct ImGuiIO
|
||||
void* BackendPlatformUserData;
|
||||
void* BackendRendererUserData;
|
||||
void* BackendLanguageUserData;
|
||||
const char* (*GetClipboardTextFn)(void* user_data);
|
||||
void (*SetClipboardTextFn)(void* user_data, const char* text);
|
||||
void* ClipboardUserData;
|
||||
bool (*PlatformOpenInShellFn)(ImGuiContext* ctx, const char* path);
|
||||
void* PlatformOpenInShellUserData;
|
||||
void (*PlatformSetImeDataFn)(ImGuiContext* ctx, ImGuiViewport* viewport, ImGuiPlatformImeData* data);
|
||||
ImWchar PlatformLocaleDecimalPoint;
|
||||
bool WantCaptureMouse;
|
||||
bool WantCaptureKeyboard;
|
||||
bool WantTextInput;
|
||||
@@ -1447,6 +1442,17 @@ struct ImGuiViewport
|
||||
void* PlatformHandle;
|
||||
void* PlatformHandleRaw;
|
||||
};
|
||||
struct ImGuiPlatformIO
|
||||
{
|
||||
const char* (*Platform_GetClipboardTextFn)(ImGuiContext* ctx);
|
||||
void (*Platform_SetClipboardTextFn)(ImGuiContext* ctx, const char* text);
|
||||
void* Platform_ClipboardUserData;
|
||||
bool (*Platform_OpenInShellFn)(ImGuiContext* ctx, const char* path);
|
||||
void* Platform_OpenInShellUserData;
|
||||
void (*Platform_SetImeDataFn)(ImGuiContext* ctx, ImGuiViewport* viewport, ImGuiPlatformImeData* data);
|
||||
void* Platform_ImeUserData;
|
||||
ImWchar Platform_LocaleDecimalPoint;
|
||||
};
|
||||
struct ImGuiPlatformImeData
|
||||
{
|
||||
bool WantVisible;
|
||||
@@ -1705,6 +1711,7 @@ typedef enum {
|
||||
typedef enum {
|
||||
ImGuiTreeNodeFlags_ClipLabelForTrailingButton = 1 << 28,
|
||||
ImGuiTreeNodeFlags_UpsideDownArrow = 1 << 29,
|
||||
ImGuiTreeNodeFlags_OpenOnMask_ = ImGuiTreeNodeFlags_OpenOnDoubleClick | ImGuiTreeNodeFlags_OpenOnArrow,
|
||||
}ImGuiTreeNodeFlagsPrivate_;
|
||||
typedef enum {
|
||||
ImGuiSeparatorFlags_None = 0,
|
||||
@@ -1808,7 +1815,7 @@ struct ImGuiInputTextState
|
||||
ImVector_char InitialTextA;
|
||||
bool TextAIsValid;
|
||||
int BufCapacityA;
|
||||
float ScrollX;
|
||||
ImVec2 Scroll;
|
||||
STB_TexteditState Stb;
|
||||
float CursorAnim;
|
||||
bool CursorFollow;
|
||||
@@ -2265,10 +2272,10 @@ struct ImGuiViewportP
|
||||
ImDrawList* BgFgDrawLists[2];
|
||||
ImDrawData DrawDataP;
|
||||
ImDrawDataBuilder DrawDataBuilder;
|
||||
ImVec2 WorkOffsetMin;
|
||||
ImVec2 WorkOffsetMax;
|
||||
ImVec2 BuildWorkOffsetMin;
|
||||
ImVec2 BuildWorkOffsetMax;
|
||||
ImVec2 WorkInsetMin;
|
||||
ImVec2 WorkInsetMax;
|
||||
ImVec2 BuildWorkInsetMin;
|
||||
ImVec2 BuildWorkInsetMax;
|
||||
};
|
||||
struct ImGuiWindowSettings
|
||||
{
|
||||
@@ -2446,6 +2453,7 @@ struct ImGuiContext
|
||||
bool Initialized;
|
||||
bool FontAtlasOwnedByContext;
|
||||
ImGuiIO IO;
|
||||
ImGuiPlatformIO PlatformIO;
|
||||
ImGuiStyle Style;
|
||||
ImFont* Font;
|
||||
float FontSize;
|
||||
@@ -2942,6 +2950,7 @@ struct ImGuiTableColumn
|
||||
float MaxX;
|
||||
float WidthRequest;
|
||||
float WidthAuto;
|
||||
float WidthMax;
|
||||
float StretchWeight;
|
||||
float InitStretchWeightOrWidth;
|
||||
ImRect ClipRect;
|
||||
@@ -3252,6 +3261,7 @@ CIMGUI_API void igDestroyContext(ImGuiContext* ctx);
|
||||
CIMGUI_API ImGuiContext* igGetCurrentContext(void);
|
||||
CIMGUI_API void igSetCurrentContext(ImGuiContext* ctx);
|
||||
CIMGUI_API ImGuiIO* igGetIO(void);
|
||||
CIMGUI_API ImGuiPlatformIO* igGetPlatformIO(void);
|
||||
CIMGUI_API ImGuiStyle* igGetStyle(void);
|
||||
CIMGUI_API void igNewFrame(void);
|
||||
CIMGUI_API void igEndFrame(void);
|
||||
@@ -3318,6 +3328,8 @@ CIMGUI_API void igPushStyleColor_Vec4(ImGuiCol idx,const ImVec4 col);
|
||||
CIMGUI_API void igPopStyleColor(int count);
|
||||
CIMGUI_API void igPushStyleVar_Float(ImGuiStyleVar idx,float val);
|
||||
CIMGUI_API void igPushStyleVar_Vec2(ImGuiStyleVar idx,const ImVec2 val);
|
||||
CIMGUI_API void igPushStyleVarX(ImGuiStyleVar idx,float val_x);
|
||||
CIMGUI_API void igPushStyleVarY(ImGuiStyleVar idx,float val_y);
|
||||
CIMGUI_API void igPopStyleVar(int count);
|
||||
CIMGUI_API void igPushItemFlag(ImGuiItemFlags option,bool enabled);
|
||||
CIMGUI_API void igPopItemFlag(void);
|
||||
@@ -3528,7 +3540,7 @@ CIMGUI_API ImGuiTableColumnFlags igTableGetColumnFlags(int column_n);
|
||||
CIMGUI_API void igTableSetColumnEnabled(int column_n,bool v);
|
||||
CIMGUI_API int igTableGetHoveredColumn(void);
|
||||
CIMGUI_API void igTableSetBgColor(ImGuiTableBgTarget target,ImU32 color,int column_n);
|
||||
CIMGUI_API void igColumns(int count,const char* id,bool border);
|
||||
CIMGUI_API void igColumns(int count,const char* id,bool borders);
|
||||
CIMGUI_API void igNextColumn(void);
|
||||
CIMGUI_API int igGetColumnIndex(void);
|
||||
CIMGUI_API float igGetColumnWidth(int column_index);
|
||||
@@ -3822,6 +3834,7 @@ CIMGUI_API void ImDrawList__TryMergeDrawCmds(ImDrawList* self);
|
||||
CIMGUI_API void ImDrawList__OnChangedClipRect(ImDrawList* self);
|
||||
CIMGUI_API void ImDrawList__OnChangedTextureID(ImDrawList* self);
|
||||
CIMGUI_API void ImDrawList__OnChangedVtxOffset(ImDrawList* self);
|
||||
CIMGUI_API void ImDrawList__SetTextureID(ImDrawList* self,ImTextureID texture_id);
|
||||
CIMGUI_API int ImDrawList__CalcCircleAutoSegmentCount(ImDrawList* self,float radius);
|
||||
CIMGUI_API void ImDrawList__PathArcToFastEx(ImDrawList* self,const ImVec2 center,float radius,int a_min_sample,int a_max_sample,int a_step);
|
||||
CIMGUI_API void ImDrawList__PathArcToN(ImDrawList* self,const ImVec2 center,float radius,float a_min,float a_max,int num_segments);
|
||||
@@ -3898,6 +3911,8 @@ CIMGUI_API ImGuiViewport* ImGuiViewport_ImGuiViewport(void);
|
||||
CIMGUI_API void ImGuiViewport_destroy(ImGuiViewport* self);
|
||||
CIMGUI_API void ImGuiViewport_GetCenter(ImVec2 *pOut,ImGuiViewport* self);
|
||||
CIMGUI_API void ImGuiViewport_GetWorkCenter(ImVec2 *pOut,ImGuiViewport* self);
|
||||
CIMGUI_API ImGuiPlatformIO* ImGuiPlatformIO_ImGuiPlatformIO(void);
|
||||
CIMGUI_API void ImGuiPlatformIO_destroy(ImGuiPlatformIO* self);
|
||||
CIMGUI_API ImGuiPlatformImeData* ImGuiPlatformImeData_ImGuiPlatformImeData(void);
|
||||
CIMGUI_API void ImGuiPlatformImeData_destroy(ImGuiPlatformImeData* self);
|
||||
CIMGUI_API ImGuiID igImHashData(const void* data,size_t data_size,ImGuiID seed);
|
||||
@@ -4134,8 +4149,8 @@ CIMGUI_API ImGuiMultiSelectState* ImGuiMultiSelectState_ImGuiMultiSelectState(vo
|
||||
CIMGUI_API void ImGuiMultiSelectState_destroy(ImGuiMultiSelectState* self);
|
||||
CIMGUI_API ImGuiViewportP* ImGuiViewportP_ImGuiViewportP(void);
|
||||
CIMGUI_API void ImGuiViewportP_destroy(ImGuiViewportP* self);
|
||||
CIMGUI_API void ImGuiViewportP_CalcWorkRectPos(ImVec2 *pOut,ImGuiViewportP* self,const ImVec2 off_min);
|
||||
CIMGUI_API void ImGuiViewportP_CalcWorkRectSize(ImVec2 *pOut,ImGuiViewportP* self,const ImVec2 off_min,const ImVec2 off_max);
|
||||
CIMGUI_API void ImGuiViewportP_CalcWorkRectPos(ImVec2 *pOut,ImGuiViewportP* self,const ImVec2 inset_min);
|
||||
CIMGUI_API void ImGuiViewportP_CalcWorkRectSize(ImVec2 *pOut,ImGuiViewportP* self,const ImVec2 inset_min,const ImVec2 inset_max);
|
||||
CIMGUI_API void ImGuiViewportP_UpdateWorkRect(ImGuiViewportP* self);
|
||||
CIMGUI_API void ImGuiViewportP_GetMainRect(ImRect *pOut,ImGuiViewportP* self);
|
||||
CIMGUI_API void ImGuiViewportP_GetWorkRect(ImRect *pOut,ImGuiViewportP* self);
|
||||
@@ -4160,6 +4175,7 @@ CIMGUI_API void ImGuiWindow_destroy(ImGuiWindow* self);
|
||||
CIMGUI_API ImGuiID ImGuiWindow_GetID_Str(ImGuiWindow* self,const char* str,const char* str_end);
|
||||
CIMGUI_API ImGuiID ImGuiWindow_GetID_Ptr(ImGuiWindow* self,const void* ptr);
|
||||
CIMGUI_API ImGuiID ImGuiWindow_GetID_Int(ImGuiWindow* self,int n);
|
||||
CIMGUI_API ImGuiID ImGuiWindow_GetIDFromPos(ImGuiWindow* self,const ImVec2 p_abs);
|
||||
CIMGUI_API ImGuiID ImGuiWindow_GetIDFromRectangle(ImGuiWindow* self,const ImRect r_abs);
|
||||
CIMGUI_API void ImGuiWindow_Rect(ImRect *pOut,ImGuiWindow* self);
|
||||
CIMGUI_API float ImGuiWindow_CalcFontSize(ImGuiWindow* self);
|
||||
@@ -4201,8 +4217,8 @@ CIMGUI_API void igSetWindowHiddenAndSkipItemsForCurrentFrame(ImGuiWindow* window
|
||||
CIMGUI_API void igSetWindowParentWindowForFocusRoute(ImGuiWindow* window,ImGuiWindow* parent_window);
|
||||
CIMGUI_API void igWindowRectAbsToRel(ImRect *pOut,ImGuiWindow* window,const ImRect r);
|
||||
CIMGUI_API void igWindowRectRelToAbs(ImRect *pOut,ImGuiWindow* window,const ImRect r);
|
||||
CIMGUI_API void igWindowPosRelToAbs(ImVec2 *pOut,ImGuiWindow* window,const ImVec2 p);
|
||||
CIMGUI_API void igWindowPosAbsToRel(ImVec2 *pOut,ImGuiWindow* window,const ImVec2 p);
|
||||
CIMGUI_API void igWindowPosRelToAbs(ImVec2 *pOut,ImGuiWindow* window,const ImVec2 p);
|
||||
CIMGUI_API void igFocusWindow(ImGuiWindow* window,ImGuiFocusRequestFlags flags);
|
||||
CIMGUI_API void igFocusTopMostWindowUnderOne(ImGuiWindow* under_this_window,ImGuiWindow* ignore_window,ImGuiViewport* filter_viewport,ImGuiFocusRequestFlags flags);
|
||||
CIMGUI_API void igBringWindowToFocusFront(ImGuiWindow* window);
|
||||
@@ -4329,7 +4345,7 @@ CIMGUI_API bool igIsKeyboardKey(ImGuiKey key);
|
||||
CIMGUI_API bool igIsGamepadKey(ImGuiKey key);
|
||||
CIMGUI_API bool igIsMouseKey(ImGuiKey key);
|
||||
CIMGUI_API bool igIsAliasKey(ImGuiKey key);
|
||||
CIMGUI_API bool igIsModKey(ImGuiKey key);
|
||||
CIMGUI_API bool igIsLRModKey(ImGuiKey key);
|
||||
CIMGUI_API ImGuiKeyChord igFixupKeyChord(ImGuiKeyChord key_chord);
|
||||
CIMGUI_API ImGuiKey igConvertSingleModFlagToKey(ImGuiKey key);
|
||||
CIMGUI_API ImGuiKeyData* igGetKeyData_ContextPtr(ImGuiContext* ctx,ImGuiKey key);
|
||||
@@ -4428,7 +4444,7 @@ CIMGUI_API void igTableEndCell(ImGuiTable* table);
|
||||
CIMGUI_API void igTableGetCellBgRect(ImRect *pOut,const ImGuiTable* table,int column_n);
|
||||
CIMGUI_API const char* igTableGetColumnName_TablePtr(const ImGuiTable* table,int column_n);
|
||||
CIMGUI_API ImGuiID igTableGetColumnResizeID(ImGuiTable* table,int column_n,int instance_no);
|
||||
CIMGUI_API float igTableGetMaxColumnWidth(const ImGuiTable* table,int column_n);
|
||||
CIMGUI_API float igTableCalcMaxColumnWidth(const ImGuiTable* table,int column_n);
|
||||
CIMGUI_API void igTableSetColumnWidthAutoSingle(ImGuiTable* table,int column_n);
|
||||
CIMGUI_API void igTableSetColumnWidthAutoAll(ImGuiTable* table);
|
||||
CIMGUI_API void igTableRemove(ImGuiTable* table);
|
||||
@@ -4465,7 +4481,7 @@ CIMGUI_API void igRenderTextWrapped(ImVec2 pos,const char* text,const char* text
|
||||
CIMGUI_API void igRenderTextClipped(const ImVec2 pos_min,const ImVec2 pos_max,const char* text,const char* text_end,const ImVec2* text_size_if_known,const ImVec2 align,const ImRect* clip_rect);
|
||||
CIMGUI_API void igRenderTextClippedEx(ImDrawList* draw_list,const ImVec2 pos_min,const ImVec2 pos_max,const char* text,const char* text_end,const ImVec2* text_size_if_known,const ImVec2 align,const ImRect* clip_rect);
|
||||
CIMGUI_API void igRenderTextEllipsis(ImDrawList* draw_list,const ImVec2 pos_min,const ImVec2 pos_max,float clip_max_x,float ellipsis_max_x,const char* text,const char* text_end,const ImVec2* text_size_if_known);
|
||||
CIMGUI_API void igRenderFrame(ImVec2 p_min,ImVec2 p_max,ImU32 fill_col,bool border,float rounding);
|
||||
CIMGUI_API void igRenderFrame(ImVec2 p_min,ImVec2 p_max,ImU32 fill_col,bool borders,float rounding);
|
||||
CIMGUI_API void igRenderFrameBorder(ImVec2 p_min,ImVec2 p_max,float rounding);
|
||||
CIMGUI_API void igRenderColorRectWithAlphaCheckerboard(ImDrawList* draw_list,ImVec2 p_min,ImVec2 p_max,ImU32 fill_col,float grid_step,ImVec2 grid_off,float rounding,ImDrawFlags flags);
|
||||
CIMGUI_API void igRenderNavHighlight(const ImRect bb,ImGuiID id,ImGuiNavHighlightFlags flags);
|
||||
|
Reference in New Issue
Block a user