mirror of
https://github.com/cimgui/cimgui.git
synced 2025-08-10 03:48:30 +01:00
pull imgui docking 1.89.2 and generate
This commit is contained in:
46
cimgui.h
46
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.89.1 WIP" 18910 from Dear ImGui https://github.com/ocornut/imgui
|
||||
//based on imgui.h file version "1.89.2" 18920 from Dear ImGui https://github.com/ocornut/imgui
|
||||
//with imgui_internal.h api
|
||||
//docking branch
|
||||
#ifndef CIMGUI_INCLUDED
|
||||
@@ -639,8 +639,8 @@ ImGuiMod_Ctrl=1 << 12,
|
||||
ImGuiMod_Shift=1 << 13,
|
||||
ImGuiMod_Alt=1 << 14,
|
||||
ImGuiMod_Super=1 << 15,
|
||||
ImGuiMod_Mask_=0xF000,
|
||||
ImGuiMod_Shortcut=ImGuiMod_Ctrl,
|
||||
ImGuiMod_Shortcut=1 << 11,
|
||||
ImGuiMod_Mask_=0xF800,
|
||||
ImGuiKey_NamedKey_BEGIN=512,
|
||||
ImGuiKey_NamedKey_END=ImGuiKey_COUNT,
|
||||
ImGuiKey_NamedKey_COUNT=ImGuiKey_NamedKey_END - ImGuiKey_NamedKey_BEGIN,
|
||||
@@ -1267,6 +1267,7 @@ struct ImFontAtlas
|
||||
int TexDesiredWidth;
|
||||
int TexGlyphPadding;
|
||||
bool Locked;
|
||||
void* UserData;
|
||||
bool TexReady;
|
||||
bool TexPixelsUseColors;
|
||||
unsigned char* TexPixelsAlpha8;
|
||||
@@ -1599,10 +1600,9 @@ typedef enum {
|
||||
ImGuiSelectableFlags_SelectOnClick = 1 << 22,
|
||||
ImGuiSelectableFlags_SelectOnRelease = 1 << 23,
|
||||
ImGuiSelectableFlags_SpanAvailWidth = 1 << 24,
|
||||
ImGuiSelectableFlags_DrawHoveredWhenHeld = 1 << 25,
|
||||
ImGuiSelectableFlags_SetNavIdOnHover = 1 << 26,
|
||||
ImGuiSelectableFlags_NoPadWithHalfSpacing = 1 << 27,
|
||||
ImGuiSelectableFlags_NoSetKeyOwner = 1 << 28,
|
||||
ImGuiSelectableFlags_SetNavIdOnHover = 1 << 25,
|
||||
ImGuiSelectableFlags_NoPadWithHalfSpacing = 1 << 26,
|
||||
ImGuiSelectableFlags_NoSetKeyOwner = 1 << 27,
|
||||
}ImGuiSelectableFlagsPrivate_;
|
||||
typedef enum {
|
||||
ImGuiTreeNodeFlags_ClipLabelForTrailingButton = 1 << 20,
|
||||
@@ -1710,6 +1710,7 @@ struct ImGuiMenuColumns
|
||||
};
|
||||
struct ImGuiInputTextState
|
||||
{
|
||||
ImGuiContext* Ctx;
|
||||
ImGuiID ID;
|
||||
int CurLenW, CurLenA;
|
||||
ImVector_ImWchar TextW;
|
||||
@@ -2221,7 +2222,8 @@ ImGuiLocKey_TableResetOrder=3,
|
||||
ImGuiLocKey_WindowingMainMenuBar=4,
|
||||
ImGuiLocKey_WindowingPopup=5,
|
||||
ImGuiLocKey_WindowingUntitled=6,
|
||||
ImGuiLocKey_COUNT=7,
|
||||
ImGuiLocKey_DockingHideTabBar=7,
|
||||
ImGuiLocKey_COUNT=8,
|
||||
}ImGuiLocKey;
|
||||
struct ImGuiLocEntry
|
||||
{
|
||||
@@ -2368,7 +2370,10 @@ struct ImGuiContext
|
||||
ImGuiWindow* MovingWindow;
|
||||
ImGuiWindow* WheelingWindow;
|
||||
ImVec2 WheelingWindowRefMousePos;
|
||||
int WheelingWindowStartFrame;
|
||||
float WheelingWindowReleaseTimer;
|
||||
ImVec2 WheelingWindowWheelRemainder;
|
||||
ImVec2 WheelingAxisAvg;
|
||||
ImGuiID DebugHookIdInfo;
|
||||
ImGuiID HoveredId;
|
||||
ImGuiID HoveredIdPreviousFrame;
|
||||
@@ -2635,6 +2640,9 @@ struct ImGuiWindow
|
||||
ImVec2 WindowPadding;
|
||||
float WindowRounding;
|
||||
float WindowBorderSize;
|
||||
float DecoOuterSizeX1, DecoOuterSizeY1;
|
||||
float DecoOuterSizeX2, DecoOuterSizeY2;
|
||||
float DecoInnerSizeX1, DecoInnerSizeY1;
|
||||
int NameBufLen;
|
||||
ImGuiID MoveId;
|
||||
ImGuiID TabId;
|
||||
@@ -2847,6 +2855,7 @@ struct ImGuiTableInstanceData
|
||||
{
|
||||
float LastOuterHeight;
|
||||
float LastFirstRowHeight;
|
||||
float LastFrozenHeight;
|
||||
};
|
||||
typedef struct ImSpan_ImGuiTableColumn {ImGuiTableColumn* Data;ImGuiTableColumn* DataEnd;} ImSpan_ImGuiTableColumn;
|
||||
|
||||
@@ -2962,6 +2971,8 @@ struct ImGuiTable
|
||||
bool IsResetDisplayOrderRequest;
|
||||
bool IsUnfrozenRows;
|
||||
bool IsDefaultSizingPolicy;
|
||||
bool HasScrollbarYCurr;
|
||||
bool HasScrollbarYPrev;
|
||||
bool MemoryCompacted;
|
||||
bool HostSkipItems;
|
||||
};
|
||||
@@ -3410,6 +3421,7 @@ CIMGUI_API bool igIsItemToggledOpen(void);
|
||||
CIMGUI_API bool igIsAnyItemHovered(void);
|
||||
CIMGUI_API bool igIsAnyItemActive(void);
|
||||
CIMGUI_API bool igIsAnyItemFocused(void);
|
||||
CIMGUI_API ImGuiID igGetItemID(void);
|
||||
CIMGUI_API void igGetItemRectMin(ImVec2 *pOut);
|
||||
CIMGUI_API void igGetItemRectMax(ImVec2 *pOut);
|
||||
CIMGUI_API void igGetItemRectSize(ImVec2 *pOut);
|
||||
@@ -3799,6 +3811,7 @@ CIMGUI_API void igImRotate(ImVec2 *pOut,const ImVec2 v,float cos_a,float sin_a);
|
||||
CIMGUI_API float igImLinearSweep(float current,float target,float speed);
|
||||
CIMGUI_API void igImMul(ImVec2 *pOut,const ImVec2 lhs,const ImVec2 rhs);
|
||||
CIMGUI_API bool igImIsFloatAboveGuaranteedIntegerPrecision(float f);
|
||||
CIMGUI_API float igImExponentialMovingAverage(float avg,float sample,int n);
|
||||
CIMGUI_API void igImBezierCubicCalc(ImVec2 *pOut,const ImVec2 p1,const ImVec2 p2,const ImVec2 p3,const ImVec2 p4,float t);
|
||||
CIMGUI_API void igImBezierCubicClosestPoint(ImVec2 *pOut,const ImVec2 p1,const ImVec2 p2,const ImVec2 p3,const ImVec2 p4,const ImVec2 p,int num_segments);
|
||||
CIMGUI_API void igImBezierCubicClosestPointCasteljau(ImVec2 *pOut,const ImVec2 p1,const ImVec2 p2,const ImVec2 p3,const ImVec2 p4,const ImVec2 p,float tess_tol);
|
||||
@@ -3877,7 +3890,7 @@ CIMGUI_API void ImGuiMenuColumns_destroy(ImGuiMenuColumns* self);
|
||||
CIMGUI_API void ImGuiMenuColumns_Update(ImGuiMenuColumns* self,float spacing,bool window_reappearing);
|
||||
CIMGUI_API float ImGuiMenuColumns_DeclColumns(ImGuiMenuColumns* self,float w_icon,float w_label,float w_shortcut,float w_mark);
|
||||
CIMGUI_API void ImGuiMenuColumns_CalcNextTotalWidth(ImGuiMenuColumns* self,bool update_offsets);
|
||||
CIMGUI_API ImGuiInputTextState* ImGuiInputTextState_ImGuiInputTextState(void);
|
||||
CIMGUI_API ImGuiInputTextState* ImGuiInputTextState_ImGuiInputTextState(ImGuiContext* ctx);
|
||||
CIMGUI_API void ImGuiInputTextState_destroy(ImGuiInputTextState* self);
|
||||
CIMGUI_API void ImGuiInputTextState_ClearText(ImGuiInputTextState* self);
|
||||
CIMGUI_API void ImGuiInputTextState_ClearFreeMemory(ImGuiInputTextState* self);
|
||||
@@ -4065,7 +4078,6 @@ CIMGUI_API void igScrollToItem(ImGuiScrollFlags flags);
|
||||
CIMGUI_API void igScrollToRect(ImGuiWindow* window,const ImRect rect,ImGuiScrollFlags flags);
|
||||
CIMGUI_API void igScrollToRectEx(ImVec2 *pOut,ImGuiWindow* window,const ImRect rect,ImGuiScrollFlags flags);
|
||||
CIMGUI_API void igScrollToBringRectIntoView(ImGuiWindow* window,const ImRect rect);
|
||||
CIMGUI_API ImGuiID igGetItemID(void);
|
||||
CIMGUI_API ImGuiItemStatusFlags igGetItemStatusFlags(void);
|
||||
CIMGUI_API ImGuiItemFlags igGetItemFlags(void);
|
||||
CIMGUI_API ImGuiID igGetActiveID(void);
|
||||
@@ -4135,12 +4147,13 @@ 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 ImGuiKeyChord igConvertShortcutMod(ImGuiKeyChord key_chord);
|
||||
CIMGUI_API ImGuiKey igConvertSingleModFlagToKey(ImGuiKey key);
|
||||
CIMGUI_API ImGuiKeyData* igGetKeyData(ImGuiKey key);
|
||||
CIMGUI_API void igGetKeyChordName(ImGuiKeyChord key_chord,char* out_buf,int out_buf_size);
|
||||
CIMGUI_API ImGuiKey igMouseButtonToKey(ImGuiMouseButton button);
|
||||
CIMGUI_API bool igIsMouseDragPastThreshold(ImGuiMouseButton button,float lock_threshold);
|
||||
CIMGUI_API void igGetKeyVector2d(ImVec2 *pOut,ImGuiKey key_left,ImGuiKey key_right,ImGuiKey key_up,ImGuiKey key_down);
|
||||
CIMGUI_API void igGetKeyMagnitude2d(ImVec2 *pOut,ImGuiKey key_left,ImGuiKey key_right,ImGuiKey key_up,ImGuiKey key_down);
|
||||
CIMGUI_API float igGetNavTweakPressedAmount(ImGuiAxis axis);
|
||||
CIMGUI_API int igCalcTypematicRepeatAmount(float t0,float t1,float repeat_delay,float repeat_rate);
|
||||
CIMGUI_API void igGetTypematicRepeatRate(ImGuiInputFlags flags,float* repeat_delay,float* repeat_rate);
|
||||
@@ -4300,19 +4313,19 @@ CIMGUI_API void igRenderRectFilledWithHole(ImDrawList* draw_list,const ImRect ou
|
||||
CIMGUI_API ImDrawFlags igCalcRoundingFlagsForRectInRect(const ImRect r_in,const ImRect r_outer,float threshold);
|
||||
CIMGUI_API void igTextEx(const char* text,const char* text_end,ImGuiTextFlags flags);
|
||||
CIMGUI_API bool igButtonEx(const char* label,const ImVec2 size_arg,ImGuiButtonFlags flags);
|
||||
CIMGUI_API bool igArrowButtonEx(const char* str_id,ImGuiDir dir,ImVec2 size_arg,ImGuiButtonFlags flags);
|
||||
CIMGUI_API bool igImageButtonEx(ImGuiID id,ImTextureID texture_id,const ImVec2 size,const ImVec2 uv0,const ImVec2 uv1,const ImVec4 bg_col,const ImVec4 tint_col);
|
||||
CIMGUI_API void igSeparatorEx(ImGuiSeparatorFlags flags);
|
||||
CIMGUI_API bool igCheckboxFlags_S64Ptr(const char* label,ImS64* flags,ImS64 flags_value);
|
||||
CIMGUI_API bool igCheckboxFlags_U64Ptr(const char* label,ImU64* flags,ImU64 flags_value);
|
||||
CIMGUI_API bool igCloseButton(ImGuiID id,const ImVec2 pos);
|
||||
CIMGUI_API bool igCollapseButton(ImGuiID id,const ImVec2 pos,ImGuiDockNode* dock_node);
|
||||
CIMGUI_API bool igArrowButtonEx(const char* str_id,ImGuiDir dir,ImVec2 size_arg,ImGuiButtonFlags flags);
|
||||
CIMGUI_API void igScrollbar(ImGuiAxis axis);
|
||||
CIMGUI_API bool igScrollbarEx(const ImRect bb,ImGuiID id,ImGuiAxis axis,ImS64* p_scroll_v,ImS64 avail_v,ImS64 contents_v,ImDrawFlags flags);
|
||||
CIMGUI_API bool igImageButtonEx(ImGuiID id,ImTextureID texture_id,const ImVec2 size,const ImVec2 uv0,const ImVec2 uv1,const ImVec4 bg_col,const ImVec4 tint_col);
|
||||
CIMGUI_API void igGetWindowScrollbarRect(ImRect *pOut,ImGuiWindow* window,ImGuiAxis axis);
|
||||
CIMGUI_API ImGuiID igGetWindowScrollbarID(ImGuiWindow* window,ImGuiAxis axis);
|
||||
CIMGUI_API ImGuiID igGetWindowResizeCornerID(ImGuiWindow* window,int n);
|
||||
CIMGUI_API ImGuiID igGetWindowResizeBorderID(ImGuiWindow* window,ImGuiDir dir);
|
||||
CIMGUI_API void igSeparatorEx(ImGuiSeparatorFlags flags);
|
||||
CIMGUI_API bool igCheckboxFlags_S64Ptr(const char* label,ImS64* flags,ImS64 flags_value);
|
||||
CIMGUI_API bool igCheckboxFlags_U64Ptr(const char* label,ImU64* flags,ImU64 flags_value);
|
||||
CIMGUI_API bool igButtonBehavior(const ImRect bb,ImGuiID id,bool* out_hovered,bool* out_held,ImGuiButtonFlags flags);
|
||||
CIMGUI_API bool igDragBehavior(ImGuiID id,ImGuiDataType data_type,void* p_v,float v_speed,const void* p_min,const void* p_max,const char* format,ImGuiSliderFlags flags);
|
||||
CIMGUI_API bool igSliderBehavior(const ImRect bb,ImGuiID id,ImGuiDataType data_type,void* p_v,const void* p_min,const void* p_max,const char* format,ImGuiSliderFlags flags,ImRect* out_grab_bb);
|
||||
@@ -4369,6 +4382,7 @@ CIMGUI_API void igDebugNodeWindowSettings(ImGuiWindowSettings* settings);
|
||||
CIMGUI_API void igDebugNodeWindowsList(ImVector_ImGuiWindowPtr* windows,const char* label);
|
||||
CIMGUI_API void igDebugNodeWindowsListByBeginStackParent(ImGuiWindow** windows,int windows_size,ImGuiWindow* parent_in_begin_stack);
|
||||
CIMGUI_API void igDebugNodeViewport(ImGuiViewportP* viewport);
|
||||
CIMGUI_API void igDebugRenderKeyboardPreview(ImDrawList* draw_list);
|
||||
CIMGUI_API void igDebugRenderViewportThumbnail(ImDrawList* draw_list,ImGuiViewportP* viewport,const ImRect bb);
|
||||
CIMGUI_API bool igIsKeyPressedMap(ImGuiKey key,bool repeat);
|
||||
CIMGUI_API const ImFontBuilderIO* igImFontAtlasGetBuilderForStbTruetype(void);
|
||||
|
Reference in New Issue
Block a user