mirror of
https://github.com/cimgui/cimgui.git
synced 2025-08-10 03:48:30 +01:00
pull 1.90.9 docking and generate
This commit is contained in:
80
cimgui.h
80
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.8" 19080 from Dear ImGui https://github.com/ocornut/imgui
|
||||
//based on imgui.h file version "1.90.9" 19090 from Dear ImGui https://github.com/ocornut/imgui
|
||||
//with imgui_internal.h api
|
||||
//docking branch
|
||||
#ifndef CIMGUI_INCLUDED
|
||||
@@ -67,6 +67,7 @@ typedef struct ImGuiPlatformMonitor ImGuiPlatformMonitor;
|
||||
typedef struct ImGuiPlatformImeData ImGuiPlatformImeData;
|
||||
typedef struct ImGuiSizeCallbackData ImGuiSizeCallbackData;
|
||||
typedef struct ImGuiStorage ImGuiStorage;
|
||||
typedef struct ImGuiStoragePair ImGuiStoragePair;
|
||||
typedef struct ImGuiStyle ImGuiStyle;
|
||||
typedef struct ImGuiTableSortSpecs ImGuiTableSortSpecs;
|
||||
typedef struct ImGuiTableColumnSortSpecs ImGuiTableColumnSortSpecs;
|
||||
@@ -154,6 +155,7 @@ struct ImGuiPlatformMonitor;
|
||||
struct ImGuiPlatformImeData;
|
||||
struct ImGuiSizeCallbackData;
|
||||
struct ImGuiStorage;
|
||||
struct ImGuiStoragePair;
|
||||
struct ImGuiStyle;
|
||||
struct ImGuiTableSortSpecs;
|
||||
struct ImGuiTableColumnSortSpecs;
|
||||
@@ -239,7 +241,6 @@ typedef enum {
|
||||
ImGuiWindowFlags_NoNav = ImGuiWindowFlags_NoNavInputs | ImGuiWindowFlags_NoNavFocus,
|
||||
ImGuiWindowFlags_NoDecoration = ImGuiWindowFlags_NoTitleBar | ImGuiWindowFlags_NoResize | ImGuiWindowFlags_NoScrollbar | ImGuiWindowFlags_NoCollapse,
|
||||
ImGuiWindowFlags_NoInputs = ImGuiWindowFlags_NoMouseInputs | ImGuiWindowFlags_NoNavInputs | ImGuiWindowFlags_NoNavFocus,
|
||||
ImGuiWindowFlags_NavFlattened = 1 << 23,
|
||||
ImGuiWindowFlags_ChildWindow = 1 << 24,
|
||||
ImGuiWindowFlags_Tooltip = 1 << 25,
|
||||
ImGuiWindowFlags_Popup = 1 << 26,
|
||||
@@ -257,6 +258,7 @@ typedef enum {
|
||||
ImGuiChildFlags_AutoResizeY = 1 << 5,
|
||||
ImGuiChildFlags_AlwaysAutoResize = 1 << 6,
|
||||
ImGuiChildFlags_FrameStyle = 1 << 7,
|
||||
ImGuiChildFlags_NavFlattened = 1 << 8,
|
||||
}ImGuiChildFlags_;
|
||||
typedef enum {
|
||||
ImGuiInputTextFlags_None = 0,
|
||||
@@ -346,8 +348,9 @@ typedef enum {
|
||||
ImGuiTabBarFlags_NoCloseWithMiddleMouseButton = 1 << 3,
|
||||
ImGuiTabBarFlags_NoTabListScrollingButtons = 1 << 4,
|
||||
ImGuiTabBarFlags_NoTooltip = 1 << 5,
|
||||
ImGuiTabBarFlags_FittingPolicyResizeDown = 1 << 6,
|
||||
ImGuiTabBarFlags_FittingPolicyScroll = 1 << 7,
|
||||
ImGuiTabBarFlags_DrawSelectedOverline = 1 << 6,
|
||||
ImGuiTabBarFlags_FittingPolicyResizeDown = 1 << 7,
|
||||
ImGuiTabBarFlags_FittingPolicyScroll = 1 << 8,
|
||||
ImGuiTabBarFlags_FittingPolicyMask_ = ImGuiTabBarFlags_FittingPolicyResizeDown | ImGuiTabBarFlags_FittingPolicyScroll,
|
||||
ImGuiTabBarFlags_FittingPolicyDefault_ = ImGuiTabBarFlags_FittingPolicyResizeDown,
|
||||
}ImGuiTabBarFlags_;
|
||||
@@ -412,7 +415,9 @@ typedef enum {
|
||||
ImGuiDragDropFlags_SourceNoHoldToOpenOthers = 1 << 2,
|
||||
ImGuiDragDropFlags_SourceAllowNullID = 1 << 3,
|
||||
ImGuiDragDropFlags_SourceExtern = 1 << 4,
|
||||
ImGuiDragDropFlags_SourceAutoExpirePayload = 1 << 5,
|
||||
ImGuiDragDropFlags_PayloadAutoExpire = 1 << 5,
|
||||
ImGuiDragDropFlags_PayloadNoCrossContext = 1 << 6,
|
||||
ImGuiDragDropFlags_PayloadNoCrossProcess = 1 << 7,
|
||||
ImGuiDragDropFlags_AcceptBeforeDelivery = 1 << 10,
|
||||
ImGuiDragDropFlags_AcceptNoDrawDefaultRect = 1 << 11,
|
||||
ImGuiDragDropFlags_AcceptNoPreviewTooltip = 1 << 12,
|
||||
@@ -634,7 +639,8 @@ typedef enum {
|
||||
ImGuiConfigFlags_NavNoCaptureKeyboard = 1 << 3,
|
||||
ImGuiConfigFlags_NoMouse = 1 << 4,
|
||||
ImGuiConfigFlags_NoMouseCursorChange = 1 << 5,
|
||||
ImGuiConfigFlags_DockingEnable = 1 << 6,
|
||||
ImGuiConfigFlags_NoKeyboard = 1 << 6,
|
||||
ImGuiConfigFlags_DockingEnable = 1 << 7,
|
||||
ImGuiConfigFlags_ViewportsEnable = 1 << 10,
|
||||
ImGuiConfigFlags_DpiEnableScaleViewports= 1 << 14,
|
||||
ImGuiConfigFlags_DpiEnableScaleFonts = 1 << 15,
|
||||
@@ -685,11 +691,13 @@ typedef enum {
|
||||
ImGuiCol_ResizeGrip,
|
||||
ImGuiCol_ResizeGripHovered,
|
||||
ImGuiCol_ResizeGripActive,
|
||||
ImGuiCol_Tab,
|
||||
ImGuiCol_TabHovered,
|
||||
ImGuiCol_TabActive,
|
||||
ImGuiCol_TabUnfocused,
|
||||
ImGuiCol_TabUnfocusedActive,
|
||||
ImGuiCol_Tab,
|
||||
ImGuiCol_TabSelected,
|
||||
ImGuiCol_TabSelectedOverline,
|
||||
ImGuiCol_TabDimmed,
|
||||
ImGuiCol_TabDimmedSelected,
|
||||
ImGuiCol_TabDimmedSelectedOverline,
|
||||
ImGuiCol_DockingPreview,
|
||||
ImGuiCol_DockingEmptyBg,
|
||||
ImGuiCol_PlotLines,
|
||||
@@ -707,7 +715,7 @@ typedef enum {
|
||||
ImGuiCol_NavWindowingHighlight,
|
||||
ImGuiCol_NavWindowingDimBg,
|
||||
ImGuiCol_ModalWindowDimBg,
|
||||
ImGuiCol_COUNT
|
||||
ImGuiCol_COUNT,
|
||||
}ImGuiCol_;
|
||||
typedef enum {
|
||||
ImGuiStyleVar_Alpha,
|
||||
@@ -789,6 +797,7 @@ typedef enum {
|
||||
ImGuiSliderFlags_Logarithmic = 1 << 5,
|
||||
ImGuiSliderFlags_NoRoundToFormat = 1 << 6,
|
||||
ImGuiSliderFlags_NoInput = 1 << 7,
|
||||
ImGuiSliderFlags_WrapAround = 1 << 8,
|
||||
ImGuiSliderFlags_InvalidMask_ = 0x7000000F,
|
||||
}ImGuiSliderFlags_;
|
||||
typedef enum {
|
||||
@@ -1157,18 +1166,15 @@ struct ImGuiTextBuffer
|
||||
};
|
||||
struct ImGuiStoragePair
|
||||
{
|
||||
ImGuiID key;
|
||||
union { int val_i; float val_f; void* val_p; };
|
||||
ImGuiID key;
|
||||
union { int val_i; float val_f; void* val_p; };
|
||||
};
|
||||
typedef struct ImGuiStoragePair ImGuiStoragePair;
|
||||
|
||||
typedef struct ImVector_ImGuiStoragePair {int Size;int Capacity;ImGuiStoragePair* Data;} ImVector_ImGuiStoragePair;
|
||||
|
||||
struct ImGuiStorage
|
||||
{
|
||||
ImVector_ImGuiStoragePair Data;
|
||||
};
|
||||
typedef struct ImGuiStoragePair ImGuiStoragePair;
|
||||
struct ImGuiListClipper
|
||||
{
|
||||
ImGuiContext* Ctx;
|
||||
@@ -2334,11 +2340,13 @@ struct ImGuiDockNode
|
||||
};
|
||||
typedef enum {
|
||||
ImGuiWindowDockStyleCol_Text,
|
||||
ImGuiWindowDockStyleCol_Tab,
|
||||
ImGuiWindowDockStyleCol_TabHovered,
|
||||
ImGuiWindowDockStyleCol_TabActive,
|
||||
ImGuiWindowDockStyleCol_TabUnfocused,
|
||||
ImGuiWindowDockStyleCol_TabUnfocusedActive,
|
||||
ImGuiWindowDockStyleCol_TabFocused,
|
||||
ImGuiWindowDockStyleCol_TabSelected,
|
||||
ImGuiWindowDockStyleCol_TabSelectedOverline,
|
||||
ImGuiWindowDockStyleCol_TabDimmed,
|
||||
ImGuiWindowDockStyleCol_TabDimmedSelected,
|
||||
ImGuiWindowDockStyleCol_TabDimmedSelectedOverline,
|
||||
ImGuiWindowDockStyleCol_COUNT
|
||||
}ImGuiWindowDockStyleCol;
|
||||
struct ImGuiWindowDockStyle
|
||||
@@ -2580,6 +2588,7 @@ struct ImGuiContext
|
||||
bool GcCompactAll;
|
||||
bool TestEngineHookItems;
|
||||
void* TestEngine;
|
||||
char ContextName[16];
|
||||
ImVector_ImGuiInputEvent InputEventsQueue;
|
||||
ImVector_ImGuiInputEvent InputEventsTrail;
|
||||
ImGuiMouseSource InputEventsNextMouseSource;
|
||||
@@ -2595,6 +2604,7 @@ struct ImGuiContext
|
||||
ImGuiWindow* CurrentWindow;
|
||||
ImGuiWindow* HoveredWindow;
|
||||
ImGuiWindow* HoveredWindowUnderMovingWindow;
|
||||
ImGuiWindow* HoveredWindowBeforeClear;
|
||||
ImGuiWindow* MovingWindow;
|
||||
ImGuiWindow* WheelingWindow;
|
||||
ImVec2 WheelingWindowRefMousePos;
|
||||
@@ -2609,7 +2619,7 @@ struct ImGuiContext
|
||||
float HoveredIdTimer;
|
||||
float HoveredIdNotActiveTimer;
|
||||
bool HoveredIdAllowOverlap;
|
||||
bool HoveredIdDisabled;
|
||||
bool HoveredIdIsDisabled;
|
||||
bool ItemUnclipByLog;
|
||||
ImGuiID ActiveId;
|
||||
ImGuiID ActiveIdIsAlive;
|
||||
@@ -2670,6 +2680,7 @@ struct ImGuiContext
|
||||
ImGuiWindow* NavWindow;
|
||||
ImGuiID NavId;
|
||||
ImGuiID NavFocusScopeId;
|
||||
ImGuiNavLayer NavLayer;
|
||||
ImGuiID NavActivateId;
|
||||
ImGuiID NavActivateDownId;
|
||||
ImGuiID NavActivatePressedId;
|
||||
@@ -2677,13 +2688,9 @@ struct ImGuiContext
|
||||
ImVector_ImGuiFocusScopeData NavFocusRoute;
|
||||
ImGuiID NavHighlightActivatedId;
|
||||
float NavHighlightActivatedTimer;
|
||||
ImGuiID NavJustMovedToId;
|
||||
ImGuiID NavJustMovedToFocusScopeId;
|
||||
ImGuiKeyChord NavJustMovedToKeyMods;
|
||||
ImGuiID NavNextActivateId;
|
||||
ImGuiActivateFlags NavNextActivateFlags;
|
||||
ImGuiInputSource NavInputSource;
|
||||
ImGuiNavLayer NavLayer;
|
||||
ImGuiSelectionUserData NavLastValidSelectionUserData;
|
||||
bool NavIdIsAlive;
|
||||
bool NavMousePosDirty;
|
||||
@@ -2711,6 +2718,12 @@ struct ImGuiContext
|
||||
ImGuiNavItemData NavMoveResultLocalVisible;
|
||||
ImGuiNavItemData NavMoveResultOther;
|
||||
ImGuiNavItemData NavTabbingResultFirst;
|
||||
ImGuiID NavJustMovedFromFocusScopeId;
|
||||
ImGuiID NavJustMovedToId;
|
||||
ImGuiID NavJustMovedToFocusScopeId;
|
||||
ImGuiKeyChord NavJustMovedToKeyMods;
|
||||
bool NavJustMovedToIsTabbing;
|
||||
bool NavJustMovedToHasSelectionData;
|
||||
ImGuiKeyChord ConfigNavWindowingKeyNext;
|
||||
ImGuiKeyChord ConfigNavWindowingKeyPrev;
|
||||
ImGuiWindow* NavWindowingTarget;
|
||||
@@ -3323,7 +3336,6 @@ typedef union SDL_Event SDL_Event;
|
||||
#endif // CIMGUI_DEFINE_ENUMS_AND_STRUCTS
|
||||
|
||||
#ifndef CIMGUI_DEFINE_ENUMS_AND_STRUCTS
|
||||
typedef struct ImGuiStorage::ImGuiStoragePair ImGuiStoragePair;
|
||||
typedef struct ImGuiTextFilter::ImGuiTextRange ImGuiTextRange;
|
||||
typedef ImStb::STB_TexteditState STB_TexteditState;
|
||||
typedef ImStb::StbTexteditRow StbTexteditRow;
|
||||
@@ -3657,7 +3669,7 @@ CIMGUI_API bool igBeginPopupContextItem(const char* str_id,ImGuiPopupFlags popup
|
||||
CIMGUI_API bool igBeginPopupContextWindow(const char* str_id,ImGuiPopupFlags popup_flags);
|
||||
CIMGUI_API bool igBeginPopupContextVoid(const char* str_id,ImGuiPopupFlags popup_flags);
|
||||
CIMGUI_API bool igIsPopupOpen_Str(const char* str_id,ImGuiPopupFlags flags);
|
||||
CIMGUI_API bool igBeginTable(const char* str_id,int column,ImGuiTableFlags flags,const ImVec2 outer_size,float inner_width);
|
||||
CIMGUI_API bool igBeginTable(const char* str_id,int columns,ImGuiTableFlags flags,const ImVec2 outer_size,float inner_width);
|
||||
CIMGUI_API void igEndTable(void);
|
||||
CIMGUI_API void igTableNextRow(ImGuiTableRowFlags row_flags,float min_row_height);
|
||||
CIMGUI_API bool igTableNextColumn(void);
|
||||
@@ -3674,6 +3686,7 @@ CIMGUI_API int igTableGetRowIndex(void);
|
||||
CIMGUI_API const char* igTableGetColumnName_Int(int column_n);
|
||||
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 igNextColumn(void);
|
||||
@@ -3733,9 +3746,7 @@ CIMGUI_API void igGetItemRectMin(ImVec2 *pOut);
|
||||
CIMGUI_API void igGetItemRectMax(ImVec2 *pOut);
|
||||
CIMGUI_API void igGetItemRectSize(ImVec2 *pOut);
|
||||
CIMGUI_API ImGuiViewport* igGetMainViewport(void);
|
||||
CIMGUI_API ImDrawList* igGetBackgroundDrawList_Nil(void);
|
||||
CIMGUI_API ImDrawList* igGetForegroundDrawList_Nil(void);
|
||||
CIMGUI_API ImDrawList* igGetBackgroundDrawList_ViewportPtr(ImGuiViewport* viewport);
|
||||
CIMGUI_API ImDrawList* igGetBackgroundDrawList(ImGuiViewport* viewport);
|
||||
CIMGUI_API ImDrawList* igGetForegroundDrawList_ViewportPtr(ImGuiViewport* viewport);
|
||||
CIMGUI_API bool igIsRectVisible_Nil(const ImVec2 size);
|
||||
CIMGUI_API bool igIsRectVisible_Vec2(const ImVec2 rect_min,const ImVec2 rect_max);
|
||||
@@ -3817,6 +3828,7 @@ CIMGUI_API void ImGuiIO_SetKeyEventNativeData(ImGuiIO* self,ImGuiKey key,int nat
|
||||
CIMGUI_API void ImGuiIO_SetAppAcceptingEvents(ImGuiIO* self,bool accepting_events);
|
||||
CIMGUI_API void ImGuiIO_ClearEventsQueue(ImGuiIO* self);
|
||||
CIMGUI_API void ImGuiIO_ClearInputKeys(ImGuiIO* self);
|
||||
CIMGUI_API void ImGuiIO_ClearInputMouse(ImGuiIO* self);
|
||||
CIMGUI_API ImGuiIO* ImGuiIO_ImGuiIO(void);
|
||||
CIMGUI_API void ImGuiIO_destroy(ImGuiIO* self);
|
||||
CIMGUI_API ImGuiInputTextCallbackData* ImGuiInputTextCallbackData_ImGuiInputTextCallbackData(void);
|
||||
@@ -4193,6 +4205,7 @@ CIMGUI_API int ImGuiTextIndex_size(ImGuiTextIndex* self);
|
||||
CIMGUI_API const char* ImGuiTextIndex_get_line_begin(ImGuiTextIndex* self,const char* base,int n);
|
||||
CIMGUI_API const char* ImGuiTextIndex_get_line_end(ImGuiTextIndex* self,const char* base,int n);
|
||||
CIMGUI_API void ImGuiTextIndex_append(ImGuiTextIndex* self,const char* base,int old_size,int new_size);
|
||||
CIMGUI_API ImGuiStoragePair* igImLowerBound(ImGuiStoragePair* in_begin,ImGuiStoragePair* in_end,ImGuiID key);
|
||||
CIMGUI_API ImDrawListSharedData* ImDrawListSharedData_ImDrawListSharedData(void);
|
||||
CIMGUI_API void ImDrawListSharedData_destroy(ImDrawListSharedData* self);
|
||||
CIMGUI_API void ImDrawListSharedData_SetCircleTessellationMaxError(ImDrawListSharedData* self,float max_error);
|
||||
@@ -4448,20 +4461,20 @@ CIMGUI_API void igLogToBuffer(int auto_open_depth);
|
||||
CIMGUI_API void igLogRenderedText(const ImVec2* ref_pos,const char* text,const char* text_end);
|
||||
CIMGUI_API void igLogSetNextTextDecoration(const char* prefix,const char* suffix);
|
||||
CIMGUI_API bool igBeginChildEx(const char* name,ImGuiID id,const ImVec2 size_arg,ImGuiChildFlags child_flags,ImGuiWindowFlags window_flags);
|
||||
CIMGUI_API bool igBeginPopupEx(ImGuiID id,ImGuiWindowFlags extra_window_flags);
|
||||
CIMGUI_API void igOpenPopupEx(ImGuiID id,ImGuiPopupFlags popup_flags);
|
||||
CIMGUI_API void igClosePopupToLevel(int remaining,bool restore_focus_to_window_under_popup);
|
||||
CIMGUI_API void igClosePopupsOverWindow(ImGuiWindow* ref_window,bool restore_focus_to_window_under_popup);
|
||||
CIMGUI_API void igClosePopupsExceptModals(void);
|
||||
CIMGUI_API bool igIsPopupOpen_ID(ImGuiID id,ImGuiPopupFlags popup_flags);
|
||||
CIMGUI_API bool igBeginPopupEx(ImGuiID id,ImGuiWindowFlags extra_flags);
|
||||
CIMGUI_API bool igBeginTooltipEx(ImGuiTooltipFlags tooltip_flags,ImGuiWindowFlags extra_window_flags);
|
||||
CIMGUI_API bool igBeginTooltipHidden(void);
|
||||
CIMGUI_API void igGetPopupAllowedExtentRect(ImRect *pOut,ImGuiWindow* window);
|
||||
CIMGUI_API ImGuiWindow* igGetTopMostPopupModal(void);
|
||||
CIMGUI_API ImGuiWindow* igGetTopMostAndVisiblePopupModal(void);
|
||||
CIMGUI_API ImGuiWindow* igFindBlockingModal(ImGuiWindow* window);
|
||||
CIMGUI_API void igFindBestWindowPosForPopup(ImVec2 *pOut,ImGuiWindow* window);
|
||||
CIMGUI_API void igFindBestWindowPosForPopupEx(ImVec2 *pOut,const ImVec2 ref_pos,const ImVec2 size,ImGuiDir* last_dir,const ImRect r_outer,const ImRect r_avoid,ImGuiPopupPositionPolicy policy);
|
||||
CIMGUI_API bool igBeginTooltipEx(ImGuiTooltipFlags tooltip_flags,ImGuiWindowFlags extra_window_flags);
|
||||
CIMGUI_API bool igBeginTooltipHidden(void);
|
||||
CIMGUI_API bool igBeginViewportSideBar(const char* name,ImGuiViewport* viewport,ImGuiDir dir,float size,ImGuiWindowFlags window_flags);
|
||||
CIMGUI_API bool igBeginMenuEx(const char* label,const char* icon,bool enabled);
|
||||
CIMGUI_API bool igMenuItemEx(const char* label,const char* icon,const char* shortcut,bool selected,bool enabled);
|
||||
@@ -4594,7 +4607,6 @@ CIMGUI_API float igGetColumnNormFromOffset(const ImGuiOldColumns* columns,float
|
||||
CIMGUI_API void igTableOpenContextMenu(int column_n);
|
||||
CIMGUI_API void igTableSetColumnWidth(int column_n,float width);
|
||||
CIMGUI_API void igTableSetColumnSortDirection(int column_n,ImGuiSortDirection sort_direction,bool append_to_sort_specs);
|
||||
CIMGUI_API int igTableGetHoveredColumn(void);
|
||||
CIMGUI_API int igTableGetHoveredRow(void);
|
||||
CIMGUI_API float igTableGetHeaderRowHeight(void);
|
||||
CIMGUI_API float igTableGetHeaderAngledMaxLabelWidth(void);
|
||||
|
Reference in New Issue
Block a user