mirror of
https://github.com/cimgui/cimgui.git
synced 2025-08-11 04:18:29 +01:00
Compare commits
3 Commits
1.91.2dock
...
1.91.4dock
Author | SHA1 | Date | |
---|---|---|---|
![]() |
7640b00d27 | ||
![]() |
90f2147dbe | ||
![]() |
8268b6748b |
@@ -11,7 +11,7 @@ History:
|
||||
Initially cimgui was developed by Stephan Dilly as hand-written code but lately turned into an auto-generated version by sonoro1234 in order to keep up with imgui more easily (letting the user select the desired branch and commit)
|
||||
|
||||
Notes:
|
||||
* currently this wrapper is based on version [1.91.2 of Dear ImGui with internal api]
|
||||
* currently this wrapper is based on version [1.91.4 of Dear ImGui with internal api]
|
||||
* only functions, structs and enums from imgui.h (an optionally imgui_internal.h) are wrapped.
|
||||
* if you are interested in imgui backends you should look [LuaJIT-ImGui](https://github.com/sonoro1234/LuaJIT-ImGui) project.
|
||||
* All naming is algorithmic except for those names that were coded in cimgui_overloads table (https://github.com/cimgui/cimgui/blob/master/generator/generator.lua#L60). In the official version this table is empty.
|
||||
|
74
cimgui.cpp
74
cimgui.cpp
@@ -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.2" 19120 from Dear ImGui https://github.com/ocornut/imgui
|
||||
//based on imgui.h file version "1.91.4" 19140 from Dear ImGui https://github.com/ocornut/imgui
|
||||
//with imgui_internal.h api
|
||||
//docking branch
|
||||
#ifdef IMGUI_ENABLE_FREETYPE
|
||||
@@ -1388,6 +1388,10 @@ CIMGUI_API void igSetKeyboardFocusHere(int offset)
|
||||
{
|
||||
return ImGui::SetKeyboardFocusHere(offset);
|
||||
}
|
||||
CIMGUI_API void igSetNavCursorVisible(bool visible)
|
||||
{
|
||||
return ImGui::SetNavCursorVisible(visible);
|
||||
}
|
||||
CIMGUI_API void igSetNextItemAllowOverlap()
|
||||
{
|
||||
return ImGui::SetNextItemAllowOverlap();
|
||||
@@ -2383,9 +2387,9 @@ CIMGUI_API void ImDrawList_PathRect(ImDrawList* self,const ImVec2 rect_min,const
|
||||
{
|
||||
return self->PathRect(rect_min,rect_max,rounding,flags);
|
||||
}
|
||||
CIMGUI_API void ImDrawList_AddCallback(ImDrawList* self,ImDrawCallback callback,void* callback_data)
|
||||
CIMGUI_API void ImDrawList_AddCallback(ImDrawList* self,ImDrawCallback callback,void* userdata,size_t userdata_size)
|
||||
{
|
||||
return self->AddCallback(callback,callback_data);
|
||||
return self->AddCallback(callback,userdata,userdata_size);
|
||||
}
|
||||
CIMGUI_API void ImDrawList_AddDrawCmd(ImDrawList* self)
|
||||
{
|
||||
@@ -3566,22 +3570,14 @@ CIMGUI_API void ImGuiLastItemData_destroy(ImGuiLastItemData* self)
|
||||
{
|
||||
IM_DELETE(self);
|
||||
}
|
||||
CIMGUI_API ImGuiStackSizes* ImGuiStackSizes_ImGuiStackSizes(void)
|
||||
CIMGUI_API ImGuiErrorRecoveryState* ImGuiErrorRecoveryState_ImGuiErrorRecoveryState(void)
|
||||
{
|
||||
return IM_NEW(ImGuiStackSizes)();
|
||||
return IM_NEW(ImGuiErrorRecoveryState)();
|
||||
}
|
||||
CIMGUI_API void ImGuiStackSizes_destroy(ImGuiStackSizes* self)
|
||||
CIMGUI_API void ImGuiErrorRecoveryState_destroy(ImGuiErrorRecoveryState* self)
|
||||
{
|
||||
IM_DELETE(self);
|
||||
}
|
||||
CIMGUI_API void ImGuiStackSizes_SetToContextState(ImGuiStackSizes* self,ImGuiContext* ctx)
|
||||
{
|
||||
return self->SetToContextState(ctx);
|
||||
}
|
||||
CIMGUI_API void ImGuiStackSizes_CompareWithContextState(ImGuiStackSizes* self,ImGuiContext* ctx)
|
||||
{
|
||||
return self->CompareWithContextState(ctx);
|
||||
}
|
||||
CIMGUI_API ImGuiPtrOrIndex* ImGuiPtrOrIndex_ImGuiPtrOrIndex_Ptr(void* ptr)
|
||||
{
|
||||
return IM_NEW(ImGuiPtrOrIndex)(ptr);
|
||||
@@ -4554,9 +4550,9 @@ CIMGUI_API void igNavClearPreferredPosForAxis(ImGuiAxis axis)
|
||||
{
|
||||
return ImGui::NavClearPreferredPosForAxis(axis);
|
||||
}
|
||||
CIMGUI_API void igNavRestoreHighlightAfterMove()
|
||||
CIMGUI_API void igSetNavCursorVisibleAfterMove()
|
||||
{
|
||||
return ImGui::NavRestoreHighlightAfterMove();
|
||||
return ImGui::SetNavCursorVisibleAfterMove();
|
||||
}
|
||||
CIMGUI_API void igNavUpdateCurrentWindowIsScrollPushableX()
|
||||
{
|
||||
@@ -5274,10 +5270,14 @@ CIMGUI_API void igTabBarCloseTab(ImGuiTabBar* tab_bar,ImGuiTabItem* tab)
|
||||
{
|
||||
return ImGui::TabBarCloseTab(tab_bar,tab);
|
||||
}
|
||||
CIMGUI_API void igTabBarQueueFocus(ImGuiTabBar* tab_bar,ImGuiTabItem* tab)
|
||||
CIMGUI_API void igTabBarQueueFocus_TabItemPtr(ImGuiTabBar* tab_bar,ImGuiTabItem* tab)
|
||||
{
|
||||
return ImGui::TabBarQueueFocus(tab_bar,tab);
|
||||
}
|
||||
CIMGUI_API void igTabBarQueueFocus_Str(ImGuiTabBar* tab_bar,const char* tab_name)
|
||||
{
|
||||
return ImGui::TabBarQueueFocus(tab_bar,tab_name);
|
||||
}
|
||||
CIMGUI_API void igTabBarQueueReorder(ImGuiTabBar* tab_bar,ImGuiTabItem* tab,int offset)
|
||||
{
|
||||
return ImGui::TabBarQueueReorder(tab_bar,tab,offset);
|
||||
@@ -5342,9 +5342,9 @@ CIMGUI_API void igRenderColorRectWithAlphaCheckerboard(ImDrawList* draw_list,ImV
|
||||
{
|
||||
return ImGui::RenderColorRectWithAlphaCheckerboard(draw_list,p_min,p_max,fill_col,grid_step,grid_off,rounding,flags);
|
||||
}
|
||||
CIMGUI_API void igRenderNavHighlight(const ImRect bb,ImGuiID id,ImGuiNavHighlightFlags flags)
|
||||
CIMGUI_API void igRenderNavCursor(const ImRect bb,ImGuiID id,ImGuiNavRenderCursorFlags flags)
|
||||
{
|
||||
return ImGui::RenderNavHighlight(bb,id,flags);
|
||||
return ImGui::RenderNavCursor(bb,id,flags);
|
||||
}
|
||||
CIMGUI_API const char* igFindRenderedTextEnd(const char* text,const char* text_end)
|
||||
{
|
||||
@@ -5510,6 +5510,10 @@ CIMGUI_API bool igDataTypeClamp(ImGuiDataType data_type,void* p_data,const void*
|
||||
{
|
||||
return ImGui::DataTypeClamp(data_type,p_data,p_min,p_max);
|
||||
}
|
||||
CIMGUI_API bool igDataTypeIsZero(ImGuiDataType data_type,const void* p_data)
|
||||
{
|
||||
return ImGui::DataTypeIsZero(data_type,p_data);
|
||||
}
|
||||
CIMGUI_API bool igInputTextEx(const char* label,const char* hint,char* buf,int buf_size,const ImVec2 size_arg,ImGuiInputTextFlags flags,ImGuiInputTextCallback callback,void* user_data)
|
||||
{
|
||||
return ImGui::InputTextEx(label,hint,buf,buf_size,size_arg,flags,callback,user_data);
|
||||
@@ -5578,22 +5582,42 @@ CIMGUI_API void igGcAwakeTransientWindowBuffers(ImGuiWindow* window)
|
||||
{
|
||||
return ImGui::GcAwakeTransientWindowBuffers(window);
|
||||
}
|
||||
CIMGUI_API void igDebugAllocHook(ImGuiDebugAllocInfo* info,int frame_count,void* ptr,size_t size)
|
||||
CIMGUI_API bool igErrorLog(const char* msg)
|
||||
{
|
||||
return ImGui::DebugAllocHook(info,frame_count,ptr,size);
|
||||
return ImGui::ErrorLog(msg);
|
||||
}
|
||||
CIMGUI_API void igErrorCheckEndFrameRecover(ImGuiErrorLogCallback log_callback,void* user_data)
|
||||
CIMGUI_API void igErrorRecoveryStoreState(ImGuiErrorRecoveryState* state_out)
|
||||
{
|
||||
return ImGui::ErrorCheckEndFrameRecover(log_callback,user_data);
|
||||
return ImGui::ErrorRecoveryStoreState(state_out);
|
||||
}
|
||||
CIMGUI_API void igErrorCheckEndWindowRecover(ImGuiErrorLogCallback log_callback,void* user_data)
|
||||
CIMGUI_API void igErrorRecoveryTryToRecoverState(const ImGuiErrorRecoveryState* state_in)
|
||||
{
|
||||
return ImGui::ErrorCheckEndWindowRecover(log_callback,user_data);
|
||||
return ImGui::ErrorRecoveryTryToRecoverState(state_in);
|
||||
}
|
||||
CIMGUI_API void igErrorRecoveryTryToRecoverWindowState(const ImGuiErrorRecoveryState* state_in)
|
||||
{
|
||||
return ImGui::ErrorRecoveryTryToRecoverWindowState(state_in);
|
||||
}
|
||||
CIMGUI_API void igErrorCheckUsingSetCursorPosToExtendParentBoundaries()
|
||||
{
|
||||
return ImGui::ErrorCheckUsingSetCursorPosToExtendParentBoundaries();
|
||||
}
|
||||
CIMGUI_API void igErrorCheckEndFrameFinalizeErrorTooltip()
|
||||
{
|
||||
return ImGui::ErrorCheckEndFrameFinalizeErrorTooltip();
|
||||
}
|
||||
CIMGUI_API bool igBeginErrorTooltip()
|
||||
{
|
||||
return ImGui::BeginErrorTooltip();
|
||||
}
|
||||
CIMGUI_API void igEndErrorTooltip()
|
||||
{
|
||||
return ImGui::EndErrorTooltip();
|
||||
}
|
||||
CIMGUI_API void igDebugAllocHook(ImGuiDebugAllocInfo* info,int frame_count,void* ptr,size_t size)
|
||||
{
|
||||
return ImGui::DebugAllocHook(info,frame_count,ptr,size);
|
||||
}
|
||||
CIMGUI_API void igDebugDrawCursorPos(ImU32 col)
|
||||
{
|
||||
return ImGui::DebugDrawCursorPos(col);
|
||||
|
152
cimgui.h
152
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.2" 19120 from Dear ImGui https://github.com/ocornut/imgui
|
||||
//based on imgui.h file version "1.91.4" 19140 from Dear ImGui https://github.com/ocornut/imgui
|
||||
//with imgui_internal.h api
|
||||
//docking branch
|
||||
#ifndef CIMGUI_INCLUDED
|
||||
@@ -91,6 +91,7 @@ typedef struct ImGuiDockContext ImGuiDockContext;
|
||||
typedef struct ImGuiDockRequest ImGuiDockRequest;
|
||||
typedef struct ImGuiDockNode ImGuiDockNode;
|
||||
typedef struct ImGuiDockNodeSettings ImGuiDockNodeSettings;
|
||||
typedef struct ImGuiErrorRecoveryState ImGuiErrorRecoveryState;
|
||||
typedef struct ImGuiGroupData ImGuiGroupData;
|
||||
typedef struct ImGuiInputTextState ImGuiInputTextState;
|
||||
typedef struct ImGuiInputTextDeactivateData ImGuiInputTextDeactivateData;
|
||||
@@ -107,7 +108,6 @@ typedef struct ImGuiOldColumnData ImGuiOldColumnData;
|
||||
typedef struct ImGuiOldColumns ImGuiOldColumns;
|
||||
typedef struct ImGuiPopupData ImGuiPopupData;
|
||||
typedef struct ImGuiSettingsHandler ImGuiSettingsHandler;
|
||||
typedef struct ImGuiStackSizes ImGuiStackSizes;
|
||||
typedef struct ImGuiStyleMod ImGuiStyleMod;
|
||||
typedef struct ImGuiTabBar ImGuiTabBar;
|
||||
typedef struct ImGuiTabItem ImGuiTabItem;
|
||||
@@ -211,7 +211,7 @@ typedef int ImGuiTableRowFlags;
|
||||
typedef int ImGuiTreeNodeFlags;
|
||||
typedef int ImGuiViewportFlags;
|
||||
typedef int ImGuiWindowFlags;
|
||||
typedef void* ImTextureID;
|
||||
typedef ImU64 ImTextureID;
|
||||
typedef unsigned short ImDrawIdx;
|
||||
typedef unsigned int ImWchar32;
|
||||
typedef unsigned short ImWchar16;
|
||||
@@ -661,8 +661,6 @@ typedef enum {
|
||||
ImGuiConfigFlags_None = 0,
|
||||
ImGuiConfigFlags_NavEnableKeyboard = 1 << 0,
|
||||
ImGuiConfigFlags_NavEnableGamepad = 1 << 1,
|
||||
ImGuiConfigFlags_NavEnableSetMousePos = 1 << 2,
|
||||
ImGuiConfigFlags_NavNoCaptureKeyboard = 1 << 3,
|
||||
ImGuiConfigFlags_NoMouse = 1 << 4,
|
||||
ImGuiConfigFlags_NoMouseCursorChange = 1 << 5,
|
||||
ImGuiConfigFlags_NoKeyboard = 1 << 6,
|
||||
@@ -738,7 +736,7 @@ typedef enum {
|
||||
ImGuiCol_TextLink,
|
||||
ImGuiCol_TextSelectedBg,
|
||||
ImGuiCol_DragDropTarget,
|
||||
ImGuiCol_NavHighlight,
|
||||
ImGuiCol_NavCursor,
|
||||
ImGuiCol_NavWindowingHighlight,
|
||||
ImGuiCol_NavWindowingDimBg,
|
||||
ImGuiCol_ModalWindowDimBg,
|
||||
@@ -787,6 +785,7 @@ typedef enum {
|
||||
ImGuiButtonFlags_MouseButtonRight = 1 << 1,
|
||||
ImGuiButtonFlags_MouseButtonMiddle = 1 << 2,
|
||||
ImGuiButtonFlags_MouseButtonMask_ = ImGuiButtonFlags_MouseButtonLeft | ImGuiButtonFlags_MouseButtonRight | ImGuiButtonFlags_MouseButtonMiddle,
|
||||
ImGuiButtonFlags_EnableNav = 1 << 3,
|
||||
}ImGuiButtonFlags_;
|
||||
typedef enum {
|
||||
ImGuiColorEditFlags_None = 0,
|
||||
@@ -821,11 +820,13 @@ typedef enum {
|
||||
}ImGuiColorEditFlags_;
|
||||
typedef enum {
|
||||
ImGuiSliderFlags_None = 0,
|
||||
ImGuiSliderFlags_AlwaysClamp = 1 << 4,
|
||||
ImGuiSliderFlags_Logarithmic = 1 << 5,
|
||||
ImGuiSliderFlags_NoRoundToFormat = 1 << 6,
|
||||
ImGuiSliderFlags_NoInput = 1 << 7,
|
||||
ImGuiSliderFlags_WrapAround = 1 << 8,
|
||||
ImGuiSliderFlags_ClampOnInput = 1 << 9,
|
||||
ImGuiSliderFlags_ClampZeroRange = 1 << 10,
|
||||
ImGuiSliderFlags_AlwaysClamp = ImGuiSliderFlags_ClampOnInput | ImGuiSliderFlags_ClampZeroRange,
|
||||
ImGuiSliderFlags_InvalidMask_ = 0x7000000F,
|
||||
}ImGuiSliderFlags_;
|
||||
typedef enum {
|
||||
@@ -1033,6 +1034,13 @@ struct ImGuiIO
|
||||
bool FontAllowUserScaling;
|
||||
ImFont* FontDefault;
|
||||
ImVec2 DisplayFramebufferScale;
|
||||
bool ConfigNavSwapGamepadButtons;
|
||||
bool ConfigNavMoveSetMousePos;
|
||||
bool ConfigNavCaptureKeyboard;
|
||||
bool ConfigNavEscapeClearFocusItem;
|
||||
bool ConfigNavEscapeClearFocusWindow;
|
||||
bool ConfigNavCursorVisibleAuto;
|
||||
bool ConfigNavCursorVisibleAlways;
|
||||
bool ConfigDockingNoSplit;
|
||||
bool ConfigDockingWithShift;
|
||||
bool ConfigDockingAlwaysTabBar;
|
||||
@@ -1043,19 +1051,23 @@ struct ImGuiIO
|
||||
bool ConfigViewportsNoDefaultParent;
|
||||
bool MouseDrawCursor;
|
||||
bool ConfigMacOSXBehaviors;
|
||||
bool ConfigNavSwapGamepadButtons;
|
||||
bool ConfigInputTrickleEventQueue;
|
||||
bool ConfigInputTextCursorBlink;
|
||||
bool ConfigInputTextEnterKeepActive;
|
||||
bool ConfigDragClickToInputText;
|
||||
bool ConfigWindowsResizeFromEdges;
|
||||
bool ConfigWindowsMoveFromTitleBarOnly;
|
||||
bool ConfigScrollbarScrollByPage;
|
||||
float ConfigMemoryCompactTimer;
|
||||
float MouseDoubleClickTime;
|
||||
float MouseDoubleClickMaxDist;
|
||||
float MouseDragThreshold;
|
||||
float KeyRepeatDelay;
|
||||
float KeyRepeatRate;
|
||||
bool ConfigErrorRecovery;
|
||||
bool ConfigErrorRecoveryEnableAssert;
|
||||
bool ConfigErrorRecoveryEnableDebugLog;
|
||||
bool ConfigErrorRecoveryEnableTooltip;
|
||||
bool ConfigDebugIsDebuggerPresent;
|
||||
bool ConfigDebugHighlightIdConflicts;
|
||||
bool ConfigDebugBeginReturnValueOnce;
|
||||
@@ -1283,6 +1295,8 @@ struct ImDrawCmd
|
||||
unsigned int ElemCount;
|
||||
ImDrawCallback UserCallback;
|
||||
void* UserCallbackData;
|
||||
int UserCallbackDataSize;
|
||||
int UserCallbackDataOffset;
|
||||
};
|
||||
struct ImDrawVert
|
||||
{
|
||||
@@ -1345,6 +1359,8 @@ typedef struct ImVector_ImVec4 {int Size;int Capacity;ImVec4* Data;} ImVector_Im
|
||||
|
||||
typedef struct ImVector_ImTextureID {int Size;int Capacity;ImTextureID* Data;} ImVector_ImTextureID;
|
||||
|
||||
typedef struct ImVector_ImU8 {int Size;int Capacity;ImU8* Data;} ImVector_ImU8;
|
||||
|
||||
struct ImDrawList
|
||||
{
|
||||
ImVector_ImDrawCmd CmdBuffer;
|
||||
@@ -1360,6 +1376,7 @@ struct ImDrawList
|
||||
ImDrawListSplitter _Splitter;
|
||||
ImVector_ImVec4 _ClipRectStack;
|
||||
ImVector_ImTextureID _TextureIdStack;
|
||||
ImVector_ImU8 _CallbacksDataBuf;
|
||||
float _FringeScale;
|
||||
const char* _OwnerName;
|
||||
};
|
||||
@@ -1539,6 +1556,7 @@ struct ImGuiPlatformIO
|
||||
void (*Platform_SetImeDataFn)(ImGuiContext* ctx, ImGuiViewport* viewport, ImGuiPlatformImeData* data);
|
||||
void* Platform_ImeUserData;
|
||||
ImWchar Platform_LocaleDecimalPoint;
|
||||
void* Renderer_RenderState;
|
||||
void (*Platform_CreateWindow)(ImGuiViewport* vp);
|
||||
void (*Platform_DestroyWindow)(ImGuiViewport* vp);
|
||||
void (*Platform_ShowWindow)(ImGuiViewport* vp);
|
||||
@@ -1593,6 +1611,7 @@ struct ImGuiDockContext;
|
||||
struct ImGuiDockRequest;
|
||||
struct ImGuiDockNode;
|
||||
struct ImGuiDockNodeSettings;
|
||||
struct ImGuiErrorRecoveryState;
|
||||
struct ImGuiGroupData;
|
||||
struct ImGuiInputTextState;
|
||||
struct ImGuiInputTextDeactivateData;
|
||||
@@ -1609,7 +1628,6 @@ struct ImGuiOldColumnData;
|
||||
struct ImGuiOldColumns;
|
||||
struct ImGuiPopupData;
|
||||
struct ImGuiSettingsHandler;
|
||||
struct ImGuiStackSizes;
|
||||
struct ImGuiStyleMod;
|
||||
struct ImGuiTabBar;
|
||||
struct ImGuiTabItem;
|
||||
@@ -1634,7 +1652,7 @@ typedef int ImGuiDebugLogFlags;
|
||||
typedef int ImGuiFocusRequestFlags;
|
||||
typedef int ImGuiItemStatusFlags;
|
||||
typedef int ImGuiOldColumnFlags;
|
||||
typedef int ImGuiNavHighlightFlags;
|
||||
typedef int ImGuiNavRenderCursorFlags;
|
||||
typedef int ImGuiNavMoveFlags;
|
||||
typedef int ImGuiNextItemDataFlags;
|
||||
typedef int ImGuiNextWindowDataFlags;
|
||||
@@ -1644,7 +1662,6 @@ 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 FILE* ImFileHandle;
|
||||
typedef struct ImVec1 ImVec1;
|
||||
@@ -1726,6 +1743,8 @@ typedef enum {
|
||||
ImGuiItemFlags_MixedValue = 1 << 12,
|
||||
ImGuiItemFlags_NoWindowHoverableCheck = 1 << 13,
|
||||
ImGuiItemFlags_AllowOverlap = 1 << 14,
|
||||
ImGuiItemFlags_NoNavDisableMouseHover = 1 << 15,
|
||||
ImGuiItemFlags_NoMarkEdited = 1 << 16,
|
||||
ImGuiItemFlags_Inputable = 1 << 20,
|
||||
ImGuiItemFlags_HasSelectionUserData = 1 << 21,
|
||||
ImGuiItemFlags_IsMultiSelect = 1 << 22,
|
||||
@@ -1752,9 +1771,8 @@ typedef enum {
|
||||
}ImGuiHoveredFlagsPrivate_;
|
||||
typedef enum {
|
||||
ImGuiInputTextFlags_Multiline = 1 << 26,
|
||||
ImGuiInputTextFlags_NoMarkEdited = 1 << 27,
|
||||
ImGuiInputTextFlags_MergedItem = 1 << 28,
|
||||
ImGuiInputTextFlags_LocalizeDecimalPoint= 1 << 29,
|
||||
ImGuiInputTextFlags_MergedItem = 1 << 27,
|
||||
ImGuiInputTextFlags_LocalizeDecimalPoint= 1 << 28,
|
||||
}ImGuiInputTextFlagsPrivate_;
|
||||
typedef enum {
|
||||
ImGuiButtonFlags_PressedOnClick = 1 << 4,
|
||||
@@ -1763,12 +1781,10 @@ typedef enum {
|
||||
ImGuiButtonFlags_PressedOnRelease = 1 << 7,
|
||||
ImGuiButtonFlags_PressedOnDoubleClick = 1 << 8,
|
||||
ImGuiButtonFlags_PressedOnDragDropHold = 1 << 9,
|
||||
ImGuiButtonFlags_Repeat = 1 << 10,
|
||||
ImGuiButtonFlags_FlattenChildren = 1 << 11,
|
||||
ImGuiButtonFlags_AllowOverlap = 1 << 12,
|
||||
ImGuiButtonFlags_DontClosePopups = 1 << 13,
|
||||
ImGuiButtonFlags_AlignTextBaseLine = 1 << 15,
|
||||
ImGuiButtonFlags_NoKeyModifiers = 1 << 16,
|
||||
ImGuiButtonFlags_NoKeyModsAllowed = 1 << 16,
|
||||
ImGuiButtonFlags_NoHoldingActiveId = 1 << 17,
|
||||
ImGuiButtonFlags_NoNavFocus = 1 << 18,
|
||||
ImGuiButtonFlags_NoHoveredOnFocus = 1 << 19,
|
||||
@@ -1969,7 +1985,7 @@ typedef enum {
|
||||
}ImGuiNextItemDataFlags_;
|
||||
struct ImGuiNextItemData
|
||||
{
|
||||
ImGuiNextItemDataFlags Flags;
|
||||
ImGuiNextItemDataFlags HasFlags;
|
||||
ImGuiItemFlags ItemFlags;
|
||||
ImGuiID FocusScopeId;
|
||||
ImGuiSelectionUserData SelectionUserData;
|
||||
@@ -1984,7 +2000,7 @@ struct ImGuiNextItemData
|
||||
struct ImGuiLastItemData
|
||||
{
|
||||
ImGuiID ID;
|
||||
ImGuiItemFlags InFlags;
|
||||
ImGuiItemFlags ItemFlags;
|
||||
ImGuiItemStatusFlags StatusFlags;
|
||||
ImRect Rect;
|
||||
ImRect NavRect;
|
||||
@@ -1996,12 +2012,14 @@ struct ImGuiTreeNodeStackData
|
||||
{
|
||||
ImGuiID ID;
|
||||
ImGuiTreeNodeFlags TreeFlags;
|
||||
ImGuiItemFlags InFlags;
|
||||
ImGuiItemFlags ItemFlags;
|
||||
ImRect NavRect;
|
||||
};
|
||||
struct ImGuiStackSizes
|
||||
struct ImGuiErrorRecoveryState
|
||||
{
|
||||
short SizeOfWindowStack;
|
||||
short SizeOfIDStack;
|
||||
short SizeOfTreeStack;
|
||||
short SizeOfColorStack;
|
||||
short SizeOfStyleVarStack;
|
||||
short SizeOfFontStack;
|
||||
@@ -2016,7 +2034,7 @@ struct ImGuiWindowStackData
|
||||
{
|
||||
ImGuiWindow* Window;
|
||||
ImGuiLastItemData ParentLastItemDataBackup;
|
||||
ImGuiStackSizes StackSizesOnBegin;
|
||||
ImGuiErrorRecoveryState StackSizesInBegin;
|
||||
bool DisabledOverrideReenable;
|
||||
};
|
||||
typedef struct ImGuiShrinkWidthItem ImGuiShrinkWidthItem;
|
||||
@@ -2210,11 +2228,11 @@ typedef enum {
|
||||
ImGuiScrollFlags_MaskY_ = ImGuiScrollFlags_KeepVisibleEdgeY | ImGuiScrollFlags_KeepVisibleCenterY | ImGuiScrollFlags_AlwaysCenterY,
|
||||
}ImGuiScrollFlags_;
|
||||
typedef enum {
|
||||
ImGuiNavHighlightFlags_None = 0,
|
||||
ImGuiNavHighlightFlags_Compact = 1 << 1,
|
||||
ImGuiNavHighlightFlags_AlwaysDraw = 1 << 2,
|
||||
ImGuiNavHighlightFlags_NoRounding = 1 << 3,
|
||||
}ImGuiNavHighlightFlags_;
|
||||
ImGuiNavRenderCursorFlags_None = 0,
|
||||
ImGuiNavRenderCursorFlags_Compact = 1 << 1,
|
||||
ImGuiNavRenderCursorFlags_AlwaysDraw = 1 << 2,
|
||||
ImGuiNavRenderCursorFlags_NoRounding = 1 << 3,
|
||||
}ImGuiNavRenderCursorFlags_;
|
||||
typedef enum {
|
||||
ImGuiNavMoveFlags_None = 0,
|
||||
ImGuiNavMoveFlags_LoopX = 1 << 0,
|
||||
@@ -2232,7 +2250,7 @@ typedef enum {
|
||||
ImGuiNavMoveFlags_IsPageMove = 1 << 11,
|
||||
ImGuiNavMoveFlags_Activate = 1 << 12,
|
||||
ImGuiNavMoveFlags_NoSelect = 1 << 13,
|
||||
ImGuiNavMoveFlags_NoSetNavHighlight = 1 << 14,
|
||||
ImGuiNavMoveFlags_NoSetNavCursorVisible = 1 << 14,
|
||||
ImGuiNavMoveFlags_NoClearActiveId = 1 << 15,
|
||||
}ImGuiNavMoveFlags_;
|
||||
typedef enum {
|
||||
@@ -2246,7 +2264,7 @@ struct ImGuiNavItemData
|
||||
ImGuiID ID;
|
||||
ImGuiID FocusScopeId;
|
||||
ImRect RectRel;
|
||||
ImGuiItemFlags InFlags;
|
||||
ImGuiItemFlags ItemFlags;
|
||||
float DistBox;
|
||||
float DistCenter;
|
||||
float DistAxial;
|
||||
@@ -2543,19 +2561,21 @@ struct ImGuiLocEntry
|
||||
ImGuiLocKey Key;
|
||||
const char* Text;
|
||||
};
|
||||
typedef void (*ImGuiErrorCallback)(ImGuiContext* ctx, void* user_data, const char* msg);
|
||||
typedef enum {
|
||||
ImGuiDebugLogFlags_None = 0,
|
||||
ImGuiDebugLogFlags_EventActiveId = 1 << 0,
|
||||
ImGuiDebugLogFlags_EventFocus = 1 << 1,
|
||||
ImGuiDebugLogFlags_EventPopup = 1 << 2,
|
||||
ImGuiDebugLogFlags_EventNav = 1 << 3,
|
||||
ImGuiDebugLogFlags_EventClipper = 1 << 4,
|
||||
ImGuiDebugLogFlags_EventSelection = 1 << 5,
|
||||
ImGuiDebugLogFlags_EventIO = 1 << 6,
|
||||
ImGuiDebugLogFlags_EventInputRouting = 1 << 7,
|
||||
ImGuiDebugLogFlags_EventDocking = 1 << 8,
|
||||
ImGuiDebugLogFlags_EventViewport = 1 << 9,
|
||||
ImGuiDebugLogFlags_EventMask_ = ImGuiDebugLogFlags_EventActiveId | ImGuiDebugLogFlags_EventFocus | ImGuiDebugLogFlags_EventPopup | ImGuiDebugLogFlags_EventNav | ImGuiDebugLogFlags_EventClipper | ImGuiDebugLogFlags_EventSelection | ImGuiDebugLogFlags_EventIO | ImGuiDebugLogFlags_EventInputRouting | ImGuiDebugLogFlags_EventDocking | ImGuiDebugLogFlags_EventViewport,
|
||||
ImGuiDebugLogFlags_EventError = 1 << 0,
|
||||
ImGuiDebugLogFlags_EventActiveId = 1 << 1,
|
||||
ImGuiDebugLogFlags_EventFocus = 1 << 2,
|
||||
ImGuiDebugLogFlags_EventPopup = 1 << 3,
|
||||
ImGuiDebugLogFlags_EventNav = 1 << 4,
|
||||
ImGuiDebugLogFlags_EventClipper = 1 << 5,
|
||||
ImGuiDebugLogFlags_EventSelection = 1 << 6,
|
||||
ImGuiDebugLogFlags_EventIO = 1 << 7,
|
||||
ImGuiDebugLogFlags_EventInputRouting = 1 << 8,
|
||||
ImGuiDebugLogFlags_EventDocking = 1 << 9,
|
||||
ImGuiDebugLogFlags_EventViewport = 1 << 10,
|
||||
ImGuiDebugLogFlags_EventMask_ = ImGuiDebugLogFlags_EventError | ImGuiDebugLogFlags_EventActiveId | ImGuiDebugLogFlags_EventFocus | ImGuiDebugLogFlags_EventPopup | ImGuiDebugLogFlags_EventNav | ImGuiDebugLogFlags_EventClipper | ImGuiDebugLogFlags_EventSelection | ImGuiDebugLogFlags_EventIO | ImGuiDebugLogFlags_EventInputRouting | ImGuiDebugLogFlags_EventDocking | ImGuiDebugLogFlags_EventViewport,
|
||||
ImGuiDebugLogFlags_OutputToTTY = 1 << 20,
|
||||
ImGuiDebugLogFlags_OutputToTestEngine = 1 << 21,
|
||||
}ImGuiDebugLogFlags_;
|
||||
@@ -2793,8 +2813,12 @@ struct ImGuiContext
|
||||
int ViewportCreatedCount;
|
||||
int PlatformWindowsCreatedCount;
|
||||
int ViewportFocusedStampCount;
|
||||
ImGuiWindow* NavWindow;
|
||||
bool NavCursorVisible;
|
||||
bool NavHighlightItemUnderNav;
|
||||
bool NavMousePosDirty;
|
||||
bool NavIdIsAlive;
|
||||
ImGuiID NavId;
|
||||
ImGuiWindow* NavWindow;
|
||||
ImGuiID NavFocusScopeId;
|
||||
ImGuiNavLayer NavLayer;
|
||||
ImGuiID NavActivateId;
|
||||
@@ -2808,10 +2832,7 @@ struct ImGuiContext
|
||||
ImGuiActivateFlags NavNextActivateFlags;
|
||||
ImGuiInputSource NavInputSource;
|
||||
ImGuiSelectionUserData NavLastValidSelectionUserData;
|
||||
bool NavIdIsAlive;
|
||||
bool NavMousePosDirty;
|
||||
bool NavDisableHighlight;
|
||||
bool NavDisableMouseHover;
|
||||
ImS8 NavCursorHideFrames;
|
||||
bool NavAnyRequest;
|
||||
bool NavInitRequest;
|
||||
bool NavInitRequestFromMove;
|
||||
@@ -2924,8 +2945,8 @@ struct ImGuiContext
|
||||
float DragSpeedDefaultRatio;
|
||||
float DisabledAlphaBackup;
|
||||
short DisabledStackSize;
|
||||
short LockMarkEdited;
|
||||
short TooltipOverrideCount;
|
||||
ImGuiWindow* TooltipPreviousWindow;
|
||||
ImVector_char ClipboardHandlerData;
|
||||
ImVector_ImGuiID MenusIdSubmittedThisFrame;
|
||||
ImGuiTypingSelectState TypingSelectState;
|
||||
@@ -2954,9 +2975,18 @@ struct ImGuiContext
|
||||
int LogDepthRef;
|
||||
int LogDepthToExpand;
|
||||
int LogDepthToExpandDefault;
|
||||
ImGuiErrorCallback ErrorCallback;
|
||||
void* ErrorCallbackUserData;
|
||||
ImVec2 ErrorTooltipLockedPos;
|
||||
bool ErrorFirst;
|
||||
int ErrorCountCurrentFrame;
|
||||
ImGuiErrorRecoveryState StackSizesInNewFrame;
|
||||
ImGuiErrorRecoveryState*StackSizesInBeginForCurrentWindow;
|
||||
int DebugDrawIdConflictsCount;
|
||||
ImGuiDebugLogFlags DebugLogFlags;
|
||||
ImGuiTextBuffer DebugLogBuf;
|
||||
ImGuiTextIndex DebugLogIndex;
|
||||
int DebugLogSkippedErrors;
|
||||
ImGuiDebugLogFlags DebugLogAutoDisableFlags;
|
||||
ImU8 DebugLogAutoDisableFrames;
|
||||
ImU8 DebugLocateFrames;
|
||||
@@ -3175,6 +3205,7 @@ typedef struct ImVector_ImGuiTabItem {int Size;int Capacity;ImGuiTabItem* Data;}
|
||||
|
||||
struct ImGuiTabBar
|
||||
{
|
||||
ImGuiWindow* Window;
|
||||
ImVector_ImGuiTabItem Tabs;
|
||||
ImGuiTabBarFlags Flags;
|
||||
ImGuiID ID;
|
||||
@@ -3514,6 +3545,7 @@ typedef ImVector<ImGuiWindow*> ImVector_ImGuiWindowPtr;
|
||||
typedef ImVector<ImGuiWindowStackData> ImVector_ImGuiWindowStackData;
|
||||
typedef ImVector<ImTextureID> ImVector_ImTextureID;
|
||||
typedef ImVector<ImU32> ImVector_ImU32;
|
||||
typedef ImVector<ImU8> ImVector_ImU8;
|
||||
typedef ImVector<ImVec2> ImVector_ImVec2;
|
||||
typedef ImVector<ImVec4> ImVector_ImVec4;
|
||||
typedef ImVector<ImWchar> ImVector_ImWchar;
|
||||
@@ -3855,6 +3887,7 @@ CIMGUI_API void igPushClipRect(const ImVec2 clip_rect_min,const ImVec2 clip_rect
|
||||
CIMGUI_API void igPopClipRect(void);
|
||||
CIMGUI_API void igSetItemDefaultFocus(void);
|
||||
CIMGUI_API void igSetKeyboardFocusHere(int offset);
|
||||
CIMGUI_API void igSetNavCursorVisible(bool visible);
|
||||
CIMGUI_API void igSetNextItemAllowOverlap(void);
|
||||
CIMGUI_API bool igIsItemHovered(ImGuiHoveredFlags flags);
|
||||
CIMGUI_API bool igIsItemActive(void);
|
||||
@@ -4103,7 +4136,7 @@ CIMGUI_API void ImDrawList_PathEllipticalArcTo(ImDrawList* self,const ImVec2 cen
|
||||
CIMGUI_API void ImDrawList_PathBezierCubicCurveTo(ImDrawList* self,const ImVec2 p2,const ImVec2 p3,const ImVec2 p4,int num_segments);
|
||||
CIMGUI_API void ImDrawList_PathBezierQuadraticCurveTo(ImDrawList* self,const ImVec2 p2,const ImVec2 p3,int num_segments);
|
||||
CIMGUI_API void ImDrawList_PathRect(ImDrawList* self,const ImVec2 rect_min,const ImVec2 rect_max,float rounding,ImDrawFlags flags);
|
||||
CIMGUI_API void ImDrawList_AddCallback(ImDrawList* self,ImDrawCallback callback,void* callback_data);
|
||||
CIMGUI_API void ImDrawList_AddCallback(ImDrawList* self,ImDrawCallback callback,void* userdata,size_t userdata_size);
|
||||
CIMGUI_API void ImDrawList_AddDrawCmd(ImDrawList* self);
|
||||
CIMGUI_API ImDrawList* ImDrawList_CloneOutput(ImDrawList* self);
|
||||
CIMGUI_API void ImDrawList_ChannelsSplit(ImDrawList* self,int count);
|
||||
@@ -4397,10 +4430,8 @@ CIMGUI_API void ImGuiNextItemData_destroy(ImGuiNextItemData* self);
|
||||
CIMGUI_API void ImGuiNextItemData_ClearFlags(ImGuiNextItemData* self);
|
||||
CIMGUI_API ImGuiLastItemData* ImGuiLastItemData_ImGuiLastItemData(void);
|
||||
CIMGUI_API void ImGuiLastItemData_destroy(ImGuiLastItemData* self);
|
||||
CIMGUI_API ImGuiStackSizes* ImGuiStackSizes_ImGuiStackSizes(void);
|
||||
CIMGUI_API void ImGuiStackSizes_destroy(ImGuiStackSizes* self);
|
||||
CIMGUI_API void ImGuiStackSizes_SetToContextState(ImGuiStackSizes* self,ImGuiContext* ctx);
|
||||
CIMGUI_API void ImGuiStackSizes_CompareWithContextState(ImGuiStackSizes* self,ImGuiContext* ctx);
|
||||
CIMGUI_API ImGuiErrorRecoveryState* ImGuiErrorRecoveryState_ImGuiErrorRecoveryState(void);
|
||||
CIMGUI_API void ImGuiErrorRecoveryState_destroy(ImGuiErrorRecoveryState* self);
|
||||
CIMGUI_API ImGuiPtrOrIndex* ImGuiPtrOrIndex_ImGuiPtrOrIndex_Ptr(void* ptr);
|
||||
CIMGUI_API void ImGuiPtrOrIndex_destroy(ImGuiPtrOrIndex* self);
|
||||
CIMGUI_API ImGuiPtrOrIndex* ImGuiPtrOrIndex_ImGuiPtrOrIndex_Int(int index);
|
||||
@@ -4644,7 +4675,7 @@ CIMGUI_API void igNavMoveRequestApplyResult(void);
|
||||
CIMGUI_API void igNavMoveRequestTryWrapping(ImGuiWindow* window,ImGuiNavMoveFlags move_flags);
|
||||
CIMGUI_API void igNavHighlightActivated(ImGuiID id);
|
||||
CIMGUI_API void igNavClearPreferredPosForAxis(ImGuiAxis axis);
|
||||
CIMGUI_API void igNavRestoreHighlightAfterMove(void);
|
||||
CIMGUI_API void igSetNavCursorVisibleAfterMove(void);
|
||||
CIMGUI_API void igNavUpdateCurrentWindowIsScrollPushableX(void);
|
||||
CIMGUI_API void igSetNavWindow(ImGuiWindow* window);
|
||||
CIMGUI_API void igSetNavID(ImGuiID id,ImGuiNavLayer nav_layer,ImGuiID focus_scope_id,const ImRect rect_rel);
|
||||
@@ -4824,7 +4855,8 @@ CIMGUI_API const char* igTabBarGetTabName(ImGuiTabBar* tab_bar,ImGuiTabItem* tab
|
||||
CIMGUI_API void igTabBarAddTab(ImGuiTabBar* tab_bar,ImGuiTabItemFlags tab_flags,ImGuiWindow* window);
|
||||
CIMGUI_API void igTabBarRemoveTab(ImGuiTabBar* tab_bar,ImGuiID tab_id);
|
||||
CIMGUI_API void igTabBarCloseTab(ImGuiTabBar* tab_bar,ImGuiTabItem* tab);
|
||||
CIMGUI_API void igTabBarQueueFocus(ImGuiTabBar* tab_bar,ImGuiTabItem* tab);
|
||||
CIMGUI_API void igTabBarQueueFocus_TabItemPtr(ImGuiTabBar* tab_bar,ImGuiTabItem* tab);
|
||||
CIMGUI_API void igTabBarQueueFocus_Str(ImGuiTabBar* tab_bar,const char* tab_name);
|
||||
CIMGUI_API void igTabBarQueueReorder(ImGuiTabBar* tab_bar,ImGuiTabItem* tab,int offset);
|
||||
CIMGUI_API void igTabBarQueueReorderFromMousePos(ImGuiTabBar* tab_bar,ImGuiTabItem* tab,ImVec2 mouse_pos);
|
||||
CIMGUI_API bool igTabBarProcessReorder(ImGuiTabBar* tab_bar);
|
||||
@@ -4841,7 +4873,7 @@ CIMGUI_API void igRenderTextEllipsis(ImDrawList* draw_list,const ImVec2 pos_min,
|
||||
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);
|
||||
CIMGUI_API void igRenderNavCursor(const ImRect bb,ImGuiID id,ImGuiNavRenderCursorFlags flags);
|
||||
CIMGUI_API const char* igFindRenderedTextEnd(const char* text,const char* text_end);
|
||||
CIMGUI_API void igRenderMouseCursor(ImVec2 pos,float scale,ImGuiMouseCursor mouse_cursor,ImU32 col_fill,ImU32 col_border,ImU32 col_shadow);
|
||||
CIMGUI_API void igRenderArrow(ImDrawList* draw_list,ImVec2 pos,ImU32 col,ImGuiDir dir,float scale);
|
||||
@@ -4883,6 +4915,7 @@ CIMGUI_API void igDataTypeApplyOp(ImGuiDataType data_type,int op,void* output,co
|
||||
CIMGUI_API bool igDataTypeApplyFromText(const char* buf,ImGuiDataType data_type,void* p_data,const char* format,void* p_data_when_empty);
|
||||
CIMGUI_API int igDataTypeCompare(ImGuiDataType data_type,const void* arg_1,const void* arg_2);
|
||||
CIMGUI_API bool igDataTypeClamp(ImGuiDataType data_type,void* p_data,const void* p_min,const void* p_max);
|
||||
CIMGUI_API bool igDataTypeIsZero(ImGuiDataType data_type,const void* p_data);
|
||||
CIMGUI_API bool igInputTextEx(const char* label,const char* hint,char* buf,int buf_size,const ImVec2 size_arg,ImGuiInputTextFlags flags,ImGuiInputTextCallback callback,void* user_data);
|
||||
CIMGUI_API void igInputTextDeactivateHook(ImGuiID id);
|
||||
CIMGUI_API bool igTempInputText(const ImRect bb,ImGuiID id,const char* label,char* buf,int buf_size,ImGuiInputTextFlags flags);
|
||||
@@ -4900,10 +4933,15 @@ CIMGUI_API void igShadeVertsTransformPos(ImDrawList* draw_list,int vert_start_id
|
||||
CIMGUI_API void igGcCompactTransientMiscBuffers(void);
|
||||
CIMGUI_API void igGcCompactTransientWindowBuffers(ImGuiWindow* window);
|
||||
CIMGUI_API void igGcAwakeTransientWindowBuffers(ImGuiWindow* window);
|
||||
CIMGUI_API void igDebugAllocHook(ImGuiDebugAllocInfo* info,int frame_count,void* ptr,size_t size);
|
||||
CIMGUI_API void igErrorCheckEndFrameRecover(ImGuiErrorLogCallback log_callback,void* user_data);
|
||||
CIMGUI_API void igErrorCheckEndWindowRecover(ImGuiErrorLogCallback log_callback,void* user_data);
|
||||
CIMGUI_API bool igErrorLog(const char* msg);
|
||||
CIMGUI_API void igErrorRecoveryStoreState(ImGuiErrorRecoveryState* state_out);
|
||||
CIMGUI_API void igErrorRecoveryTryToRecoverState(const ImGuiErrorRecoveryState* state_in);
|
||||
CIMGUI_API void igErrorRecoveryTryToRecoverWindowState(const ImGuiErrorRecoveryState* state_in);
|
||||
CIMGUI_API void igErrorCheckUsingSetCursorPosToExtendParentBoundaries(void);
|
||||
CIMGUI_API void igErrorCheckEndFrameFinalizeErrorTooltip(void);
|
||||
CIMGUI_API bool igBeginErrorTooltip(void);
|
||||
CIMGUI_API void igEndErrorTooltip(void);
|
||||
CIMGUI_API void igDebugAllocHook(ImGuiDebugAllocInfo* info,int frame_count,void* ptr,size_t size);
|
||||
CIMGUI_API void igDebugDrawCursorPos(ImU32 col);
|
||||
CIMGUI_API void igDebugDrawLineExtents(ImU32 col);
|
||||
CIMGUI_API void igDebugDrawItemRect(ImU32 col);
|
||||
|
@@ -19,7 +19,7 @@ set PATH=%PATH%;C:\anima;C:\mingws\i686-7.2.0-release-posix-dwarf-rt_v5-rev1\min
|
||||
:: "constructors" adds the _Construct version of constructors
|
||||
:: examples: "" "internal" "internal freetype comments"
|
||||
:: arg[3..n] name of implementations to generate and/or CFLAGS (e.g. -DIMGUI_USER_CONFIG or -DIMGUI_USE_WCHAR32)
|
||||
luajit ./generator.lua gcc "internal noimstrv" glfw opengl3 opengl2 sdl2 %*
|
||||
luajit ./generator.lua gcc "internal noimstrv" glfw opengl3 opengl2 sdl2 sdl3 %*
|
||||
|
||||
::leave console open
|
||||
cmd /k
|
||||
|
@@ -65,3 +65,24 @@ CIMGUI_API bool ImGui_ImplSDL2_ProcessEvent(const SDL_Event* event);
|
||||
CIMGUI_API void ImGui_ImplSDL2_SetGamepadMode(ImGui_ImplSDL2_GamepadMode mode,struct _SDL_GameController** manual_gamepads_array,int manual_gamepads_count);
|
||||
|
||||
#endif
|
||||
#ifdef CIMGUI_USE_SDL3
|
||||
|
||||
typedef struct SDL_Window SDL_Window;
|
||||
typedef struct SDL_Renderer SDL_Renderer;
|
||||
typedef struct SDL_Gamepad SDL_Gamepad;
|
||||
struct SDL_Window;
|
||||
struct SDL_Renderer;
|
||||
struct SDL_Gamepad;
|
||||
typedef union SDL_Event SDL_Event;
|
||||
typedef enum { ImGui_ImplSDL3_GamepadMode_AutoFirst, ImGui_ImplSDL3_GamepadMode_AutoAll, ImGui_ImplSDL3_GamepadMode_Manual }ImGui_ImplSDL3_GamepadMode;CIMGUI_API bool ImGui_ImplSDL3_InitForOpenGL(SDL_Window* window,void* sdl_gl_context);
|
||||
CIMGUI_API bool ImGui_ImplSDL3_InitForVulkan(SDL_Window* window);
|
||||
CIMGUI_API bool ImGui_ImplSDL3_InitForD3D(SDL_Window* window);
|
||||
CIMGUI_API bool ImGui_ImplSDL3_InitForMetal(SDL_Window* window);
|
||||
CIMGUI_API bool ImGui_ImplSDL3_InitForSDLRenderer(SDL_Window* window,SDL_Renderer* renderer);
|
||||
CIMGUI_API bool ImGui_ImplSDL3_InitForOther(SDL_Window* window);
|
||||
CIMGUI_API void ImGui_ImplSDL3_Shutdown(void);
|
||||
CIMGUI_API void ImGui_ImplSDL3_NewFrame(void);
|
||||
CIMGUI_API bool ImGui_ImplSDL3_ProcessEvent(const SDL_Event* event);
|
||||
CIMGUI_API void ImGui_ImplSDL3_SetGamepadMode(ImGui_ImplSDL3_GamepadMode mode,SDL_Gamepad** manual_gamepads_array,int manual_gamepads_count);
|
||||
|
||||
#endif
|
||||
|
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@@ -909,5 +909,224 @@
|
||||
"signature": "()",
|
||||
"stname": ""
|
||||
}
|
||||
],
|
||||
"ImGui_ImplSDL3_InitForD3D": [
|
||||
{
|
||||
"args": "(SDL_Window* window)",
|
||||
"argsT": [
|
||||
{
|
||||
"name": "window",
|
||||
"type": "SDL_Window*"
|
||||
}
|
||||
],
|
||||
"argsoriginal": "(SDL_Window* window)",
|
||||
"call_args": "(window)",
|
||||
"cimguiname": "ImGui_ImplSDL3_InitForD3D",
|
||||
"defaults": {},
|
||||
"funcname": "ImGui_ImplSDL3_InitForD3D",
|
||||
"location": "imgui_impl_sdl3:38",
|
||||
"ov_cimguiname": "ImGui_ImplSDL3_InitForD3D",
|
||||
"ret": "bool",
|
||||
"signature": "(SDL_Window*)",
|
||||
"stname": ""
|
||||
}
|
||||
],
|
||||
"ImGui_ImplSDL3_InitForMetal": [
|
||||
{
|
||||
"args": "(SDL_Window* window)",
|
||||
"argsT": [
|
||||
{
|
||||
"name": "window",
|
||||
"type": "SDL_Window*"
|
||||
}
|
||||
],
|
||||
"argsoriginal": "(SDL_Window* window)",
|
||||
"call_args": "(window)",
|
||||
"cimguiname": "ImGui_ImplSDL3_InitForMetal",
|
||||
"defaults": {},
|
||||
"funcname": "ImGui_ImplSDL3_InitForMetal",
|
||||
"location": "imgui_impl_sdl3:39",
|
||||
"ov_cimguiname": "ImGui_ImplSDL3_InitForMetal",
|
||||
"ret": "bool",
|
||||
"signature": "(SDL_Window*)",
|
||||
"stname": ""
|
||||
}
|
||||
],
|
||||
"ImGui_ImplSDL3_InitForOpenGL": [
|
||||
{
|
||||
"args": "(SDL_Window* window,void* sdl_gl_context)",
|
||||
"argsT": [
|
||||
{
|
||||
"name": "window",
|
||||
"type": "SDL_Window*"
|
||||
},
|
||||
{
|
||||
"name": "sdl_gl_context",
|
||||
"type": "void*"
|
||||
}
|
||||
],
|
||||
"argsoriginal": "(SDL_Window* window,void* sdl_gl_context)",
|
||||
"call_args": "(window,sdl_gl_context)",
|
||||
"cimguiname": "ImGui_ImplSDL3_InitForOpenGL",
|
||||
"defaults": {},
|
||||
"funcname": "ImGui_ImplSDL3_InitForOpenGL",
|
||||
"location": "imgui_impl_sdl3:36",
|
||||
"ov_cimguiname": "ImGui_ImplSDL3_InitForOpenGL",
|
||||
"ret": "bool",
|
||||
"signature": "(SDL_Window*,void*)",
|
||||
"stname": ""
|
||||
}
|
||||
],
|
||||
"ImGui_ImplSDL3_InitForOther": [
|
||||
{
|
||||
"args": "(SDL_Window* window)",
|
||||
"argsT": [
|
||||
{
|
||||
"name": "window",
|
||||
"type": "SDL_Window*"
|
||||
}
|
||||
],
|
||||
"argsoriginal": "(SDL_Window* window)",
|
||||
"call_args": "(window)",
|
||||
"cimguiname": "ImGui_ImplSDL3_InitForOther",
|
||||
"defaults": {},
|
||||
"funcname": "ImGui_ImplSDL3_InitForOther",
|
||||
"location": "imgui_impl_sdl3:41",
|
||||
"ov_cimguiname": "ImGui_ImplSDL3_InitForOther",
|
||||
"ret": "bool",
|
||||
"signature": "(SDL_Window*)",
|
||||
"stname": ""
|
||||
}
|
||||
],
|
||||
"ImGui_ImplSDL3_InitForSDLRenderer": [
|
||||
{
|
||||
"args": "(SDL_Window* window,SDL_Renderer* renderer)",
|
||||
"argsT": [
|
||||
{
|
||||
"name": "window",
|
||||
"type": "SDL_Window*"
|
||||
},
|
||||
{
|
||||
"name": "renderer",
|
||||
"type": "SDL_Renderer*"
|
||||
}
|
||||
],
|
||||
"argsoriginal": "(SDL_Window* window,SDL_Renderer* renderer)",
|
||||
"call_args": "(window,renderer)",
|
||||
"cimguiname": "ImGui_ImplSDL3_InitForSDLRenderer",
|
||||
"defaults": {},
|
||||
"funcname": "ImGui_ImplSDL3_InitForSDLRenderer",
|
||||
"location": "imgui_impl_sdl3:40",
|
||||
"ov_cimguiname": "ImGui_ImplSDL3_InitForSDLRenderer",
|
||||
"ret": "bool",
|
||||
"signature": "(SDL_Window*,SDL_Renderer*)",
|
||||
"stname": ""
|
||||
}
|
||||
],
|
||||
"ImGui_ImplSDL3_InitForVulkan": [
|
||||
{
|
||||
"args": "(SDL_Window* window)",
|
||||
"argsT": [
|
||||
{
|
||||
"name": "window",
|
||||
"type": "SDL_Window*"
|
||||
}
|
||||
],
|
||||
"argsoriginal": "(SDL_Window* window)",
|
||||
"call_args": "(window)",
|
||||
"cimguiname": "ImGui_ImplSDL3_InitForVulkan",
|
||||
"defaults": {},
|
||||
"funcname": "ImGui_ImplSDL3_InitForVulkan",
|
||||
"location": "imgui_impl_sdl3:37",
|
||||
"ov_cimguiname": "ImGui_ImplSDL3_InitForVulkan",
|
||||
"ret": "bool",
|
||||
"signature": "(SDL_Window*)",
|
||||
"stname": ""
|
||||
}
|
||||
],
|
||||
"ImGui_ImplSDL3_NewFrame": [
|
||||
{
|
||||
"args": "()",
|
||||
"argsT": [],
|
||||
"argsoriginal": "()",
|
||||
"call_args": "()",
|
||||
"cimguiname": "ImGui_ImplSDL3_NewFrame",
|
||||
"defaults": {},
|
||||
"funcname": "ImGui_ImplSDL3_NewFrame",
|
||||
"location": "imgui_impl_sdl3:43",
|
||||
"ov_cimguiname": "ImGui_ImplSDL3_NewFrame",
|
||||
"ret": "void",
|
||||
"signature": "()",
|
||||
"stname": ""
|
||||
}
|
||||
],
|
||||
"ImGui_ImplSDL3_ProcessEvent": [
|
||||
{
|
||||
"args": "(const SDL_Event* event)",
|
||||
"argsT": [
|
||||
{
|
||||
"name": "event",
|
||||
"type": "const SDL_Event*"
|
||||
}
|
||||
],
|
||||
"argsoriginal": "(const SDL_Event* event)",
|
||||
"call_args": "(event)",
|
||||
"cimguiname": "ImGui_ImplSDL3_ProcessEvent",
|
||||
"defaults": {},
|
||||
"funcname": "ImGui_ImplSDL3_ProcessEvent",
|
||||
"location": "imgui_impl_sdl3:44",
|
||||
"ov_cimguiname": "ImGui_ImplSDL3_ProcessEvent",
|
||||
"ret": "bool",
|
||||
"signature": "(const SDL_Event*)",
|
||||
"stname": ""
|
||||
}
|
||||
],
|
||||
"ImGui_ImplSDL3_SetGamepadMode": [
|
||||
{
|
||||
"args": "(ImGui_ImplSDL3_GamepadMode mode,SDL_Gamepad** manual_gamepads_array,int manual_gamepads_count)",
|
||||
"argsT": [
|
||||
{
|
||||
"name": "mode",
|
||||
"type": "ImGui_ImplSDL3_GamepadMode"
|
||||
},
|
||||
{
|
||||
"name": "manual_gamepads_array",
|
||||
"type": "SDL_Gamepad**"
|
||||
},
|
||||
{
|
||||
"name": "manual_gamepads_count",
|
||||
"type": "int"
|
||||
}
|
||||
],
|
||||
"argsoriginal": "(ImGui_ImplSDL3_GamepadMode mode,SDL_Gamepad** manual_gamepads_array=((void*)0),int manual_gamepads_count=-1)",
|
||||
"call_args": "(mode,manual_gamepads_array,manual_gamepads_count)",
|
||||
"cimguiname": "ImGui_ImplSDL3_SetGamepadMode",
|
||||
"defaults": {
|
||||
"manual_gamepads_array": "NULL",
|
||||
"manual_gamepads_count": "-1"
|
||||
},
|
||||
"funcname": "ImGui_ImplSDL3_SetGamepadMode",
|
||||
"location": "imgui_impl_sdl3:49",
|
||||
"ov_cimguiname": "ImGui_ImplSDL3_SetGamepadMode",
|
||||
"ret": "void",
|
||||
"signature": "(ImGui_ImplSDL3_GamepadMode,SDL_Gamepad**,int)",
|
||||
"stname": ""
|
||||
}
|
||||
],
|
||||
"ImGui_ImplSDL3_Shutdown": [
|
||||
{
|
||||
"args": "()",
|
||||
"argsT": [],
|
||||
"argsoriginal": "()",
|
||||
"call_args": "()",
|
||||
"cimguiname": "ImGui_ImplSDL3_Shutdown",
|
||||
"defaults": {},
|
||||
"funcname": "ImGui_ImplSDL3_Shutdown",
|
||||
"location": "imgui_impl_sdl3:42",
|
||||
"ov_cimguiname": "ImGui_ImplSDL3_Shutdown",
|
||||
"ret": "void",
|
||||
"signature": "()",
|
||||
"stname": ""
|
||||
}
|
||||
]
|
||||
}
|
@@ -791,5 +791,193 @@ defs["ImGui_ImplSDL2_Shutdown"][1]["ret"] = "void"
|
||||
defs["ImGui_ImplSDL2_Shutdown"][1]["signature"] = "()"
|
||||
defs["ImGui_ImplSDL2_Shutdown"][1]["stname"] = ""
|
||||
defs["ImGui_ImplSDL2_Shutdown"]["()"] = defs["ImGui_ImplSDL2_Shutdown"][1]
|
||||
defs["ImGui_ImplSDL3_InitForD3D"] = {}
|
||||
defs["ImGui_ImplSDL3_InitForD3D"][1] = {}
|
||||
defs["ImGui_ImplSDL3_InitForD3D"][1]["args"] = "(SDL_Window* window)"
|
||||
defs["ImGui_ImplSDL3_InitForD3D"][1]["argsT"] = {}
|
||||
defs["ImGui_ImplSDL3_InitForD3D"][1]["argsT"][1] = {}
|
||||
defs["ImGui_ImplSDL3_InitForD3D"][1]["argsT"][1]["name"] = "window"
|
||||
defs["ImGui_ImplSDL3_InitForD3D"][1]["argsT"][1]["type"] = "SDL_Window*"
|
||||
defs["ImGui_ImplSDL3_InitForD3D"][1]["argsoriginal"] = "(SDL_Window* window)"
|
||||
defs["ImGui_ImplSDL3_InitForD3D"][1]["call_args"] = "(window)"
|
||||
defs["ImGui_ImplSDL3_InitForD3D"][1]["cimguiname"] = "ImGui_ImplSDL3_InitForD3D"
|
||||
defs["ImGui_ImplSDL3_InitForD3D"][1]["defaults"] = {}
|
||||
defs["ImGui_ImplSDL3_InitForD3D"][1]["funcname"] = "ImGui_ImplSDL3_InitForD3D"
|
||||
defs["ImGui_ImplSDL3_InitForD3D"][1]["location"] = "imgui_impl_sdl3:38"
|
||||
defs["ImGui_ImplSDL3_InitForD3D"][1]["ov_cimguiname"] = "ImGui_ImplSDL3_InitForD3D"
|
||||
defs["ImGui_ImplSDL3_InitForD3D"][1]["ret"] = "bool"
|
||||
defs["ImGui_ImplSDL3_InitForD3D"][1]["signature"] = "(SDL_Window*)"
|
||||
defs["ImGui_ImplSDL3_InitForD3D"][1]["stname"] = ""
|
||||
defs["ImGui_ImplSDL3_InitForD3D"]["(SDL_Window*)"] = defs["ImGui_ImplSDL3_InitForD3D"][1]
|
||||
defs["ImGui_ImplSDL3_InitForMetal"] = {}
|
||||
defs["ImGui_ImplSDL3_InitForMetal"][1] = {}
|
||||
defs["ImGui_ImplSDL3_InitForMetal"][1]["args"] = "(SDL_Window* window)"
|
||||
defs["ImGui_ImplSDL3_InitForMetal"][1]["argsT"] = {}
|
||||
defs["ImGui_ImplSDL3_InitForMetal"][1]["argsT"][1] = {}
|
||||
defs["ImGui_ImplSDL3_InitForMetal"][1]["argsT"][1]["name"] = "window"
|
||||
defs["ImGui_ImplSDL3_InitForMetal"][1]["argsT"][1]["type"] = "SDL_Window*"
|
||||
defs["ImGui_ImplSDL3_InitForMetal"][1]["argsoriginal"] = "(SDL_Window* window)"
|
||||
defs["ImGui_ImplSDL3_InitForMetal"][1]["call_args"] = "(window)"
|
||||
defs["ImGui_ImplSDL3_InitForMetal"][1]["cimguiname"] = "ImGui_ImplSDL3_InitForMetal"
|
||||
defs["ImGui_ImplSDL3_InitForMetal"][1]["defaults"] = {}
|
||||
defs["ImGui_ImplSDL3_InitForMetal"][1]["funcname"] = "ImGui_ImplSDL3_InitForMetal"
|
||||
defs["ImGui_ImplSDL3_InitForMetal"][1]["location"] = "imgui_impl_sdl3:39"
|
||||
defs["ImGui_ImplSDL3_InitForMetal"][1]["ov_cimguiname"] = "ImGui_ImplSDL3_InitForMetal"
|
||||
defs["ImGui_ImplSDL3_InitForMetal"][1]["ret"] = "bool"
|
||||
defs["ImGui_ImplSDL3_InitForMetal"][1]["signature"] = "(SDL_Window*)"
|
||||
defs["ImGui_ImplSDL3_InitForMetal"][1]["stname"] = ""
|
||||
defs["ImGui_ImplSDL3_InitForMetal"]["(SDL_Window*)"] = defs["ImGui_ImplSDL3_InitForMetal"][1]
|
||||
defs["ImGui_ImplSDL3_InitForOpenGL"] = {}
|
||||
defs["ImGui_ImplSDL3_InitForOpenGL"][1] = {}
|
||||
defs["ImGui_ImplSDL3_InitForOpenGL"][1]["args"] = "(SDL_Window* window,void* sdl_gl_context)"
|
||||
defs["ImGui_ImplSDL3_InitForOpenGL"][1]["argsT"] = {}
|
||||
defs["ImGui_ImplSDL3_InitForOpenGL"][1]["argsT"][1] = {}
|
||||
defs["ImGui_ImplSDL3_InitForOpenGL"][1]["argsT"][1]["name"] = "window"
|
||||
defs["ImGui_ImplSDL3_InitForOpenGL"][1]["argsT"][1]["type"] = "SDL_Window*"
|
||||
defs["ImGui_ImplSDL3_InitForOpenGL"][1]["argsT"][2] = {}
|
||||
defs["ImGui_ImplSDL3_InitForOpenGL"][1]["argsT"][2]["name"] = "sdl_gl_context"
|
||||
defs["ImGui_ImplSDL3_InitForOpenGL"][1]["argsT"][2]["type"] = "void*"
|
||||
defs["ImGui_ImplSDL3_InitForOpenGL"][1]["argsoriginal"] = "(SDL_Window* window,void* sdl_gl_context)"
|
||||
defs["ImGui_ImplSDL3_InitForOpenGL"][1]["call_args"] = "(window,sdl_gl_context)"
|
||||
defs["ImGui_ImplSDL3_InitForOpenGL"][1]["cimguiname"] = "ImGui_ImplSDL3_InitForOpenGL"
|
||||
defs["ImGui_ImplSDL3_InitForOpenGL"][1]["defaults"] = {}
|
||||
defs["ImGui_ImplSDL3_InitForOpenGL"][1]["funcname"] = "ImGui_ImplSDL3_InitForOpenGL"
|
||||
defs["ImGui_ImplSDL3_InitForOpenGL"][1]["location"] = "imgui_impl_sdl3:36"
|
||||
defs["ImGui_ImplSDL3_InitForOpenGL"][1]["ov_cimguiname"] = "ImGui_ImplSDL3_InitForOpenGL"
|
||||
defs["ImGui_ImplSDL3_InitForOpenGL"][1]["ret"] = "bool"
|
||||
defs["ImGui_ImplSDL3_InitForOpenGL"][1]["signature"] = "(SDL_Window*,void*)"
|
||||
defs["ImGui_ImplSDL3_InitForOpenGL"][1]["stname"] = ""
|
||||
defs["ImGui_ImplSDL3_InitForOpenGL"]["(SDL_Window*,void*)"] = defs["ImGui_ImplSDL3_InitForOpenGL"][1]
|
||||
defs["ImGui_ImplSDL3_InitForOther"] = {}
|
||||
defs["ImGui_ImplSDL3_InitForOther"][1] = {}
|
||||
defs["ImGui_ImplSDL3_InitForOther"][1]["args"] = "(SDL_Window* window)"
|
||||
defs["ImGui_ImplSDL3_InitForOther"][1]["argsT"] = {}
|
||||
defs["ImGui_ImplSDL3_InitForOther"][1]["argsT"][1] = {}
|
||||
defs["ImGui_ImplSDL3_InitForOther"][1]["argsT"][1]["name"] = "window"
|
||||
defs["ImGui_ImplSDL3_InitForOther"][1]["argsT"][1]["type"] = "SDL_Window*"
|
||||
defs["ImGui_ImplSDL3_InitForOther"][1]["argsoriginal"] = "(SDL_Window* window)"
|
||||
defs["ImGui_ImplSDL3_InitForOther"][1]["call_args"] = "(window)"
|
||||
defs["ImGui_ImplSDL3_InitForOther"][1]["cimguiname"] = "ImGui_ImplSDL3_InitForOther"
|
||||
defs["ImGui_ImplSDL3_InitForOther"][1]["defaults"] = {}
|
||||
defs["ImGui_ImplSDL3_InitForOther"][1]["funcname"] = "ImGui_ImplSDL3_InitForOther"
|
||||
defs["ImGui_ImplSDL3_InitForOther"][1]["location"] = "imgui_impl_sdl3:41"
|
||||
defs["ImGui_ImplSDL3_InitForOther"][1]["ov_cimguiname"] = "ImGui_ImplSDL3_InitForOther"
|
||||
defs["ImGui_ImplSDL3_InitForOther"][1]["ret"] = "bool"
|
||||
defs["ImGui_ImplSDL3_InitForOther"][1]["signature"] = "(SDL_Window*)"
|
||||
defs["ImGui_ImplSDL3_InitForOther"][1]["stname"] = ""
|
||||
defs["ImGui_ImplSDL3_InitForOther"]["(SDL_Window*)"] = defs["ImGui_ImplSDL3_InitForOther"][1]
|
||||
defs["ImGui_ImplSDL3_InitForSDLRenderer"] = {}
|
||||
defs["ImGui_ImplSDL3_InitForSDLRenderer"][1] = {}
|
||||
defs["ImGui_ImplSDL3_InitForSDLRenderer"][1]["args"] = "(SDL_Window* window,SDL_Renderer* renderer)"
|
||||
defs["ImGui_ImplSDL3_InitForSDLRenderer"][1]["argsT"] = {}
|
||||
defs["ImGui_ImplSDL3_InitForSDLRenderer"][1]["argsT"][1] = {}
|
||||
defs["ImGui_ImplSDL3_InitForSDLRenderer"][1]["argsT"][1]["name"] = "window"
|
||||
defs["ImGui_ImplSDL3_InitForSDLRenderer"][1]["argsT"][1]["type"] = "SDL_Window*"
|
||||
defs["ImGui_ImplSDL3_InitForSDLRenderer"][1]["argsT"][2] = {}
|
||||
defs["ImGui_ImplSDL3_InitForSDLRenderer"][1]["argsT"][2]["name"] = "renderer"
|
||||
defs["ImGui_ImplSDL3_InitForSDLRenderer"][1]["argsT"][2]["type"] = "SDL_Renderer*"
|
||||
defs["ImGui_ImplSDL3_InitForSDLRenderer"][1]["argsoriginal"] = "(SDL_Window* window,SDL_Renderer* renderer)"
|
||||
defs["ImGui_ImplSDL3_InitForSDLRenderer"][1]["call_args"] = "(window,renderer)"
|
||||
defs["ImGui_ImplSDL3_InitForSDLRenderer"][1]["cimguiname"] = "ImGui_ImplSDL3_InitForSDLRenderer"
|
||||
defs["ImGui_ImplSDL3_InitForSDLRenderer"][1]["defaults"] = {}
|
||||
defs["ImGui_ImplSDL3_InitForSDLRenderer"][1]["funcname"] = "ImGui_ImplSDL3_InitForSDLRenderer"
|
||||
defs["ImGui_ImplSDL3_InitForSDLRenderer"][1]["location"] = "imgui_impl_sdl3:40"
|
||||
defs["ImGui_ImplSDL3_InitForSDLRenderer"][1]["ov_cimguiname"] = "ImGui_ImplSDL3_InitForSDLRenderer"
|
||||
defs["ImGui_ImplSDL3_InitForSDLRenderer"][1]["ret"] = "bool"
|
||||
defs["ImGui_ImplSDL3_InitForSDLRenderer"][1]["signature"] = "(SDL_Window*,SDL_Renderer*)"
|
||||
defs["ImGui_ImplSDL3_InitForSDLRenderer"][1]["stname"] = ""
|
||||
defs["ImGui_ImplSDL3_InitForSDLRenderer"]["(SDL_Window*,SDL_Renderer*)"] = defs["ImGui_ImplSDL3_InitForSDLRenderer"][1]
|
||||
defs["ImGui_ImplSDL3_InitForVulkan"] = {}
|
||||
defs["ImGui_ImplSDL3_InitForVulkan"][1] = {}
|
||||
defs["ImGui_ImplSDL3_InitForVulkan"][1]["args"] = "(SDL_Window* window)"
|
||||
defs["ImGui_ImplSDL3_InitForVulkan"][1]["argsT"] = {}
|
||||
defs["ImGui_ImplSDL3_InitForVulkan"][1]["argsT"][1] = {}
|
||||
defs["ImGui_ImplSDL3_InitForVulkan"][1]["argsT"][1]["name"] = "window"
|
||||
defs["ImGui_ImplSDL3_InitForVulkan"][1]["argsT"][1]["type"] = "SDL_Window*"
|
||||
defs["ImGui_ImplSDL3_InitForVulkan"][1]["argsoriginal"] = "(SDL_Window* window)"
|
||||
defs["ImGui_ImplSDL3_InitForVulkan"][1]["call_args"] = "(window)"
|
||||
defs["ImGui_ImplSDL3_InitForVulkan"][1]["cimguiname"] = "ImGui_ImplSDL3_InitForVulkan"
|
||||
defs["ImGui_ImplSDL3_InitForVulkan"][1]["defaults"] = {}
|
||||
defs["ImGui_ImplSDL3_InitForVulkan"][1]["funcname"] = "ImGui_ImplSDL3_InitForVulkan"
|
||||
defs["ImGui_ImplSDL3_InitForVulkan"][1]["location"] = "imgui_impl_sdl3:37"
|
||||
defs["ImGui_ImplSDL3_InitForVulkan"][1]["ov_cimguiname"] = "ImGui_ImplSDL3_InitForVulkan"
|
||||
defs["ImGui_ImplSDL3_InitForVulkan"][1]["ret"] = "bool"
|
||||
defs["ImGui_ImplSDL3_InitForVulkan"][1]["signature"] = "(SDL_Window*)"
|
||||
defs["ImGui_ImplSDL3_InitForVulkan"][1]["stname"] = ""
|
||||
defs["ImGui_ImplSDL3_InitForVulkan"]["(SDL_Window*)"] = defs["ImGui_ImplSDL3_InitForVulkan"][1]
|
||||
defs["ImGui_ImplSDL3_NewFrame"] = {}
|
||||
defs["ImGui_ImplSDL3_NewFrame"][1] = {}
|
||||
defs["ImGui_ImplSDL3_NewFrame"][1]["args"] = "()"
|
||||
defs["ImGui_ImplSDL3_NewFrame"][1]["argsT"] = {}
|
||||
defs["ImGui_ImplSDL3_NewFrame"][1]["argsoriginal"] = "()"
|
||||
defs["ImGui_ImplSDL3_NewFrame"][1]["call_args"] = "()"
|
||||
defs["ImGui_ImplSDL3_NewFrame"][1]["cimguiname"] = "ImGui_ImplSDL3_NewFrame"
|
||||
defs["ImGui_ImplSDL3_NewFrame"][1]["defaults"] = {}
|
||||
defs["ImGui_ImplSDL3_NewFrame"][1]["funcname"] = "ImGui_ImplSDL3_NewFrame"
|
||||
defs["ImGui_ImplSDL3_NewFrame"][1]["location"] = "imgui_impl_sdl3:43"
|
||||
defs["ImGui_ImplSDL3_NewFrame"][1]["ov_cimguiname"] = "ImGui_ImplSDL3_NewFrame"
|
||||
defs["ImGui_ImplSDL3_NewFrame"][1]["ret"] = "void"
|
||||
defs["ImGui_ImplSDL3_NewFrame"][1]["signature"] = "()"
|
||||
defs["ImGui_ImplSDL3_NewFrame"][1]["stname"] = ""
|
||||
defs["ImGui_ImplSDL3_NewFrame"]["()"] = defs["ImGui_ImplSDL3_NewFrame"][1]
|
||||
defs["ImGui_ImplSDL3_ProcessEvent"] = {}
|
||||
defs["ImGui_ImplSDL3_ProcessEvent"][1] = {}
|
||||
defs["ImGui_ImplSDL3_ProcessEvent"][1]["args"] = "(const SDL_Event* event)"
|
||||
defs["ImGui_ImplSDL3_ProcessEvent"][1]["argsT"] = {}
|
||||
defs["ImGui_ImplSDL3_ProcessEvent"][1]["argsT"][1] = {}
|
||||
defs["ImGui_ImplSDL3_ProcessEvent"][1]["argsT"][1]["name"] = "event"
|
||||
defs["ImGui_ImplSDL3_ProcessEvent"][1]["argsT"][1]["type"] = "const SDL_Event*"
|
||||
defs["ImGui_ImplSDL3_ProcessEvent"][1]["argsoriginal"] = "(const SDL_Event* event)"
|
||||
defs["ImGui_ImplSDL3_ProcessEvent"][1]["call_args"] = "(event)"
|
||||
defs["ImGui_ImplSDL3_ProcessEvent"][1]["cimguiname"] = "ImGui_ImplSDL3_ProcessEvent"
|
||||
defs["ImGui_ImplSDL3_ProcessEvent"][1]["defaults"] = {}
|
||||
defs["ImGui_ImplSDL3_ProcessEvent"][1]["funcname"] = "ImGui_ImplSDL3_ProcessEvent"
|
||||
defs["ImGui_ImplSDL3_ProcessEvent"][1]["location"] = "imgui_impl_sdl3:44"
|
||||
defs["ImGui_ImplSDL3_ProcessEvent"][1]["ov_cimguiname"] = "ImGui_ImplSDL3_ProcessEvent"
|
||||
defs["ImGui_ImplSDL3_ProcessEvent"][1]["ret"] = "bool"
|
||||
defs["ImGui_ImplSDL3_ProcessEvent"][1]["signature"] = "(const SDL_Event*)"
|
||||
defs["ImGui_ImplSDL3_ProcessEvent"][1]["stname"] = ""
|
||||
defs["ImGui_ImplSDL3_ProcessEvent"]["(const SDL_Event*)"] = defs["ImGui_ImplSDL3_ProcessEvent"][1]
|
||||
defs["ImGui_ImplSDL3_SetGamepadMode"] = {}
|
||||
defs["ImGui_ImplSDL3_SetGamepadMode"][1] = {}
|
||||
defs["ImGui_ImplSDL3_SetGamepadMode"][1]["args"] = "(ImGui_ImplSDL3_GamepadMode mode,SDL_Gamepad** manual_gamepads_array,int manual_gamepads_count)"
|
||||
defs["ImGui_ImplSDL3_SetGamepadMode"][1]["argsT"] = {}
|
||||
defs["ImGui_ImplSDL3_SetGamepadMode"][1]["argsT"][1] = {}
|
||||
defs["ImGui_ImplSDL3_SetGamepadMode"][1]["argsT"][1]["name"] = "mode"
|
||||
defs["ImGui_ImplSDL3_SetGamepadMode"][1]["argsT"][1]["type"] = "ImGui_ImplSDL3_GamepadMode"
|
||||
defs["ImGui_ImplSDL3_SetGamepadMode"][1]["argsT"][2] = {}
|
||||
defs["ImGui_ImplSDL3_SetGamepadMode"][1]["argsT"][2]["name"] = "manual_gamepads_array"
|
||||
defs["ImGui_ImplSDL3_SetGamepadMode"][1]["argsT"][2]["type"] = "SDL_Gamepad**"
|
||||
defs["ImGui_ImplSDL3_SetGamepadMode"][1]["argsT"][3] = {}
|
||||
defs["ImGui_ImplSDL3_SetGamepadMode"][1]["argsT"][3]["name"] = "manual_gamepads_count"
|
||||
defs["ImGui_ImplSDL3_SetGamepadMode"][1]["argsT"][3]["type"] = "int"
|
||||
defs["ImGui_ImplSDL3_SetGamepadMode"][1]["argsoriginal"] = "(ImGui_ImplSDL3_GamepadMode mode,SDL_Gamepad** manual_gamepads_array=((void*)0),int manual_gamepads_count=-1)"
|
||||
defs["ImGui_ImplSDL3_SetGamepadMode"][1]["call_args"] = "(mode,manual_gamepads_array,manual_gamepads_count)"
|
||||
defs["ImGui_ImplSDL3_SetGamepadMode"][1]["cimguiname"] = "ImGui_ImplSDL3_SetGamepadMode"
|
||||
defs["ImGui_ImplSDL3_SetGamepadMode"][1]["defaults"] = {}
|
||||
defs["ImGui_ImplSDL3_SetGamepadMode"][1]["defaults"]["manual_gamepads_array"] = "NULL"
|
||||
defs["ImGui_ImplSDL3_SetGamepadMode"][1]["defaults"]["manual_gamepads_count"] = "-1"
|
||||
defs["ImGui_ImplSDL3_SetGamepadMode"][1]["funcname"] = "ImGui_ImplSDL3_SetGamepadMode"
|
||||
defs["ImGui_ImplSDL3_SetGamepadMode"][1]["location"] = "imgui_impl_sdl3:49"
|
||||
defs["ImGui_ImplSDL3_SetGamepadMode"][1]["ov_cimguiname"] = "ImGui_ImplSDL3_SetGamepadMode"
|
||||
defs["ImGui_ImplSDL3_SetGamepadMode"][1]["ret"] = "void"
|
||||
defs["ImGui_ImplSDL3_SetGamepadMode"][1]["signature"] = "(ImGui_ImplSDL3_GamepadMode,SDL_Gamepad**,int)"
|
||||
defs["ImGui_ImplSDL3_SetGamepadMode"][1]["stname"] = ""
|
||||
defs["ImGui_ImplSDL3_SetGamepadMode"]["(ImGui_ImplSDL3_GamepadMode,SDL_Gamepad**,int)"] = defs["ImGui_ImplSDL3_SetGamepadMode"][1]
|
||||
defs["ImGui_ImplSDL3_Shutdown"] = {}
|
||||
defs["ImGui_ImplSDL3_Shutdown"][1] = {}
|
||||
defs["ImGui_ImplSDL3_Shutdown"][1]["args"] = "()"
|
||||
defs["ImGui_ImplSDL3_Shutdown"][1]["argsT"] = {}
|
||||
defs["ImGui_ImplSDL3_Shutdown"][1]["argsoriginal"] = "()"
|
||||
defs["ImGui_ImplSDL3_Shutdown"][1]["call_args"] = "()"
|
||||
defs["ImGui_ImplSDL3_Shutdown"][1]["cimguiname"] = "ImGui_ImplSDL3_Shutdown"
|
||||
defs["ImGui_ImplSDL3_Shutdown"][1]["defaults"] = {}
|
||||
defs["ImGui_ImplSDL3_Shutdown"][1]["funcname"] = "ImGui_ImplSDL3_Shutdown"
|
||||
defs["ImGui_ImplSDL3_Shutdown"][1]["location"] = "imgui_impl_sdl3:42"
|
||||
defs["ImGui_ImplSDL3_Shutdown"][1]["ov_cimguiname"] = "ImGui_ImplSDL3_Shutdown"
|
||||
defs["ImGui_ImplSDL3_Shutdown"][1]["ret"] = "void"
|
||||
defs["ImGui_ImplSDL3_Shutdown"][1]["signature"] = "()"
|
||||
defs["ImGui_ImplSDL3_Shutdown"][1]["stname"] = ""
|
||||
defs["ImGui_ImplSDL3_Shutdown"]["()"] = defs["ImGui_ImplSDL3_Shutdown"][1]
|
||||
|
||||
return defs
|
@@ -259,6 +259,9 @@ igSetWindowSize 3
|
||||
igShortcut 2
|
||||
1 bool igShortcut_Nil (ImGuiKeyChord,ImGuiInputFlags)
|
||||
2 bool igShortcut_ID (ImGuiKeyChord,ImGuiInputFlags,ImGuiID)
|
||||
igTabBarQueueFocus 2
|
||||
1 void igTabBarQueueFocus_TabItemPtr (ImGuiTabBar*,ImGuiTabItem*)
|
||||
2 void igTabBarQueueFocus_Str (ImGuiTabBar*,const char*)
|
||||
igTabItemCalcSize 2
|
||||
1 ImVec2 igTabItemCalcSize_Str (const char*,bool)
|
||||
2 ImVec2 igTabItemCalcSize_WindowPtr (ImGuiWindow*)
|
||||
@@ -290,4 +293,4 @@ igValue 4
|
||||
2 void igValue_Int (const char*,int)
|
||||
3 void igValue_Uint (const char*,unsigned int)
|
||||
4 void igValue_Float (const char*,float,const char*)
|
||||
203 overloaded
|
||||
205 overloaded
|
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@@ -54,7 +54,8 @@
|
||||
"ImGuiDockNodeSettings": "struct ImGuiDockNodeSettings",
|
||||
"ImGuiDockRequest": "struct ImGuiDockRequest",
|
||||
"ImGuiDragDropFlags": "int",
|
||||
"ImGuiErrorLogCallback": "void(*)(void* user_data,const char* fmt,...);",
|
||||
"ImGuiErrorCallback": "void(*)(ImGuiContext* ctx,void* user_data,const char* msg);",
|
||||
"ImGuiErrorRecoveryState": "struct ImGuiErrorRecoveryState",
|
||||
"ImGuiFocusRequestFlags": "int",
|
||||
"ImGuiFocusScopeData": "struct ImGuiFocusScopeData",
|
||||
"ImGuiFocusedFlags": "int",
|
||||
@@ -102,9 +103,9 @@
|
||||
"ImGuiMultiSelectIO": "struct ImGuiMultiSelectIO",
|
||||
"ImGuiMultiSelectState": "struct ImGuiMultiSelectState",
|
||||
"ImGuiMultiSelectTempData": "struct ImGuiMultiSelectTempData",
|
||||
"ImGuiNavHighlightFlags": "int",
|
||||
"ImGuiNavItemData": "struct ImGuiNavItemData",
|
||||
"ImGuiNavMoveFlags": "int",
|
||||
"ImGuiNavRenderCursorFlags": "int",
|
||||
"ImGuiNextItemData": "struct ImGuiNextItemData",
|
||||
"ImGuiNextItemDataFlags": "int",
|
||||
"ImGuiNextWindowData": "struct ImGuiNextWindowData",
|
||||
@@ -133,7 +134,6 @@
|
||||
"ImGuiSizeCallbackData": "struct ImGuiSizeCallbackData",
|
||||
"ImGuiSliderFlags": "int",
|
||||
"ImGuiStackLevelInfo": "struct ImGuiStackLevelInfo",
|
||||
"ImGuiStackSizes": "struct ImGuiStackSizes",
|
||||
"ImGuiStorage": "struct ImGuiStorage",
|
||||
"ImGuiStoragePair": "struct ImGuiStoragePair",
|
||||
"ImGuiStyle": "struct ImGuiStyle",
|
||||
@@ -189,7 +189,7 @@
|
||||
"ImS64": "signed long long",
|
||||
"ImS8": "signed char",
|
||||
"ImStbTexteditState": "ImStb::STB_TexteditState",
|
||||
"ImTextureID": "void*",
|
||||
"ImTextureID": "ImU64",
|
||||
"ImU16": "unsigned short",
|
||||
"ImU32": "unsigned int",
|
||||
"ImU64": "unsigned long long",
|
||||
|
@@ -54,7 +54,8 @@ defs["ImGuiDockNodeFlags"] = "int"
|
||||
defs["ImGuiDockNodeSettings"] = "struct ImGuiDockNodeSettings"
|
||||
defs["ImGuiDockRequest"] = "struct ImGuiDockRequest"
|
||||
defs["ImGuiDragDropFlags"] = "int"
|
||||
defs["ImGuiErrorLogCallback"] = "void(*)(void* user_data,const char* fmt,...);"
|
||||
defs["ImGuiErrorCallback"] = "void(*)(ImGuiContext* ctx,void* user_data,const char* msg);"
|
||||
defs["ImGuiErrorRecoveryState"] = "struct ImGuiErrorRecoveryState"
|
||||
defs["ImGuiFocusRequestFlags"] = "int"
|
||||
defs["ImGuiFocusScopeData"] = "struct ImGuiFocusScopeData"
|
||||
defs["ImGuiFocusedFlags"] = "int"
|
||||
@@ -102,9 +103,9 @@ defs["ImGuiMultiSelectFlags"] = "int"
|
||||
defs["ImGuiMultiSelectIO"] = "struct ImGuiMultiSelectIO"
|
||||
defs["ImGuiMultiSelectState"] = "struct ImGuiMultiSelectState"
|
||||
defs["ImGuiMultiSelectTempData"] = "struct ImGuiMultiSelectTempData"
|
||||
defs["ImGuiNavHighlightFlags"] = "int"
|
||||
defs["ImGuiNavItemData"] = "struct ImGuiNavItemData"
|
||||
defs["ImGuiNavMoveFlags"] = "int"
|
||||
defs["ImGuiNavRenderCursorFlags"] = "int"
|
||||
defs["ImGuiNextItemData"] = "struct ImGuiNextItemData"
|
||||
defs["ImGuiNextItemDataFlags"] = "int"
|
||||
defs["ImGuiNextWindowData"] = "struct ImGuiNextWindowData"
|
||||
@@ -133,7 +134,6 @@ defs["ImGuiSizeCallback"] = "void(*)(ImGuiSizeCallbackData* data);"
|
||||
defs["ImGuiSizeCallbackData"] = "struct ImGuiSizeCallbackData"
|
||||
defs["ImGuiSliderFlags"] = "int"
|
||||
defs["ImGuiStackLevelInfo"] = "struct ImGuiStackLevelInfo"
|
||||
defs["ImGuiStackSizes"] = "struct ImGuiStackSizes"
|
||||
defs["ImGuiStorage"] = "struct ImGuiStorage"
|
||||
defs["ImGuiStoragePair"] = "struct ImGuiStoragePair"
|
||||
defs["ImGuiStyle"] = "struct ImGuiStyle"
|
||||
@@ -189,7 +189,7 @@ defs["ImS32"] = "signed int"
|
||||
defs["ImS64"] = "signed long long"
|
||||
defs["ImS8"] = "signed char"
|
||||
defs["ImStbTexteditState"] = "ImStb::STB_TexteditState"
|
||||
defs["ImTextureID"] = "void*"
|
||||
defs["ImTextureID"] = "ImU64"
|
||||
defs["ImU16"] = "unsigned short"
|
||||
defs["ImU32"] = "unsigned int"
|
||||
defs["ImU64"] = "unsigned long long"
|
||||
|
2
imgui
2
imgui
Submodule imgui updated: bc77cccd31...c71e4e8c7c
Reference in New Issue
Block a user