mirror of
https://github.com/cimgui/cimgui.git
synced 2025-08-15 14:08:30 +01:00
Compare commits
5 Commits
1.90.5dock
...
1.90.8dock
Author | SHA1 | Date | |
---|---|---|---|
![]() |
7c16d31cdb | ||
![]() |
b3e02743f2 | ||
![]() |
155d5961dc | ||
![]() |
a01f163a81 | ||
![]() |
67cf8c96b7 |
@@ -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)
|
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:
|
Notes:
|
||||||
* currently this wrapper is based on version [1.90.5 of Dear ImGui with internal api]
|
* currently this wrapper is based on version [1.90.8 of Dear ImGui with internal api]
|
||||||
* only functions, structs and enums from imgui.h (an optionally imgui_internal.h) are wrapped.
|
* 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.
|
* 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.
|
* 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.
|
||||||
|
116
cimgui.cpp
116
cimgui.cpp
@@ -1,5 +1,5 @@
|
|||||||
//This file is automatically generated by generator.lua from https://github.com/cimgui/cimgui
|
//This file is automatically generated by generator.lua from https://github.com/cimgui/cimgui
|
||||||
//based on imgui.h file version "1.90.5" 19050 from Dear ImGui https://github.com/ocornut/imgui
|
//based on imgui.h file version "1.90.8" 19080 from Dear ImGui https://github.com/ocornut/imgui
|
||||||
//with imgui_internal.h api
|
//with imgui_internal.h api
|
||||||
//docking branch
|
//docking branch
|
||||||
#ifdef IMGUI_ENABLE_FREETYPE
|
#ifdef IMGUI_ENABLE_FREETYPE
|
||||||
@@ -1260,13 +1260,13 @@ CIMGUI_API void igSetTabItemClosed(const char* tab_or_docked_window_label)
|
|||||||
{
|
{
|
||||||
return ImGui::SetTabItemClosed(tab_or_docked_window_label);
|
return ImGui::SetTabItemClosed(tab_or_docked_window_label);
|
||||||
}
|
}
|
||||||
CIMGUI_API ImGuiID igDockSpace(ImGuiID id,const ImVec2 size,ImGuiDockNodeFlags flags,const ImGuiWindowClass* window_class)
|
CIMGUI_API ImGuiID igDockSpace(ImGuiID dockspace_id,const ImVec2 size,ImGuiDockNodeFlags flags,const ImGuiWindowClass* window_class)
|
||||||
{
|
{
|
||||||
return ImGui::DockSpace(id,size,flags,window_class);
|
return ImGui::DockSpace(dockspace_id,size,flags,window_class);
|
||||||
}
|
}
|
||||||
CIMGUI_API ImGuiID igDockSpaceOverViewport(const ImGuiViewport* viewport,ImGuiDockNodeFlags flags,const ImGuiWindowClass* window_class)
|
CIMGUI_API ImGuiID igDockSpaceOverViewport(ImGuiID dockspace_id,const ImGuiViewport* viewport,ImGuiDockNodeFlags flags,const ImGuiWindowClass* window_class)
|
||||||
{
|
{
|
||||||
return ImGui::DockSpaceOverViewport(viewport,flags,window_class);
|
return ImGui::DockSpaceOverViewport(dockspace_id,viewport,flags,window_class);
|
||||||
}
|
}
|
||||||
CIMGUI_API void igSetNextWindowDockID(ImGuiID dock_id,ImGuiCond cond)
|
CIMGUI_API void igSetNextWindowDockID(ImGuiID dock_id,ImGuiCond cond)
|
||||||
{
|
{
|
||||||
@@ -1532,6 +1532,14 @@ CIMGUI_API void igSetNextFrameWantCaptureKeyboard(bool want_capture_keyboard)
|
|||||||
{
|
{
|
||||||
return ImGui::SetNextFrameWantCaptureKeyboard(want_capture_keyboard);
|
return ImGui::SetNextFrameWantCaptureKeyboard(want_capture_keyboard);
|
||||||
}
|
}
|
||||||
|
CIMGUI_API bool igShortcut_Nil(ImGuiKeyChord key_chord,ImGuiInputFlags flags)
|
||||||
|
{
|
||||||
|
return ImGui::Shortcut(key_chord,flags);
|
||||||
|
}
|
||||||
|
CIMGUI_API void igSetNextItemShortcut(ImGuiKeyChord key_chord,ImGuiInputFlags flags)
|
||||||
|
{
|
||||||
|
return ImGui::SetNextItemShortcut(key_chord,flags);
|
||||||
|
}
|
||||||
CIMGUI_API bool igIsMouseDown_Nil(ImGuiMouseButton button)
|
CIMGUI_API bool igIsMouseDown_Nil(ImGuiMouseButton button)
|
||||||
{
|
{
|
||||||
return ImGui::IsMouseDown(button);
|
return ImGui::IsMouseDown(button);
|
||||||
@@ -2867,6 +2875,10 @@ CIMGUI_API const char* igImTextFindPreviousUtf8Codepoint(const char* in_text_sta
|
|||||||
{
|
{
|
||||||
return ImTextFindPreviousUtf8Codepoint(in_text_start,in_text_curr);
|
return ImTextFindPreviousUtf8Codepoint(in_text_start,in_text_curr);
|
||||||
}
|
}
|
||||||
|
CIMGUI_API int igImTextCountLines(const char* in_text,const char* in_text_end)
|
||||||
|
{
|
||||||
|
return ImTextCountLines(in_text,in_text_end);
|
||||||
|
}
|
||||||
CIMGUI_API ImFileHandle igImFileOpen(const char* filename,const char* mode)
|
CIMGUI_API ImFileHandle igImFileOpen(const char* filename,const char* mode)
|
||||||
{
|
{
|
||||||
return ImFileOpen(filename,mode);
|
return ImFileOpen(filename,mode);
|
||||||
@@ -2943,7 +2955,7 @@ CIMGUI_API void igImMax(ImVec2 *pOut,const ImVec2 lhs,const ImVec2 rhs)
|
|||||||
{
|
{
|
||||||
*pOut = ImMax(lhs,rhs);
|
*pOut = ImMax(lhs,rhs);
|
||||||
}
|
}
|
||||||
CIMGUI_API void igImClamp(ImVec2 *pOut,const ImVec2 v,const ImVec2 mn,ImVec2 mx)
|
CIMGUI_API void igImClamp(ImVec2 *pOut,const ImVec2 v,const ImVec2 mn,const ImVec2 mx)
|
||||||
{
|
{
|
||||||
*pOut = ImClamp(v,mn,mx);
|
*pOut = ImClamp(v,mn,mx);
|
||||||
}
|
}
|
||||||
@@ -3291,6 +3303,10 @@ CIMGUI_API void ImDrawDataBuilder_destroy(ImDrawDataBuilder* self)
|
|||||||
{
|
{
|
||||||
IM_DELETE(self);
|
IM_DELETE(self);
|
||||||
}
|
}
|
||||||
|
CIMGUI_API void* ImGuiDataVarInfo_GetVarPtr(ImGuiDataVarInfo* self,void* parent)
|
||||||
|
{
|
||||||
|
return self->GetVarPtr(parent);
|
||||||
|
}
|
||||||
CIMGUI_API ImGuiStyleMod* ImGuiStyleMod_ImGuiStyleMod_Int(ImGuiStyleVar idx,int v)
|
CIMGUI_API ImGuiStyleMod* ImGuiStyleMod_ImGuiStyleMod_Int(ImGuiStyleVar idx,int v)
|
||||||
{
|
{
|
||||||
return IM_NEW(ImGuiStyleMod)(idx,v);
|
return IM_NEW(ImGuiStyleMod)(idx,v);
|
||||||
@@ -3479,10 +3495,6 @@ CIMGUI_API ImGuiPtrOrIndex* ImGuiPtrOrIndex_ImGuiPtrOrIndex_Int(int index)
|
|||||||
{
|
{
|
||||||
return IM_NEW(ImGuiPtrOrIndex)(index);
|
return IM_NEW(ImGuiPtrOrIndex)(index);
|
||||||
}
|
}
|
||||||
CIMGUI_API void* ImGuiDataVarInfo_GetVarPtr(ImGuiDataVarInfo* self,void* parent)
|
|
||||||
{
|
|
||||||
return self->GetVarPtr(parent);
|
|
||||||
}
|
|
||||||
CIMGUI_API ImGuiPopupData* ImGuiPopupData_ImGuiPopupData(void)
|
CIMGUI_API ImGuiPopupData* ImGuiPopupData_ImGuiPopupData(void)
|
||||||
{
|
{
|
||||||
return IM_NEW(ImGuiPopupData)();
|
return IM_NEW(ImGuiPopupData)();
|
||||||
@@ -3779,18 +3791,10 @@ CIMGUI_API float ImGuiWindow_CalcFontSize(ImGuiWindow* self)
|
|||||||
{
|
{
|
||||||
return self->CalcFontSize();
|
return self->CalcFontSize();
|
||||||
}
|
}
|
||||||
CIMGUI_API float ImGuiWindow_TitleBarHeight(ImGuiWindow* self)
|
|
||||||
{
|
|
||||||
return self->TitleBarHeight();
|
|
||||||
}
|
|
||||||
CIMGUI_API void ImGuiWindow_TitleBarRect(ImRect *pOut,ImGuiWindow* self)
|
CIMGUI_API void ImGuiWindow_TitleBarRect(ImRect *pOut,ImGuiWindow* self)
|
||||||
{
|
{
|
||||||
*pOut = self->TitleBarRect();
|
*pOut = self->TitleBarRect();
|
||||||
}
|
}
|
||||||
CIMGUI_API float ImGuiWindow_MenuBarHeight(ImGuiWindow* self)
|
|
||||||
{
|
|
||||||
return self->MenuBarHeight();
|
|
||||||
}
|
|
||||||
CIMGUI_API void ImGuiWindow_MenuBarRect(ImRect *pOut,ImGuiWindow* self)
|
CIMGUI_API void ImGuiWindow_MenuBarRect(ImRect *pOut,ImGuiWindow* self)
|
||||||
{
|
{
|
||||||
*pOut = self->MenuBarRect();
|
*pOut = self->MenuBarRect();
|
||||||
@@ -3883,6 +3887,10 @@ CIMGUI_API void igUpdateWindowParentAndRootLinks(ImGuiWindow* window,ImGuiWindow
|
|||||||
{
|
{
|
||||||
return ImGui::UpdateWindowParentAndRootLinks(window,flags,parent_window);
|
return ImGui::UpdateWindowParentAndRootLinks(window,flags,parent_window);
|
||||||
}
|
}
|
||||||
|
CIMGUI_API void igUpdateWindowSkipRefresh(ImGuiWindow* window)
|
||||||
|
{
|
||||||
|
return ImGui::UpdateWindowSkipRefresh(window);
|
||||||
|
}
|
||||||
CIMGUI_API void igCalcWindowNextAutoFitSize(ImVec2 *pOut,ImGuiWindow* window)
|
CIMGUI_API void igCalcWindowNextAutoFitSize(ImVec2 *pOut,ImGuiWindow* window)
|
||||||
{
|
{
|
||||||
*pOut = ImGui::CalcWindowNextAutoFitSize(window);
|
*pOut = ImGui::CalcWindowNextAutoFitSize(window);
|
||||||
@@ -3971,6 +3979,10 @@ CIMGUI_API ImGuiWindow* igFindBottomMostVisibleWindowWithinBeginStack(ImGuiWindo
|
|||||||
{
|
{
|
||||||
return ImGui::FindBottomMostVisibleWindowWithinBeginStack(window);
|
return ImGui::FindBottomMostVisibleWindowWithinBeginStack(window);
|
||||||
}
|
}
|
||||||
|
CIMGUI_API void igSetNextWindowRefreshPolicy(ImGuiWindowRefreshFlags flags)
|
||||||
|
{
|
||||||
|
return ImGui::SetNextWindowRefreshPolicy(flags);
|
||||||
|
}
|
||||||
CIMGUI_API void igSetCurrentFont(ImFont* font)
|
CIMGUI_API void igSetCurrentFont(ImFont* font)
|
||||||
{
|
{
|
||||||
return ImGui::SetCurrentFont(font);
|
return ImGui::SetCurrentFont(font);
|
||||||
@@ -4003,6 +4015,10 @@ CIMGUI_API void igUpdateHoveredWindowAndCaptureFlags()
|
|||||||
{
|
{
|
||||||
return ImGui::UpdateHoveredWindowAndCaptureFlags();
|
return ImGui::UpdateHoveredWindowAndCaptureFlags();
|
||||||
}
|
}
|
||||||
|
CIMGUI_API void igFindHoveredWindowEx(const ImVec2 pos,bool find_first_and_in_any_viewport,ImGuiWindow** out_hovered_window,ImGuiWindow** out_hovered_window_under_moving_window)
|
||||||
|
{
|
||||||
|
return ImGui::FindHoveredWindowEx(pos,find_first_and_in_any_viewport,out_hovered_window,out_hovered_window_under_moving_window);
|
||||||
|
}
|
||||||
CIMGUI_API void igStartMouseMovingWindow(ImGuiWindow* window)
|
CIMGUI_API void igStartMouseMovingWindow(ImGuiWindow* window)
|
||||||
{
|
{
|
||||||
return ImGui::StartMouseMovingWindow(window);
|
return ImGui::StartMouseMovingWindow(window);
|
||||||
@@ -4259,6 +4275,14 @@ CIMGUI_API const ImGuiDataVarInfo* igGetStyleVarInfo(ImGuiStyleVar idx)
|
|||||||
{
|
{
|
||||||
return ImGui::GetStyleVarInfo(idx);
|
return ImGui::GetStyleVarInfo(idx);
|
||||||
}
|
}
|
||||||
|
CIMGUI_API void igBeginDisabledOverrideReenable()
|
||||||
|
{
|
||||||
|
return ImGui::BeginDisabledOverrideReenable();
|
||||||
|
}
|
||||||
|
CIMGUI_API void igEndDisabledOverrideReenable()
|
||||||
|
{
|
||||||
|
return ImGui::EndDisabledOverrideReenable();
|
||||||
|
}
|
||||||
CIMGUI_API void igLogBegin(ImGuiLogType type,int auto_open_depth)
|
CIMGUI_API void igLogBegin(ImGuiLogType type,int auto_open_depth)
|
||||||
{
|
{
|
||||||
return ImGui::LogBegin(type,auto_open_depth);
|
return ImGui::LogBegin(type,auto_open_depth);
|
||||||
@@ -4439,9 +4463,9 @@ CIMGUI_API bool igIsNamedKey(ImGuiKey key)
|
|||||||
{
|
{
|
||||||
return ImGui::IsNamedKey(key);
|
return ImGui::IsNamedKey(key);
|
||||||
}
|
}
|
||||||
CIMGUI_API bool igIsNamedKeyOrModKey(ImGuiKey key)
|
CIMGUI_API bool igIsNamedKeyOrMod(ImGuiKey key)
|
||||||
{
|
{
|
||||||
return ImGui::IsNamedKeyOrModKey(key);
|
return ImGui::IsNamedKeyOrMod(key);
|
||||||
}
|
}
|
||||||
CIMGUI_API bool igIsLegacyKey(ImGuiKey key)
|
CIMGUI_API bool igIsLegacyKey(ImGuiKey key)
|
||||||
{
|
{
|
||||||
@@ -4467,13 +4491,13 @@ CIMGUI_API bool igIsModKey(ImGuiKey key)
|
|||||||
{
|
{
|
||||||
return ImGui::IsModKey(key);
|
return ImGui::IsModKey(key);
|
||||||
}
|
}
|
||||||
CIMGUI_API ImGuiKeyChord igFixupKeyChord(ImGuiContext* ctx,ImGuiKeyChord key_chord)
|
CIMGUI_API ImGuiKeyChord igFixupKeyChord(ImGuiKeyChord key_chord)
|
||||||
{
|
{
|
||||||
return ImGui::FixupKeyChord(ctx,key_chord);
|
return ImGui::FixupKeyChord(key_chord);
|
||||||
}
|
}
|
||||||
CIMGUI_API ImGuiKey igConvertSingleModFlagToKey(ImGuiContext* ctx,ImGuiKey key)
|
CIMGUI_API ImGuiKey igConvertSingleModFlagToKey(ImGuiKey key)
|
||||||
{
|
{
|
||||||
return ImGui::ConvertSingleModFlagToKey(ctx,key);
|
return ImGui::ConvertSingleModFlagToKey(key);
|
||||||
}
|
}
|
||||||
CIMGUI_API ImGuiKeyData* igGetKeyData_ContextPtr(ImGuiContext* ctx,ImGuiKey key)
|
CIMGUI_API ImGuiKeyData* igGetKeyData_ContextPtr(ImGuiContext* ctx,ImGuiKey key)
|
||||||
{
|
{
|
||||||
@@ -4551,21 +4575,25 @@ CIMGUI_API bool igIsKeyDown_ID(ImGuiKey key,ImGuiID owner_id)
|
|||||||
{
|
{
|
||||||
return ImGui::IsKeyDown(key,owner_id);
|
return ImGui::IsKeyDown(key,owner_id);
|
||||||
}
|
}
|
||||||
CIMGUI_API bool igIsKeyPressed_ID(ImGuiKey key,ImGuiID owner_id,ImGuiInputFlags flags)
|
CIMGUI_API bool igIsKeyPressed_InputFlags(ImGuiKey key,ImGuiInputFlags flags,ImGuiID owner_id)
|
||||||
{
|
{
|
||||||
return ImGui::IsKeyPressed(key,owner_id,flags);
|
return ImGui::IsKeyPressed(key,flags,owner_id);
|
||||||
}
|
}
|
||||||
CIMGUI_API bool igIsKeyReleased_ID(ImGuiKey key,ImGuiID owner_id)
|
CIMGUI_API bool igIsKeyReleased_ID(ImGuiKey key,ImGuiID owner_id)
|
||||||
{
|
{
|
||||||
return ImGui::IsKeyReleased(key,owner_id);
|
return ImGui::IsKeyReleased(key,owner_id);
|
||||||
}
|
}
|
||||||
|
CIMGUI_API bool igIsKeyChordPressed_InputFlags(ImGuiKeyChord key_chord,ImGuiInputFlags flags,ImGuiID owner_id)
|
||||||
|
{
|
||||||
|
return ImGui::IsKeyChordPressed(key_chord,flags,owner_id);
|
||||||
|
}
|
||||||
CIMGUI_API bool igIsMouseDown_ID(ImGuiMouseButton button,ImGuiID owner_id)
|
CIMGUI_API bool igIsMouseDown_ID(ImGuiMouseButton button,ImGuiID owner_id)
|
||||||
{
|
{
|
||||||
return ImGui::IsMouseDown(button,owner_id);
|
return ImGui::IsMouseDown(button,owner_id);
|
||||||
}
|
}
|
||||||
CIMGUI_API bool igIsMouseClicked_ID(ImGuiMouseButton button,ImGuiID owner_id,ImGuiInputFlags flags)
|
CIMGUI_API bool igIsMouseClicked_InputFlags(ImGuiMouseButton button,ImGuiInputFlags flags,ImGuiID owner_id)
|
||||||
{
|
{
|
||||||
return ImGui::IsMouseClicked(button,owner_id,flags);
|
return ImGui::IsMouseClicked(button,flags,owner_id);
|
||||||
}
|
}
|
||||||
CIMGUI_API bool igIsMouseReleased_ID(ImGuiMouseButton button,ImGuiID owner_id)
|
CIMGUI_API bool igIsMouseReleased_ID(ImGuiMouseButton button,ImGuiID owner_id)
|
||||||
{
|
{
|
||||||
@@ -4575,21 +4603,13 @@ CIMGUI_API bool igIsMouseDoubleClicked_ID(ImGuiMouseButton button,ImGuiID owner_
|
|||||||
{
|
{
|
||||||
return ImGui::IsMouseDoubleClicked(button,owner_id);
|
return ImGui::IsMouseDoubleClicked(button,owner_id);
|
||||||
}
|
}
|
||||||
CIMGUI_API bool igIsKeyChordPressed_ID(ImGuiKeyChord key_chord,ImGuiID owner_id,ImGuiInputFlags flags)
|
CIMGUI_API bool igShortcut_ID(ImGuiKeyChord key_chord,ImGuiInputFlags flags,ImGuiID owner_id)
|
||||||
{
|
{
|
||||||
return ImGui::IsKeyChordPressed(key_chord,owner_id,flags);
|
return ImGui::Shortcut(key_chord,flags,owner_id);
|
||||||
}
|
}
|
||||||
CIMGUI_API void igSetNextItemShortcut(ImGuiKeyChord key_chord)
|
CIMGUI_API bool igSetShortcutRouting(ImGuiKeyChord key_chord,ImGuiInputFlags flags,ImGuiID owner_id)
|
||||||
{
|
{
|
||||||
return ImGui::SetNextItemShortcut(key_chord);
|
return ImGui::SetShortcutRouting(key_chord,flags,owner_id);
|
||||||
}
|
|
||||||
CIMGUI_API bool igShortcut(ImGuiKeyChord key_chord,ImGuiID owner_id,ImGuiInputFlags flags)
|
|
||||||
{
|
|
||||||
return ImGui::Shortcut(key_chord,owner_id,flags);
|
|
||||||
}
|
|
||||||
CIMGUI_API bool igSetShortcutRouting(ImGuiKeyChord key_chord,ImGuiID owner_id,ImGuiInputFlags flags)
|
|
||||||
{
|
|
||||||
return ImGui::SetShortcutRouting(key_chord,owner_id,flags);
|
|
||||||
}
|
}
|
||||||
CIMGUI_API bool igTestShortcutRouting(ImGuiKeyChord key_chord,ImGuiID owner_id)
|
CIMGUI_API bool igTestShortcutRouting(ImGuiKeyChord key_chord,ImGuiID owner_id)
|
||||||
{
|
{
|
||||||
@@ -4891,9 +4911,9 @@ CIMGUI_API void igTablePopBackgroundChannel()
|
|||||||
{
|
{
|
||||||
return ImGui::TablePopBackgroundChannel();
|
return ImGui::TablePopBackgroundChannel();
|
||||||
}
|
}
|
||||||
CIMGUI_API void igTableAngledHeadersRowEx(float angle,float max_label_width)
|
CIMGUI_API void igTableAngledHeadersRowEx(ImGuiID row_id,float angle,float max_label_width,const ImGuiTableHeaderData* data,int data_count)
|
||||||
{
|
{
|
||||||
return ImGui::TableAngledHeadersRowEx(angle,max_label_width);
|
return ImGui::TableAngledHeadersRowEx(row_id,angle,max_label_width,data,data_count);
|
||||||
}
|
}
|
||||||
CIMGUI_API ImGuiTable* igGetCurrentTable()
|
CIMGUI_API ImGuiTable* igGetCurrentTable()
|
||||||
{
|
{
|
||||||
@@ -5327,9 +5347,9 @@ CIMGUI_API void igDataTypeApplyOp(ImGuiDataType data_type,int op,void* output,co
|
|||||||
{
|
{
|
||||||
return ImGui::DataTypeApplyOp(data_type,op,output,arg_1,arg_2);
|
return ImGui::DataTypeApplyOp(data_type,op,output,arg_1,arg_2);
|
||||||
}
|
}
|
||||||
CIMGUI_API bool igDataTypeApplyFromText(const char* buf,ImGuiDataType data_type,void* p_data,const char* format)
|
CIMGUI_API bool igDataTypeApplyFromText(const char* buf,ImGuiDataType data_type,void* p_data,const char* format,void* p_data_when_empty)
|
||||||
{
|
{
|
||||||
return ImGui::DataTypeApplyFromText(buf,data_type,p_data,format);
|
return ImGui::DataTypeApplyFromText(buf,data_type,p_data,format,p_data_when_empty);
|
||||||
}
|
}
|
||||||
CIMGUI_API int igDataTypeCompare(ImGuiDataType data_type,const void* arg_1,const void* arg_2)
|
CIMGUI_API int igDataTypeCompare(ImGuiDataType data_type,const void* arg_1,const void* arg_2)
|
||||||
{
|
{
|
||||||
@@ -5363,6 +5383,10 @@ CIMGUI_API ImGuiInputTextState* igGetInputTextState(ImGuiID id)
|
|||||||
{
|
{
|
||||||
return ImGui::GetInputTextState(id);
|
return ImGui::GetInputTextState(id);
|
||||||
}
|
}
|
||||||
|
CIMGUI_API void igSetNextItemRefVal(ImGuiDataType data_type,void* p_data)
|
||||||
|
{
|
||||||
|
return ImGui::SetNextItemRefVal(data_type,p_data);
|
||||||
|
}
|
||||||
CIMGUI_API void igColorTooltip(const char* text,const float* col,ImGuiColorEditFlags flags)
|
CIMGUI_API void igColorTooltip(const char* text,const float* col,ImGuiColorEditFlags flags)
|
||||||
{
|
{
|
||||||
return ImGui::ColorTooltip(text,col,flags);
|
return ImGui::ColorTooltip(text,col,flags);
|
||||||
@@ -5442,6 +5466,10 @@ CIMGUI_API void igDebugDrawItemRect(ImU32 col)
|
|||||||
{
|
{
|
||||||
return ImGui::DebugDrawItemRect(col);
|
return ImGui::DebugDrawItemRect(col);
|
||||||
}
|
}
|
||||||
|
CIMGUI_API void igDebugTextUnformattedWithLocateItem(const char* line_begin,const char* line_end)
|
||||||
|
{
|
||||||
|
return ImGui::DebugTextUnformattedWithLocateItem(line_begin,line_end);
|
||||||
|
}
|
||||||
CIMGUI_API void igDebugLocateItem(ImGuiID target_id)
|
CIMGUI_API void igDebugLocateItem(ImGuiID target_id)
|
||||||
{
|
{
|
||||||
return ImGui::DebugLocateItem(target_id);
|
return ImGui::DebugLocateItem(target_id);
|
||||||
|
294
cimgui.h
294
cimgui.h
@@ -1,5 +1,5 @@
|
|||||||
//This file is automatically generated by generator.lua from https://github.com/cimgui/cimgui
|
//This file is automatically generated by generator.lua from https://github.com/cimgui/cimgui
|
||||||
//based on imgui.h file version "1.90.5" 19050 from Dear ImGui https://github.com/ocornut/imgui
|
//based on imgui.h file version "1.90.8" 19080 from Dear ImGui https://github.com/ocornut/imgui
|
||||||
//with imgui_internal.h api
|
//with imgui_internal.h api
|
||||||
//docking branch
|
//docking branch
|
||||||
#ifndef CIMGUI_INCLUDED
|
#ifndef CIMGUI_INCLUDED
|
||||||
@@ -105,6 +105,7 @@ typedef struct ImGuiStyleMod ImGuiStyleMod;
|
|||||||
typedef struct ImGuiTabBar ImGuiTabBar;
|
typedef struct ImGuiTabBar ImGuiTabBar;
|
||||||
typedef struct ImGuiTabItem ImGuiTabItem;
|
typedef struct ImGuiTabItem ImGuiTabItem;
|
||||||
typedef struct ImGuiTable ImGuiTable;
|
typedef struct ImGuiTable ImGuiTable;
|
||||||
|
typedef struct ImGuiTableHeaderData ImGuiTableHeaderData;
|
||||||
typedef struct ImGuiTableColumn ImGuiTableColumn;
|
typedef struct ImGuiTableColumn ImGuiTableColumn;
|
||||||
typedef struct ImGuiTableInstanceData ImGuiTableInstanceData;
|
typedef struct ImGuiTableInstanceData ImGuiTableInstanceData;
|
||||||
typedef struct ImGuiTableTempData ImGuiTableTempData;
|
typedef struct ImGuiTableTempData ImGuiTableTempData;
|
||||||
@@ -113,10 +114,20 @@ typedef struct ImGuiTableColumnsSettings ImGuiTableColumnsSettings;
|
|||||||
typedef struct ImGuiTypingSelectState ImGuiTypingSelectState;
|
typedef struct ImGuiTypingSelectState ImGuiTypingSelectState;
|
||||||
typedef struct ImGuiTypingSelectRequest ImGuiTypingSelectRequest;
|
typedef struct ImGuiTypingSelectRequest ImGuiTypingSelectRequest;
|
||||||
typedef struct ImGuiWindow ImGuiWindow;
|
typedef struct ImGuiWindow ImGuiWindow;
|
||||||
|
typedef struct ImGuiWindowDockStyle ImGuiWindowDockStyle;
|
||||||
typedef struct ImGuiWindowTempData ImGuiWindowTempData;
|
typedef struct ImGuiWindowTempData ImGuiWindowTempData;
|
||||||
typedef struct ImGuiWindowSettings ImGuiWindowSettings;
|
typedef struct ImGuiWindowSettings ImGuiWindowSettings;
|
||||||
typedef struct ImVector_const_charPtr {int Size;int Capacity;const char** Data;} ImVector_const_charPtr;
|
typedef struct ImVector_const_charPtr {int Size;int Capacity;const char** Data;} ImVector_const_charPtr;
|
||||||
|
|
||||||
|
typedef unsigned int ImGuiID;
|
||||||
|
typedef signed char ImS8;
|
||||||
|
typedef unsigned char ImU8;
|
||||||
|
typedef signed short ImS16;
|
||||||
|
typedef unsigned short ImU16;
|
||||||
|
typedef signed int ImS32;
|
||||||
|
typedef unsigned int ImU32;
|
||||||
|
typedef signed long long ImS64;
|
||||||
|
typedef unsigned long long ImU64;
|
||||||
struct ImDrawChannel;
|
struct ImDrawChannel;
|
||||||
struct ImDrawCmd;
|
struct ImDrawCmd;
|
||||||
struct ImDrawData;
|
struct ImDrawData;
|
||||||
@@ -153,10 +164,8 @@ struct ImGuiWindowClass;
|
|||||||
typedef int ImGuiCol;
|
typedef int ImGuiCol;
|
||||||
typedef int ImGuiCond;
|
typedef int ImGuiCond;
|
||||||
typedef int ImGuiDataType;
|
typedef int ImGuiDataType;
|
||||||
typedef int ImGuiDir;
|
|
||||||
typedef int ImGuiMouseButton;
|
typedef int ImGuiMouseButton;
|
||||||
typedef int ImGuiMouseCursor;
|
typedef int ImGuiMouseCursor;
|
||||||
typedef int ImGuiSortDirection;
|
|
||||||
typedef int ImGuiStyleVar;
|
typedef int ImGuiStyleVar;
|
||||||
typedef int ImGuiTableBgTarget;
|
typedef int ImGuiTableBgTarget;
|
||||||
typedef int ImDrawFlags;
|
typedef int ImDrawFlags;
|
||||||
@@ -172,6 +181,7 @@ typedef int ImGuiDockNodeFlags;
|
|||||||
typedef int ImGuiDragDropFlags;
|
typedef int ImGuiDragDropFlags;
|
||||||
typedef int ImGuiFocusedFlags;
|
typedef int ImGuiFocusedFlags;
|
||||||
typedef int ImGuiHoveredFlags;
|
typedef int ImGuiHoveredFlags;
|
||||||
|
typedef int ImGuiInputFlags;
|
||||||
typedef int ImGuiInputTextFlags;
|
typedef int ImGuiInputTextFlags;
|
||||||
typedef int ImGuiKeyChord;
|
typedef int ImGuiKeyChord;
|
||||||
typedef int ImGuiPopupFlags;
|
typedef int ImGuiPopupFlags;
|
||||||
@@ -187,15 +197,6 @@ typedef int ImGuiViewportFlags;
|
|||||||
typedef int ImGuiWindowFlags;
|
typedef int ImGuiWindowFlags;
|
||||||
typedef void* ImTextureID;
|
typedef void* ImTextureID;
|
||||||
typedef unsigned short ImDrawIdx;
|
typedef unsigned short ImDrawIdx;
|
||||||
typedef unsigned int ImGuiID;
|
|
||||||
typedef signed char ImS8;
|
|
||||||
typedef unsigned char ImU8;
|
|
||||||
typedef signed short ImS16;
|
|
||||||
typedef unsigned short ImU16;
|
|
||||||
typedef signed int ImS32;
|
|
||||||
typedef unsigned int ImU32;
|
|
||||||
typedef signed long long ImS64;
|
|
||||||
typedef unsigned long long ImU64;
|
|
||||||
typedef unsigned int ImWchar32;
|
typedef unsigned int ImWchar32;
|
||||||
typedef unsigned short ImWchar16;
|
typedef unsigned short ImWchar16;
|
||||||
typedef ImWchar16 ImWchar;
|
typedef ImWchar16 ImWchar;
|
||||||
@@ -261,25 +262,27 @@ typedef enum {
|
|||||||
ImGuiInputTextFlags_None = 0,
|
ImGuiInputTextFlags_None = 0,
|
||||||
ImGuiInputTextFlags_CharsDecimal = 1 << 0,
|
ImGuiInputTextFlags_CharsDecimal = 1 << 0,
|
||||||
ImGuiInputTextFlags_CharsHexadecimal = 1 << 1,
|
ImGuiInputTextFlags_CharsHexadecimal = 1 << 1,
|
||||||
ImGuiInputTextFlags_CharsUppercase = 1 << 2,
|
ImGuiInputTextFlags_CharsScientific = 1 << 2,
|
||||||
ImGuiInputTextFlags_CharsNoBlank = 1 << 3,
|
ImGuiInputTextFlags_CharsUppercase = 1 << 3,
|
||||||
ImGuiInputTextFlags_AutoSelectAll = 1 << 4,
|
ImGuiInputTextFlags_CharsNoBlank = 1 << 4,
|
||||||
ImGuiInputTextFlags_EnterReturnsTrue = 1 << 5,
|
ImGuiInputTextFlags_AllowTabInput = 1 << 5,
|
||||||
ImGuiInputTextFlags_CallbackCompletion = 1 << 6,
|
ImGuiInputTextFlags_EnterReturnsTrue = 1 << 6,
|
||||||
ImGuiInputTextFlags_CallbackHistory = 1 << 7,
|
ImGuiInputTextFlags_EscapeClearsAll = 1 << 7,
|
||||||
ImGuiInputTextFlags_CallbackAlways = 1 << 8,
|
ImGuiInputTextFlags_CtrlEnterForNewLine = 1 << 8,
|
||||||
ImGuiInputTextFlags_CallbackCharFilter = 1 << 9,
|
ImGuiInputTextFlags_ReadOnly = 1 << 9,
|
||||||
ImGuiInputTextFlags_AllowTabInput = 1 << 10,
|
ImGuiInputTextFlags_Password = 1 << 10,
|
||||||
ImGuiInputTextFlags_CtrlEnterForNewLine = 1 << 11,
|
ImGuiInputTextFlags_AlwaysOverwrite = 1 << 11,
|
||||||
ImGuiInputTextFlags_NoHorizontalScroll = 1 << 12,
|
ImGuiInputTextFlags_AutoSelectAll = 1 << 12,
|
||||||
ImGuiInputTextFlags_AlwaysOverwrite = 1 << 13,
|
ImGuiInputTextFlags_ParseEmptyRefVal = 1 << 13,
|
||||||
ImGuiInputTextFlags_ReadOnly = 1 << 14,
|
ImGuiInputTextFlags_DisplayEmptyRefVal = 1 << 14,
|
||||||
ImGuiInputTextFlags_Password = 1 << 15,
|
ImGuiInputTextFlags_NoHorizontalScroll = 1 << 15,
|
||||||
ImGuiInputTextFlags_NoUndoRedo = 1 << 16,
|
ImGuiInputTextFlags_NoUndoRedo = 1 << 16,
|
||||||
ImGuiInputTextFlags_CharsScientific = 1 << 17,
|
ImGuiInputTextFlags_CallbackCompletion = 1 << 17,
|
||||||
ImGuiInputTextFlags_CallbackResize = 1 << 18,
|
ImGuiInputTextFlags_CallbackHistory = 1 << 18,
|
||||||
ImGuiInputTextFlags_CallbackEdit = 1 << 19,
|
ImGuiInputTextFlags_CallbackAlways = 1 << 19,
|
||||||
ImGuiInputTextFlags_EscapeClearsAll = 1 << 20,
|
ImGuiInputTextFlags_CallbackCharFilter = 1 << 20,
|
||||||
|
ImGuiInputTextFlags_CallbackResize = 1 << 21,
|
||||||
|
ImGuiInputTextFlags_CallbackEdit = 1 << 22,
|
||||||
}ImGuiInputTextFlags_;
|
}ImGuiInputTextFlags_;
|
||||||
typedef enum {
|
typedef enum {
|
||||||
ImGuiTreeNodeFlags_None = 0,
|
ImGuiTreeNodeFlags_None = 0,
|
||||||
@@ -296,8 +299,9 @@ typedef enum {
|
|||||||
ImGuiTreeNodeFlags_FramePadding = 1 << 10,
|
ImGuiTreeNodeFlags_FramePadding = 1 << 10,
|
||||||
ImGuiTreeNodeFlags_SpanAvailWidth = 1 << 11,
|
ImGuiTreeNodeFlags_SpanAvailWidth = 1 << 11,
|
||||||
ImGuiTreeNodeFlags_SpanFullWidth = 1 << 12,
|
ImGuiTreeNodeFlags_SpanFullWidth = 1 << 12,
|
||||||
ImGuiTreeNodeFlags_SpanAllColumns = 1 << 13,
|
ImGuiTreeNodeFlags_SpanTextWidth = 1 << 13,
|
||||||
ImGuiTreeNodeFlags_NavLeftJumpsBackHere = 1 << 14,
|
ImGuiTreeNodeFlags_SpanAllColumns = 1 << 14,
|
||||||
|
ImGuiTreeNodeFlags_NavLeftJumpsBackHere = 1 << 15,
|
||||||
ImGuiTreeNodeFlags_CollapsingHeader = ImGuiTreeNodeFlags_Framed | ImGuiTreeNodeFlags_NoTreePushOnOpen | ImGuiTreeNodeFlags_NoAutoOpenOnLog,
|
ImGuiTreeNodeFlags_CollapsingHeader = ImGuiTreeNodeFlags_Framed | ImGuiTreeNodeFlags_NoTreePushOnOpen | ImGuiTreeNodeFlags_NoAutoOpenOnLog,
|
||||||
}ImGuiTreeNodeFlags_;
|
}ImGuiTreeNodeFlags_;
|
||||||
typedef enum {
|
typedef enum {
|
||||||
@@ -428,18 +432,18 @@ typedef enum {
|
|||||||
ImGuiDataType_COUNT
|
ImGuiDataType_COUNT
|
||||||
}ImGuiDataType_;
|
}ImGuiDataType_;
|
||||||
typedef enum {
|
typedef enum {
|
||||||
ImGuiDir_None = -1,
|
ImGuiDir_None=-1,
|
||||||
ImGuiDir_Left = 0,
|
ImGuiDir_Left=0,
|
||||||
ImGuiDir_Right = 1,
|
ImGuiDir_Right=1,
|
||||||
ImGuiDir_Up = 2,
|
ImGuiDir_Up=2,
|
||||||
ImGuiDir_Down = 3,
|
ImGuiDir_Down=3,
|
||||||
ImGuiDir_COUNT
|
ImGuiDir_COUNT=4,
|
||||||
}ImGuiDir_;
|
}ImGuiDir;
|
||||||
typedef enum {
|
typedef enum {
|
||||||
ImGuiSortDirection_None = 0,
|
ImGuiSortDirection_None=0,
|
||||||
ImGuiSortDirection_Ascending = 1,
|
ImGuiSortDirection_Ascending=1,
|
||||||
ImGuiSortDirection_Descending = 2
|
ImGuiSortDirection_Descending=2,
|
||||||
}ImGuiSortDirection_;
|
}ImGuiSortDirection;
|
||||||
typedef enum {
|
typedef enum {
|
||||||
ImGuiKey_None=0,
|
ImGuiKey_None=0,
|
||||||
ImGuiKey_Tab=512,
|
ImGuiKey_Tab=512,
|
||||||
@@ -602,14 +606,26 @@ ImGuiMod_Ctrl=1 << 12,
|
|||||||
ImGuiMod_Shift=1 << 13,
|
ImGuiMod_Shift=1 << 13,
|
||||||
ImGuiMod_Alt=1 << 14,
|
ImGuiMod_Alt=1 << 14,
|
||||||
ImGuiMod_Super=1 << 15,
|
ImGuiMod_Super=1 << 15,
|
||||||
ImGuiMod_Shortcut=1 << 11,
|
ImGuiMod_Mask_=0xF000,
|
||||||
ImGuiMod_Mask_=0xF800,
|
|
||||||
ImGuiKey_NamedKey_BEGIN=512,
|
ImGuiKey_NamedKey_BEGIN=512,
|
||||||
ImGuiKey_NamedKey_END=ImGuiKey_COUNT,
|
ImGuiKey_NamedKey_END=ImGuiKey_COUNT,
|
||||||
ImGuiKey_NamedKey_COUNT=ImGuiKey_NamedKey_END - ImGuiKey_NamedKey_BEGIN,
|
ImGuiKey_NamedKey_COUNT=ImGuiKey_NamedKey_END - ImGuiKey_NamedKey_BEGIN,
|
||||||
ImGuiKey_KeysData_SIZE=ImGuiKey_NamedKey_COUNT,
|
ImGuiKey_KeysData_SIZE=ImGuiKey_NamedKey_COUNT,
|
||||||
ImGuiKey_KeysData_OFFSET=ImGuiKey_NamedKey_BEGIN,
|
ImGuiKey_KeysData_OFFSET=ImGuiKey_NamedKey_BEGIN,
|
||||||
}ImGuiKey;
|
}ImGuiKey;
|
||||||
|
typedef enum {
|
||||||
|
ImGuiInputFlags_None = 0,
|
||||||
|
ImGuiInputFlags_Repeat = 1 << 0,
|
||||||
|
ImGuiInputFlags_RouteActive = 1 << 10,
|
||||||
|
ImGuiInputFlags_RouteFocused = 1 << 11,
|
||||||
|
ImGuiInputFlags_RouteGlobal = 1 << 12,
|
||||||
|
ImGuiInputFlags_RouteAlways = 1 << 13,
|
||||||
|
ImGuiInputFlags_RouteOverFocused = 1 << 14,
|
||||||
|
ImGuiInputFlags_RouteOverActive = 1 << 15,
|
||||||
|
ImGuiInputFlags_RouteUnlessBgFocused = 1 << 16,
|
||||||
|
ImGuiInputFlags_RouteFromRootWindow = 1 << 17,
|
||||||
|
ImGuiInputFlags_Tooltip = 1 << 18,
|
||||||
|
}ImGuiInputFlags_;
|
||||||
typedef enum {
|
typedef enum {
|
||||||
ImGuiConfigFlags_None = 0,
|
ImGuiConfigFlags_None = 0,
|
||||||
ImGuiConfigFlags_NavEnableKeyboard = 1 << 0,
|
ImGuiConfigFlags_NavEnableKeyboard = 1 << 0,
|
||||||
@@ -720,6 +736,7 @@ typedef enum {
|
|||||||
ImGuiStyleVar_TabBorderSize,
|
ImGuiStyleVar_TabBorderSize,
|
||||||
ImGuiStyleVar_TabBarBorderSize,
|
ImGuiStyleVar_TabBarBorderSize,
|
||||||
ImGuiStyleVar_TableAngledHeadersAngle,
|
ImGuiStyleVar_TableAngledHeadersAngle,
|
||||||
|
ImGuiStyleVar_TableAngledHeadersTextAlign,
|
||||||
ImGuiStyleVar_ButtonTextAlign,
|
ImGuiStyleVar_ButtonTextAlign,
|
||||||
ImGuiStyleVar_SelectableTextAlign,
|
ImGuiStyleVar_SelectableTextAlign,
|
||||||
ImGuiStyleVar_SeparatorTextBorderSize,
|
ImGuiStyleVar_SeparatorTextBorderSize,
|
||||||
@@ -734,7 +751,6 @@ typedef enum {
|
|||||||
ImGuiButtonFlags_MouseButtonRight = 1 << 1,
|
ImGuiButtonFlags_MouseButtonRight = 1 << 1,
|
||||||
ImGuiButtonFlags_MouseButtonMiddle = 1 << 2,
|
ImGuiButtonFlags_MouseButtonMiddle = 1 << 2,
|
||||||
ImGuiButtonFlags_MouseButtonMask_ = ImGuiButtonFlags_MouseButtonLeft | ImGuiButtonFlags_MouseButtonRight | ImGuiButtonFlags_MouseButtonMiddle,
|
ImGuiButtonFlags_MouseButtonMask_ = ImGuiButtonFlags_MouseButtonLeft | ImGuiButtonFlags_MouseButtonRight | ImGuiButtonFlags_MouseButtonMiddle,
|
||||||
ImGuiButtonFlags_MouseButtonDefault_ = ImGuiButtonFlags_MouseButtonLeft,
|
|
||||||
}ImGuiButtonFlags_;
|
}ImGuiButtonFlags_;
|
||||||
typedef enum {
|
typedef enum {
|
||||||
ImGuiColorEditFlags_None = 0,
|
ImGuiColorEditFlags_None = 0,
|
||||||
@@ -897,7 +913,7 @@ struct ImGuiTableColumnSortSpecs
|
|||||||
ImGuiID ColumnUserID;
|
ImGuiID ColumnUserID;
|
||||||
ImS16 ColumnIndex;
|
ImS16 ColumnIndex;
|
||||||
ImS16 SortOrder;
|
ImS16 SortOrder;
|
||||||
ImGuiSortDirection SortDirection : 8;
|
ImGuiSortDirection SortDirection;
|
||||||
};
|
};
|
||||||
struct ImGuiStyle
|
struct ImGuiStyle
|
||||||
{
|
{
|
||||||
@@ -932,6 +948,7 @@ struct ImGuiStyle
|
|||||||
float TabMinWidthForCloseButton;
|
float TabMinWidthForCloseButton;
|
||||||
float TabBarBorderSize;
|
float TabBarBorderSize;
|
||||||
float TableAngledHeadersAngle;
|
float TableAngledHeadersAngle;
|
||||||
|
ImVec2 TableAngledHeadersTextAlign;
|
||||||
ImGuiDir ColorButtonPosition;
|
ImGuiDir ColorButtonPosition;
|
||||||
ImVec2 ButtonTextAlign;
|
ImVec2 ButtonTextAlign;
|
||||||
ImVec2 SelectableTextAlign;
|
ImVec2 SelectableTextAlign;
|
||||||
@@ -1053,6 +1070,7 @@ struct ImGuiIO
|
|||||||
bool MouseDownOwned[5];
|
bool MouseDownOwned[5];
|
||||||
bool MouseDownOwnedUnlessPopupClose[5];
|
bool MouseDownOwnedUnlessPopupClose[5];
|
||||||
bool MouseWheelRequestAxisSwap;
|
bool MouseWheelRequestAxisSwap;
|
||||||
|
bool MouseCtrlLeftAsRightClick;
|
||||||
float MouseDownDuration[5];
|
float MouseDownDuration[5];
|
||||||
float MouseDownDurationPrev[5];
|
float MouseDownDurationPrev[5];
|
||||||
ImVec2 MouseDragMaxDistanceAbs[5];
|
ImVec2 MouseDragMaxDistanceAbs[5];
|
||||||
@@ -1231,12 +1249,12 @@ typedef enum {
|
|||||||
}ImDrawListFlags_;
|
}ImDrawListFlags_;
|
||||||
typedef struct ImVector_ImDrawVert {int Size;int Capacity;ImDrawVert* Data;} ImVector_ImDrawVert;
|
typedef struct ImVector_ImDrawVert {int Size;int Capacity;ImDrawVert* Data;} ImVector_ImDrawVert;
|
||||||
|
|
||||||
|
typedef struct ImVector_ImVec2 {int Size;int Capacity;ImVec2* Data;} ImVector_ImVec2;
|
||||||
|
|
||||||
typedef struct ImVector_ImVec4 {int Size;int Capacity;ImVec4* Data;} ImVector_ImVec4;
|
typedef struct ImVector_ImVec4 {int Size;int Capacity;ImVec4* Data;} ImVector_ImVec4;
|
||||||
|
|
||||||
typedef struct ImVector_ImTextureID {int Size;int Capacity;ImTextureID* Data;} ImVector_ImTextureID;
|
typedef struct ImVector_ImTextureID {int Size;int Capacity;ImTextureID* Data;} ImVector_ImTextureID;
|
||||||
|
|
||||||
typedef struct ImVector_ImVec2 {int Size;int Capacity;ImVec2* Data;} ImVector_ImVec2;
|
|
||||||
|
|
||||||
struct ImDrawList
|
struct ImDrawList
|
||||||
{
|
{
|
||||||
ImVector_ImDrawCmd CmdBuffer;
|
ImVector_ImDrawCmd CmdBuffer;
|
||||||
@@ -1245,15 +1263,15 @@ struct ImDrawList
|
|||||||
ImDrawListFlags Flags;
|
ImDrawListFlags Flags;
|
||||||
unsigned int _VtxCurrentIdx;
|
unsigned int _VtxCurrentIdx;
|
||||||
ImDrawListSharedData* _Data;
|
ImDrawListSharedData* _Data;
|
||||||
const char* _OwnerName;
|
|
||||||
ImDrawVert* _VtxWritePtr;
|
ImDrawVert* _VtxWritePtr;
|
||||||
ImDrawIdx* _IdxWritePtr;
|
ImDrawIdx* _IdxWritePtr;
|
||||||
ImVector_ImVec4 _ClipRectStack;
|
|
||||||
ImVector_ImTextureID _TextureIdStack;
|
|
||||||
ImVector_ImVec2 _Path;
|
ImVector_ImVec2 _Path;
|
||||||
ImDrawCmdHeader _CmdHeader;
|
ImDrawCmdHeader _CmdHeader;
|
||||||
ImDrawListSplitter _Splitter;
|
ImDrawListSplitter _Splitter;
|
||||||
|
ImVector_ImVec4 _ClipRectStack;
|
||||||
|
ImVector_ImTextureID _TextureIdStack;
|
||||||
float _FringeScale;
|
float _FringeScale;
|
||||||
|
const char* _OwnerName;
|
||||||
};
|
};
|
||||||
typedef struct ImVector_ImDrawListPtr {int Size;int Capacity;ImDrawList** Data;} ImVector_ImDrawListPtr;
|
typedef struct ImVector_ImDrawListPtr {int Size;int Capacity;ImDrawList** Data;} ImVector_ImDrawListPtr;
|
||||||
|
|
||||||
@@ -1495,6 +1513,7 @@ struct ImGuiStyleMod;
|
|||||||
struct ImGuiTabBar;
|
struct ImGuiTabBar;
|
||||||
struct ImGuiTabItem;
|
struct ImGuiTabItem;
|
||||||
struct ImGuiTable;
|
struct ImGuiTable;
|
||||||
|
struct ImGuiTableHeaderData;
|
||||||
struct ImGuiTableColumn;
|
struct ImGuiTableColumn;
|
||||||
struct ImGuiTableInstanceData;
|
struct ImGuiTableInstanceData;
|
||||||
struct ImGuiTableTempData;
|
struct ImGuiTableTempData;
|
||||||
@@ -1503,6 +1522,7 @@ struct ImGuiTableColumnsSettings;
|
|||||||
struct ImGuiTypingSelectState;
|
struct ImGuiTypingSelectState;
|
||||||
struct ImGuiTypingSelectRequest;
|
struct ImGuiTypingSelectRequest;
|
||||||
struct ImGuiWindow;
|
struct ImGuiWindow;
|
||||||
|
struct ImGuiWindowDockStyle;
|
||||||
struct ImGuiWindowTempData;
|
struct ImGuiWindowTempData;
|
||||||
struct ImGuiWindowSettings;
|
struct ImGuiWindowSettings;
|
||||||
typedef int ImGuiDataAuthority;
|
typedef int ImGuiDataAuthority;
|
||||||
@@ -1510,7 +1530,6 @@ typedef int ImGuiLayoutType;
|
|||||||
typedef int ImGuiActivateFlags;
|
typedef int ImGuiActivateFlags;
|
||||||
typedef int ImGuiDebugLogFlags;
|
typedef int ImGuiDebugLogFlags;
|
||||||
typedef int ImGuiFocusRequestFlags;
|
typedef int ImGuiFocusRequestFlags;
|
||||||
typedef int ImGuiInputFlags;
|
|
||||||
typedef int ImGuiItemFlags;
|
typedef int ImGuiItemFlags;
|
||||||
typedef int ImGuiItemStatusFlags;
|
typedef int ImGuiItemStatusFlags;
|
||||||
typedef int ImGuiOldColumnFlags;
|
typedef int ImGuiOldColumnFlags;
|
||||||
@@ -1523,6 +1542,7 @@ typedef int ImGuiSeparatorFlags;
|
|||||||
typedef int ImGuiTextFlags;
|
typedef int ImGuiTextFlags;
|
||||||
typedef int ImGuiTooltipFlags;
|
typedef int ImGuiTooltipFlags;
|
||||||
typedef int ImGuiTypingSelectFlags;
|
typedef int ImGuiTypingSelectFlags;
|
||||||
|
typedef int ImGuiWindowRefreshFlags;
|
||||||
typedef void (*ImGuiErrorLogCallback)(void* user_data, const char* fmt, ...);
|
typedef void (*ImGuiErrorLogCallback)(void* user_data, const char* fmt, ...);
|
||||||
extern ImGuiContext* GImGui;
|
extern ImGuiContext* GImGui;
|
||||||
typedef struct StbUndoRecord StbUndoRecord;
|
typedef struct StbUndoRecord StbUndoRecord;
|
||||||
@@ -1615,6 +1635,29 @@ struct ImDrawDataBuilder
|
|||||||
ImVector_ImDrawListPtr* Layers[2];
|
ImVector_ImDrawListPtr* Layers[2];
|
||||||
ImVector_ImDrawListPtr LayerData1;
|
ImVector_ImDrawListPtr LayerData1;
|
||||||
};
|
};
|
||||||
|
struct ImGuiDataVarInfo
|
||||||
|
{
|
||||||
|
ImGuiDataType Type;
|
||||||
|
ImU32 Count;
|
||||||
|
ImU32 Offset;
|
||||||
|
};
|
||||||
|
typedef struct ImGuiDataTypeStorage ImGuiDataTypeStorage;
|
||||||
|
struct ImGuiDataTypeStorage
|
||||||
|
{
|
||||||
|
ImU8 Data[8];
|
||||||
|
};
|
||||||
|
struct ImGuiDataTypeInfo
|
||||||
|
{
|
||||||
|
size_t Size;
|
||||||
|
const char* Name;
|
||||||
|
const char* PrintFmt;
|
||||||
|
const char* ScanFmt;
|
||||||
|
};
|
||||||
|
typedef enum {
|
||||||
|
ImGuiDataType_String = ImGuiDataType_COUNT + 1,
|
||||||
|
ImGuiDataType_Pointer,
|
||||||
|
ImGuiDataType_ID,
|
||||||
|
}ImGuiDataTypePrivate_;
|
||||||
typedef enum {
|
typedef enum {
|
||||||
ImGuiItemFlags_None = 0,
|
ImGuiItemFlags_None = 0,
|
||||||
ImGuiItemFlags_NoTabStop = 1 << 0,
|
ImGuiItemFlags_NoTabStop = 1 << 0,
|
||||||
@@ -1642,6 +1685,7 @@ typedef enum {
|
|||||||
ImGuiItemStatusFlags_HoveredWindow = 1 << 7,
|
ImGuiItemStatusFlags_HoveredWindow = 1 << 7,
|
||||||
ImGuiItemStatusFlags_Visible = 1 << 8,
|
ImGuiItemStatusFlags_Visible = 1 << 8,
|
||||||
ImGuiItemStatusFlags_HasClipRect = 1 << 9,
|
ImGuiItemStatusFlags_HasClipRect = 1 << 9,
|
||||||
|
ImGuiItemStatusFlags_HasShortcut = 1 << 10,
|
||||||
}ImGuiItemStatusFlags_;
|
}ImGuiItemStatusFlags_;
|
||||||
typedef enum {
|
typedef enum {
|
||||||
ImGuiHoveredFlags_DelayMask_ = ImGuiHoveredFlags_DelayNone | ImGuiHoveredFlags_DelayShort | ImGuiHoveredFlags_DelayNormal | ImGuiHoveredFlags_NoSharedDelay,
|
ImGuiHoveredFlags_DelayMask_ = ImGuiHoveredFlags_DelayNone | ImGuiHoveredFlags_DelayShort | ImGuiHoveredFlags_DelayNormal | ImGuiHoveredFlags_NoSharedDelay,
|
||||||
@@ -1809,6 +1853,12 @@ struct ImGuiInputTextState
|
|||||||
int ReloadSelectionStart;
|
int ReloadSelectionStart;
|
||||||
int ReloadSelectionEnd;
|
int ReloadSelectionEnd;
|
||||||
};
|
};
|
||||||
|
typedef enum {
|
||||||
|
ImGuiWindowRefreshFlags_None = 0,
|
||||||
|
ImGuiWindowRefreshFlags_TryToAvoidRefresh = 1 << 0,
|
||||||
|
ImGuiWindowRefreshFlags_RefreshOnHover = 1 << 1,
|
||||||
|
ImGuiWindowRefreshFlags_RefreshOnFocus = 1 << 2,
|
||||||
|
}ImGuiWindowRefreshFlags_;
|
||||||
typedef enum {
|
typedef enum {
|
||||||
ImGuiNextWindowDataFlags_None = 0,
|
ImGuiNextWindowDataFlags_None = 0,
|
||||||
ImGuiNextWindowDataFlags_HasPos = 1 << 0,
|
ImGuiNextWindowDataFlags_HasPos = 1 << 0,
|
||||||
@@ -1820,9 +1870,10 @@ typedef enum {
|
|||||||
ImGuiNextWindowDataFlags_HasBgAlpha = 1 << 6,
|
ImGuiNextWindowDataFlags_HasBgAlpha = 1 << 6,
|
||||||
ImGuiNextWindowDataFlags_HasScroll = 1 << 7,
|
ImGuiNextWindowDataFlags_HasScroll = 1 << 7,
|
||||||
ImGuiNextWindowDataFlags_HasChildFlags = 1 << 8,
|
ImGuiNextWindowDataFlags_HasChildFlags = 1 << 8,
|
||||||
ImGuiNextWindowDataFlags_HasViewport = 1 << 9,
|
ImGuiNextWindowDataFlags_HasRefreshPolicy = 1 << 9,
|
||||||
ImGuiNextWindowDataFlags_HasDock = 1 << 10,
|
ImGuiNextWindowDataFlags_HasViewport = 1 << 10,
|
||||||
ImGuiNextWindowDataFlags_HasWindowClass = 1 << 11,
|
ImGuiNextWindowDataFlags_HasDock = 1 << 11,
|
||||||
|
ImGuiNextWindowDataFlags_HasWindowClass = 1 << 12,
|
||||||
}ImGuiNextWindowDataFlags_;
|
}ImGuiNextWindowDataFlags_;
|
||||||
struct ImGuiNextWindowData
|
struct ImGuiNextWindowData
|
||||||
{
|
{
|
||||||
@@ -1847,6 +1898,7 @@ struct ImGuiNextWindowData
|
|||||||
ImGuiID DockId;
|
ImGuiID DockId;
|
||||||
ImGuiWindowClass WindowClass;
|
ImGuiWindowClass WindowClass;
|
||||||
ImVec2 MenuBarOffsetMinVal;
|
ImVec2 MenuBarOffsetMinVal;
|
||||||
|
ImGuiWindowRefreshFlags RefreshFlagsVal;
|
||||||
};
|
};
|
||||||
typedef ImS64 ImGuiSelectionUserData;
|
typedef ImS64 ImGuiSelectionUserData;
|
||||||
typedef enum {
|
typedef enum {
|
||||||
@@ -1854,6 +1906,7 @@ typedef enum {
|
|||||||
ImGuiNextItemDataFlags_HasWidth = 1 << 0,
|
ImGuiNextItemDataFlags_HasWidth = 1 << 0,
|
||||||
ImGuiNextItemDataFlags_HasOpen = 1 << 1,
|
ImGuiNextItemDataFlags_HasOpen = 1 << 1,
|
||||||
ImGuiNextItemDataFlags_HasShortcut = 1 << 2,
|
ImGuiNextItemDataFlags_HasShortcut = 1 << 2,
|
||||||
|
ImGuiNextItemDataFlags_HasRefVal = 1 << 3,
|
||||||
}ImGuiNextItemDataFlags_;
|
}ImGuiNextItemDataFlags_;
|
||||||
struct ImGuiNextItemData
|
struct ImGuiNextItemData
|
||||||
{
|
{
|
||||||
@@ -1862,8 +1915,10 @@ struct ImGuiNextItemData
|
|||||||
ImGuiSelectionUserData SelectionUserData;
|
ImGuiSelectionUserData SelectionUserData;
|
||||||
float Width;
|
float Width;
|
||||||
ImGuiKeyChord Shortcut;
|
ImGuiKeyChord Shortcut;
|
||||||
|
ImGuiInputFlags ShortcutFlags;
|
||||||
bool OpenVal;
|
bool OpenVal;
|
||||||
ImGuiCond OpenCond : 8;
|
ImU8 OpenCond;
|
||||||
|
ImGuiDataTypeStorage RefVal;
|
||||||
};
|
};
|
||||||
struct ImGuiLastItemData
|
struct ImGuiLastItemData
|
||||||
{
|
{
|
||||||
@@ -1874,6 +1929,7 @@ struct ImGuiLastItemData
|
|||||||
ImRect NavRect;
|
ImRect NavRect;
|
||||||
ImRect DisplayRect;
|
ImRect DisplayRect;
|
||||||
ImRect ClipRect;
|
ImRect ClipRect;
|
||||||
|
ImGuiKeyChord Shortcut;
|
||||||
};
|
};
|
||||||
struct ImGuiNavTreeNodeData
|
struct ImGuiNavTreeNodeData
|
||||||
{
|
{
|
||||||
@@ -1899,6 +1955,7 @@ struct ImGuiWindowStackData
|
|||||||
ImGuiWindow* Window;
|
ImGuiWindow* Window;
|
||||||
ImGuiLastItemData ParentLastItemDataBackup;
|
ImGuiLastItemData ParentLastItemDataBackup;
|
||||||
ImGuiStackSizes StackSizesOnBegin;
|
ImGuiStackSizes StackSizesOnBegin;
|
||||||
|
bool DisabledOverrideReenable;
|
||||||
};
|
};
|
||||||
typedef struct ImGuiShrinkWidthItem ImGuiShrinkWidthItem;
|
typedef struct ImGuiShrinkWidthItem ImGuiShrinkWidthItem;
|
||||||
struct ImGuiShrinkWidthItem
|
struct ImGuiShrinkWidthItem
|
||||||
@@ -1913,29 +1970,6 @@ struct ImGuiPtrOrIndex
|
|||||||
void* Ptr;
|
void* Ptr;
|
||||||
int Index;
|
int Index;
|
||||||
};
|
};
|
||||||
struct ImGuiDataVarInfo
|
|
||||||
{
|
|
||||||
ImGuiDataType Type;
|
|
||||||
ImU32 Count;
|
|
||||||
ImU32 Offset;
|
|
||||||
};
|
|
||||||
typedef struct ImGuiDataTypeTempStorage ImGuiDataTypeTempStorage;
|
|
||||||
struct ImGuiDataTypeTempStorage
|
|
||||||
{
|
|
||||||
ImU8 Data[8];
|
|
||||||
};
|
|
||||||
struct ImGuiDataTypeInfo
|
|
||||||
{
|
|
||||||
size_t Size;
|
|
||||||
const char* Name;
|
|
||||||
const char* PrintFmt;
|
|
||||||
const char* ScanFmt;
|
|
||||||
};
|
|
||||||
typedef enum {
|
|
||||||
ImGuiDataType_String = ImGuiDataType_COUNT + 1,
|
|
||||||
ImGuiDataType_Pointer,
|
|
||||||
ImGuiDataType_ID,
|
|
||||||
}ImGuiDataTypePrivate_;
|
|
||||||
typedef enum {
|
typedef enum {
|
||||||
ImGuiPopupPositionPolicy_Default,
|
ImGuiPopupPositionPolicy_Default,
|
||||||
ImGuiPopupPositionPolicy_ComboBox,
|
ImGuiPopupPositionPolicy_ComboBox,
|
||||||
@@ -2048,8 +2082,6 @@ struct ImGuiKeyOwnerData
|
|||||||
bool LockUntilRelease;
|
bool LockUntilRelease;
|
||||||
};
|
};
|
||||||
typedef enum {
|
typedef enum {
|
||||||
ImGuiInputFlags_None = 0,
|
|
||||||
ImGuiInputFlags_Repeat = 1 << 0,
|
|
||||||
ImGuiInputFlags_RepeatRateDefault = 1 << 1,
|
ImGuiInputFlags_RepeatRateDefault = 1 << 1,
|
||||||
ImGuiInputFlags_RepeatRateNavMove = 1 << 2,
|
ImGuiInputFlags_RepeatRateNavMove = 1 << 2,
|
||||||
ImGuiInputFlags_RepeatRateNavTweak = 1 << 3,
|
ImGuiInputFlags_RepeatRateNavTweak = 1 << 3,
|
||||||
@@ -2057,28 +2089,24 @@ typedef enum {
|
|||||||
ImGuiInputFlags_RepeatUntilKeyModsChange = 1 << 5,
|
ImGuiInputFlags_RepeatUntilKeyModsChange = 1 << 5,
|
||||||
ImGuiInputFlags_RepeatUntilKeyModsChangeFromNone = 1 << 6,
|
ImGuiInputFlags_RepeatUntilKeyModsChangeFromNone = 1 << 6,
|
||||||
ImGuiInputFlags_RepeatUntilOtherKeyPress = 1 << 7,
|
ImGuiInputFlags_RepeatUntilOtherKeyPress = 1 << 7,
|
||||||
ImGuiInputFlags_CondHovered = 1 << 8,
|
ImGuiInputFlags_LockThisFrame = 1 << 20,
|
||||||
ImGuiInputFlags_CondActive = 1 << 9,
|
ImGuiInputFlags_LockUntilRelease = 1 << 21,
|
||||||
|
ImGuiInputFlags_CondHovered = 1 << 22,
|
||||||
|
ImGuiInputFlags_CondActive = 1 << 23,
|
||||||
ImGuiInputFlags_CondDefault_ = ImGuiInputFlags_CondHovered | ImGuiInputFlags_CondActive,
|
ImGuiInputFlags_CondDefault_ = ImGuiInputFlags_CondHovered | ImGuiInputFlags_CondActive,
|
||||||
ImGuiInputFlags_LockThisFrame = 1 << 10,
|
|
||||||
ImGuiInputFlags_LockUntilRelease = 1 << 11,
|
|
||||||
ImGuiInputFlags_RouteFocused = 1 << 12,
|
|
||||||
ImGuiInputFlags_RouteGlobalLow = 1 << 13,
|
|
||||||
ImGuiInputFlags_RouteGlobal = 1 << 14,
|
|
||||||
ImGuiInputFlags_RouteGlobalHigh = 1 << 15,
|
|
||||||
ImGuiInputFlags_RouteAlways = 1 << 16,
|
|
||||||
ImGuiInputFlags_RouteUnlessBgFocused= 1 << 17,
|
|
||||||
ImGuiInputFlags_RepeatRateMask_ = ImGuiInputFlags_RepeatRateDefault | ImGuiInputFlags_RepeatRateNavMove | ImGuiInputFlags_RepeatRateNavTweak,
|
ImGuiInputFlags_RepeatRateMask_ = ImGuiInputFlags_RepeatRateDefault | ImGuiInputFlags_RepeatRateNavMove | ImGuiInputFlags_RepeatRateNavTweak,
|
||||||
ImGuiInputFlags_RepeatUntilMask_ = ImGuiInputFlags_RepeatUntilRelease | ImGuiInputFlags_RepeatUntilKeyModsChange | ImGuiInputFlags_RepeatUntilKeyModsChangeFromNone | ImGuiInputFlags_RepeatUntilOtherKeyPress,
|
ImGuiInputFlags_RepeatUntilMask_ = ImGuiInputFlags_RepeatUntilRelease | ImGuiInputFlags_RepeatUntilKeyModsChange | ImGuiInputFlags_RepeatUntilKeyModsChangeFromNone | ImGuiInputFlags_RepeatUntilOtherKeyPress,
|
||||||
ImGuiInputFlags_RepeatMask_ = ImGuiInputFlags_Repeat | ImGuiInputFlags_RepeatRateMask_ | ImGuiInputFlags_RepeatUntilMask_,
|
ImGuiInputFlags_RepeatMask_ = ImGuiInputFlags_Repeat | ImGuiInputFlags_RepeatRateMask_ | ImGuiInputFlags_RepeatUntilMask_,
|
||||||
ImGuiInputFlags_CondMask_ = ImGuiInputFlags_CondHovered | ImGuiInputFlags_CondActive,
|
ImGuiInputFlags_CondMask_ = ImGuiInputFlags_CondHovered | ImGuiInputFlags_CondActive,
|
||||||
ImGuiInputFlags_RouteMask_ = ImGuiInputFlags_RouteFocused | ImGuiInputFlags_RouteGlobal | ImGuiInputFlags_RouteGlobalLow | ImGuiInputFlags_RouteGlobalHigh,
|
ImGuiInputFlags_RouteTypeMask_ = ImGuiInputFlags_RouteActive | ImGuiInputFlags_RouteFocused | ImGuiInputFlags_RouteGlobal | ImGuiInputFlags_RouteAlways,
|
||||||
|
ImGuiInputFlags_RouteOptionsMask_ = ImGuiInputFlags_RouteOverFocused | ImGuiInputFlags_RouteOverActive | ImGuiInputFlags_RouteUnlessBgFocused | ImGuiInputFlags_RouteFromRootWindow,
|
||||||
ImGuiInputFlags_SupportedByIsKeyPressed = ImGuiInputFlags_RepeatMask_,
|
ImGuiInputFlags_SupportedByIsKeyPressed = ImGuiInputFlags_RepeatMask_,
|
||||||
ImGuiInputFlags_SupportedByIsMouseClicked = ImGuiInputFlags_Repeat,
|
ImGuiInputFlags_SupportedByIsMouseClicked = ImGuiInputFlags_Repeat,
|
||||||
ImGuiInputFlags_SupportedByShortcut = ImGuiInputFlags_RepeatMask_ | ImGuiInputFlags_RouteMask_ | ImGuiInputFlags_RouteAlways | ImGuiInputFlags_RouteUnlessBgFocused,
|
ImGuiInputFlags_SupportedByShortcut = ImGuiInputFlags_RepeatMask_ | ImGuiInputFlags_RouteTypeMask_ | ImGuiInputFlags_RouteOptionsMask_,
|
||||||
|
ImGuiInputFlags_SupportedBySetNextItemShortcut = ImGuiInputFlags_RepeatMask_ | ImGuiInputFlags_RouteTypeMask_ | ImGuiInputFlags_RouteOptionsMask_ | ImGuiInputFlags_Tooltip,
|
||||||
ImGuiInputFlags_SupportedBySetKeyOwner = ImGuiInputFlags_LockThisFrame | ImGuiInputFlags_LockUntilRelease,
|
ImGuiInputFlags_SupportedBySetKeyOwner = ImGuiInputFlags_LockThisFrame | ImGuiInputFlags_LockUntilRelease,
|
||||||
ImGuiInputFlags_SupportedBySetItemKeyOwner = ImGuiInputFlags_SupportedBySetKeyOwner | ImGuiInputFlags_CondMask_,
|
ImGuiInputFlags_SupportedBySetItemKeyOwner = ImGuiInputFlags_SupportedBySetKeyOwner | ImGuiInputFlags_CondMask_,
|
||||||
}ImGuiInputFlags_;
|
}ImGuiInputFlagsPrivate_;
|
||||||
typedef struct ImGuiListClipperRange ImGuiListClipperRange;
|
typedef struct ImGuiListClipperRange ImGuiListClipperRange;
|
||||||
struct ImGuiListClipperRange
|
struct ImGuiListClipperRange
|
||||||
{
|
{
|
||||||
@@ -2157,10 +2185,10 @@ struct ImGuiNavItemData
|
|||||||
ImGuiID FocusScopeId;
|
ImGuiID FocusScopeId;
|
||||||
ImRect RectRel;
|
ImRect RectRel;
|
||||||
ImGuiItemFlags InFlags;
|
ImGuiItemFlags InFlags;
|
||||||
ImGuiSelectionUserData SelectionUserData;
|
|
||||||
float DistBox;
|
float DistBox;
|
||||||
float DistCenter;
|
float DistCenter;
|
||||||
float DistAxial;
|
float DistAxial;
|
||||||
|
ImGuiSelectionUserData SelectionUserData;
|
||||||
};
|
};
|
||||||
typedef struct ImGuiFocusScopeData ImGuiFocusScopeData;
|
typedef struct ImGuiFocusScopeData ImGuiFocusScopeData;
|
||||||
struct ImGuiFocusScopeData
|
struct ImGuiFocusScopeData
|
||||||
@@ -2313,7 +2341,6 @@ typedef enum {
|
|||||||
ImGuiWindowDockStyleCol_TabUnfocusedActive,
|
ImGuiWindowDockStyleCol_TabUnfocusedActive,
|
||||||
ImGuiWindowDockStyleCol_COUNT
|
ImGuiWindowDockStyleCol_COUNT
|
||||||
}ImGuiWindowDockStyleCol;
|
}ImGuiWindowDockStyleCol;
|
||||||
typedef struct ImGuiWindowDockStyle ImGuiWindowDockStyle;
|
|
||||||
struct ImGuiWindowDockStyle
|
struct ImGuiWindowDockStyle
|
||||||
{
|
{
|
||||||
ImU32 Colors[ImGuiWindowDockStyleCol_COUNT];
|
ImU32 Colors[ImGuiWindowDockStyleCol_COUNT];
|
||||||
@@ -2540,6 +2567,7 @@ struct ImGuiContext
|
|||||||
ImFont* Font;
|
ImFont* Font;
|
||||||
float FontSize;
|
float FontSize;
|
||||||
float FontBaseSize;
|
float FontBaseSize;
|
||||||
|
float CurrentDpiScale;
|
||||||
ImDrawListSharedData DrawListSharedData;
|
ImDrawListSharedData DrawListSharedData;
|
||||||
double Time;
|
double Time;
|
||||||
int FrameCount;
|
int FrameCount;
|
||||||
@@ -2578,10 +2606,11 @@ struct ImGuiContext
|
|||||||
ImGuiID DebugHookIdInfo;
|
ImGuiID DebugHookIdInfo;
|
||||||
ImGuiID HoveredId;
|
ImGuiID HoveredId;
|
||||||
ImGuiID HoveredIdPreviousFrame;
|
ImGuiID HoveredIdPreviousFrame;
|
||||||
bool HoveredIdAllowOverlap;
|
|
||||||
bool HoveredIdDisabled;
|
|
||||||
float HoveredIdTimer;
|
float HoveredIdTimer;
|
||||||
float HoveredIdNotActiveTimer;
|
float HoveredIdNotActiveTimer;
|
||||||
|
bool HoveredIdAllowOverlap;
|
||||||
|
bool HoveredIdDisabled;
|
||||||
|
bool ItemUnclipByLog;
|
||||||
ImGuiID ActiveId;
|
ImGuiID ActiveId;
|
||||||
ImGuiID ActiveIdIsAlive;
|
ImGuiID ActiveIdIsAlive;
|
||||||
float ActiveIdTimer;
|
float ActiveIdTimer;
|
||||||
@@ -2629,7 +2658,6 @@ struct ImGuiContext
|
|||||||
ImVector_ImGuiPopupData BeginPopupStack;
|
ImVector_ImGuiPopupData BeginPopupStack;
|
||||||
ImVector_ImGuiNavTreeNodeData NavTreeNodeStack;
|
ImVector_ImGuiNavTreeNodeData NavTreeNodeStack;
|
||||||
ImVector_ImGuiViewportPPtr Viewports;
|
ImVector_ImGuiViewportPPtr Viewports;
|
||||||
float CurrentDpiScale;
|
|
||||||
ImGuiViewportP* CurrentViewport;
|
ImGuiViewportP* CurrentViewport;
|
||||||
ImGuiViewportP* MouseViewport;
|
ImGuiViewportP* MouseViewport;
|
||||||
ImGuiViewportP* MouseLastHoveredViewport;
|
ImGuiViewportP* MouseLastHoveredViewport;
|
||||||
@@ -2642,11 +2670,11 @@ struct ImGuiContext
|
|||||||
ImGuiWindow* NavWindow;
|
ImGuiWindow* NavWindow;
|
||||||
ImGuiID NavId;
|
ImGuiID NavId;
|
||||||
ImGuiID NavFocusScopeId;
|
ImGuiID NavFocusScopeId;
|
||||||
ImVector_ImGuiFocusScopeData NavFocusRoute;
|
|
||||||
ImGuiID NavActivateId;
|
ImGuiID NavActivateId;
|
||||||
ImGuiID NavActivateDownId;
|
ImGuiID NavActivateDownId;
|
||||||
ImGuiID NavActivatePressedId;
|
ImGuiID NavActivatePressedId;
|
||||||
ImGuiActivateFlags NavActivateFlags;
|
ImGuiActivateFlags NavActivateFlags;
|
||||||
|
ImVector_ImGuiFocusScopeData NavFocusRoute;
|
||||||
ImGuiID NavHighlightActivatedId;
|
ImGuiID NavHighlightActivatedId;
|
||||||
float NavHighlightActivatedTimer;
|
float NavHighlightActivatedTimer;
|
||||||
ImGuiID NavJustMovedToId;
|
ImGuiID NavJustMovedToId;
|
||||||
@@ -2739,6 +2767,7 @@ struct ImGuiContext
|
|||||||
ImGuiInputTextDeactivatedState InputTextDeactivatedState;
|
ImGuiInputTextDeactivatedState InputTextDeactivatedState;
|
||||||
ImFont InputTextPasswordFont;
|
ImFont InputTextPasswordFont;
|
||||||
ImGuiID TempInputId;
|
ImGuiID TempInputId;
|
||||||
|
ImGuiDataTypeStorage DataTypeZeroValue;
|
||||||
int BeginMenuDepth;
|
int BeginMenuDepth;
|
||||||
int BeginComboDepth;
|
int BeginComboDepth;
|
||||||
ImGuiColorEditFlags ColorEditOptions;
|
ImGuiColorEditFlags ColorEditOptions;
|
||||||
@@ -2751,13 +2780,14 @@ struct ImGuiContext
|
|||||||
ImGuiComboPreviewData ComboPreviewData;
|
ImGuiComboPreviewData ComboPreviewData;
|
||||||
ImRect WindowResizeBorderExpectedRect;
|
ImRect WindowResizeBorderExpectedRect;
|
||||||
bool WindowResizeRelativeMode;
|
bool WindowResizeRelativeMode;
|
||||||
|
short ScrollbarSeekMode;
|
||||||
|
float ScrollbarClickDeltaToGrabCenter;
|
||||||
float SliderGrabClickOffset;
|
float SliderGrabClickOffset;
|
||||||
float SliderCurrentAccum;
|
float SliderCurrentAccum;
|
||||||
bool SliderCurrentAccumDirty;
|
bool SliderCurrentAccumDirty;
|
||||||
bool DragCurrentAccumDirty;
|
bool DragCurrentAccumDirty;
|
||||||
float DragCurrentAccum;
|
float DragCurrentAccum;
|
||||||
float DragSpeedDefaultRatio;
|
float DragSpeedDefaultRatio;
|
||||||
float ScrollbarClickDeltaToGrabCenter;
|
|
||||||
float DisabledAlphaBackup;
|
float DisabledAlphaBackup;
|
||||||
short DisabledStackSize;
|
short DisabledStackSize;
|
||||||
short LockMarkEdited;
|
short LockMarkEdited;
|
||||||
@@ -2881,6 +2911,7 @@ struct ImGuiWindow
|
|||||||
ImVec2 WindowPadding;
|
ImVec2 WindowPadding;
|
||||||
float WindowRounding;
|
float WindowRounding;
|
||||||
float WindowBorderSize;
|
float WindowBorderSize;
|
||||||
|
float TitleBarHeight, MenuBarHeight;
|
||||||
float DecoOuterSizeX1, DecoOuterSizeY1;
|
float DecoOuterSizeX1, DecoOuterSizeY1;
|
||||||
float DecoOuterSizeX2, DecoOuterSizeY2;
|
float DecoOuterSizeX2, DecoOuterSizeY2;
|
||||||
float DecoInnerSizeX1, DecoInnerSizeY1;
|
float DecoInnerSizeX1, DecoInnerSizeY1;
|
||||||
@@ -2888,6 +2919,7 @@ struct ImGuiWindow
|
|||||||
ImGuiID MoveId;
|
ImGuiID MoveId;
|
||||||
ImGuiID TabId;
|
ImGuiID TabId;
|
||||||
ImGuiID ChildId;
|
ImGuiID ChildId;
|
||||||
|
ImGuiID PopupId;
|
||||||
ImVec2 Scroll;
|
ImVec2 Scroll;
|
||||||
ImVec2 ScrollMax;
|
ImVec2 ScrollMax;
|
||||||
ImVec2 ScrollTarget;
|
ImVec2 ScrollTarget;
|
||||||
@@ -2902,6 +2934,7 @@ struct ImGuiWindow
|
|||||||
bool Collapsed;
|
bool Collapsed;
|
||||||
bool WantCollapseToggle;
|
bool WantCollapseToggle;
|
||||||
bool SkipItems;
|
bool SkipItems;
|
||||||
|
bool SkipRefresh;
|
||||||
bool Appearing;
|
bool Appearing;
|
||||||
bool Hidden;
|
bool Hidden;
|
||||||
bool IsFallbackWindow;
|
bool IsFallbackWindow;
|
||||||
@@ -2914,7 +2947,6 @@ struct ImGuiWindow
|
|||||||
short BeginOrderWithinParent;
|
short BeginOrderWithinParent;
|
||||||
short BeginOrderWithinContext;
|
short BeginOrderWithinContext;
|
||||||
short FocusOrder;
|
short FocusOrder;
|
||||||
ImGuiID PopupId;
|
|
||||||
ImS8 AutoFitFramesX, AutoFitFramesY;
|
ImS8 AutoFitFramesX, AutoFitFramesY;
|
||||||
bool AutoFitOnlyGrows;
|
bool AutoFitOnlyGrows;
|
||||||
ImGuiDir AutoPosLastDirection;
|
ImGuiDir AutoPosLastDirection;
|
||||||
@@ -3095,6 +3127,13 @@ struct ImGuiTableCellData
|
|||||||
ImU32 BgColor;
|
ImU32 BgColor;
|
||||||
ImGuiTableColumnIdx Column;
|
ImGuiTableColumnIdx Column;
|
||||||
};
|
};
|
||||||
|
struct ImGuiTableHeaderData
|
||||||
|
{
|
||||||
|
ImGuiTableColumnIdx Index;
|
||||||
|
ImU32 TextColor;
|
||||||
|
ImU32 BgColor0;
|
||||||
|
ImU32 BgColor1;
|
||||||
|
};
|
||||||
struct ImGuiTableInstanceData
|
struct ImGuiTableInstanceData
|
||||||
{
|
{
|
||||||
ImGuiID TableInstanceID;
|
ImGuiID TableInstanceID;
|
||||||
@@ -3229,11 +3268,14 @@ struct ImGuiTable
|
|||||||
bool MemoryCompacted;
|
bool MemoryCompacted;
|
||||||
bool HostSkipItems;
|
bool HostSkipItems;
|
||||||
};
|
};
|
||||||
|
typedef struct ImVector_ImGuiTableHeaderData {int Size;int Capacity;ImGuiTableHeaderData* Data;} ImVector_ImGuiTableHeaderData;
|
||||||
|
|
||||||
struct ImGuiTableTempData
|
struct ImGuiTableTempData
|
||||||
{
|
{
|
||||||
int TableIndex;
|
int TableIndex;
|
||||||
float LastTimeActive;
|
float LastTimeActive;
|
||||||
float AngledHeadersExtraWidth;
|
float AngledHeadersExtraWidth;
|
||||||
|
ImVector_ImGuiTableHeaderData AngledHeadersRequests;
|
||||||
ImVec2 UserOuterSize;
|
ImVec2 UserOuterSize;
|
||||||
ImDrawListSplitter DrawSplitter;
|
ImDrawListSplitter DrawSplitter;
|
||||||
ImRect HostBackupWorkRect;
|
ImRect HostBackupWorkRect;
|
||||||
@@ -3328,6 +3370,7 @@ typedef ImVector<ImGuiStoragePair> ImVector_ImGuiStoragePair;
|
|||||||
typedef ImVector<ImGuiStyleMod> ImVector_ImGuiStyleMod;
|
typedef ImVector<ImGuiStyleMod> ImVector_ImGuiStyleMod;
|
||||||
typedef ImVector<ImGuiTabItem> ImVector_ImGuiTabItem;
|
typedef ImVector<ImGuiTabItem> ImVector_ImGuiTabItem;
|
||||||
typedef ImVector<ImGuiTableColumnSortSpecs> ImVector_ImGuiTableColumnSortSpecs;
|
typedef ImVector<ImGuiTableColumnSortSpecs> ImVector_ImGuiTableColumnSortSpecs;
|
||||||
|
typedef ImVector<ImGuiTableHeaderData> ImVector_ImGuiTableHeaderData;
|
||||||
typedef ImVector<ImGuiTableInstanceData> ImVector_ImGuiTableInstanceData;
|
typedef ImVector<ImGuiTableInstanceData> ImVector_ImGuiTableInstanceData;
|
||||||
typedef ImVector<ImGuiTableTempData> ImVector_ImGuiTableTempData;
|
typedef ImVector<ImGuiTableTempData> ImVector_ImGuiTableTempData;
|
||||||
typedef ImVector<ImGuiTextRange> ImVector_ImGuiTextRange;
|
typedef ImVector<ImGuiTextRange> ImVector_ImGuiTextRange;
|
||||||
@@ -3646,8 +3689,8 @@ CIMGUI_API bool igBeginTabItem(const char* label,bool* p_open,ImGuiTabItemFlags
|
|||||||
CIMGUI_API void igEndTabItem(void);
|
CIMGUI_API void igEndTabItem(void);
|
||||||
CIMGUI_API bool igTabItemButton(const char* label,ImGuiTabItemFlags flags);
|
CIMGUI_API bool igTabItemButton(const char* label,ImGuiTabItemFlags flags);
|
||||||
CIMGUI_API void igSetTabItemClosed(const char* tab_or_docked_window_label);
|
CIMGUI_API void igSetTabItemClosed(const char* tab_or_docked_window_label);
|
||||||
CIMGUI_API ImGuiID igDockSpace(ImGuiID id,const ImVec2 size,ImGuiDockNodeFlags flags,const ImGuiWindowClass* window_class);
|
CIMGUI_API ImGuiID igDockSpace(ImGuiID dockspace_id,const ImVec2 size,ImGuiDockNodeFlags flags,const ImGuiWindowClass* window_class);
|
||||||
CIMGUI_API ImGuiID igDockSpaceOverViewport(const ImGuiViewport* viewport,ImGuiDockNodeFlags flags,const ImGuiWindowClass* window_class);
|
CIMGUI_API ImGuiID igDockSpaceOverViewport(ImGuiID dockspace_id,const ImGuiViewport* viewport,ImGuiDockNodeFlags flags,const ImGuiWindowClass* window_class);
|
||||||
CIMGUI_API void igSetNextWindowDockID(ImGuiID dock_id,ImGuiCond cond);
|
CIMGUI_API void igSetNextWindowDockID(ImGuiID dock_id,ImGuiCond cond);
|
||||||
CIMGUI_API void igSetNextWindowClass(const ImGuiWindowClass* window_class);
|
CIMGUI_API void igSetNextWindowClass(const ImGuiWindowClass* window_class);
|
||||||
CIMGUI_API ImGuiID igGetWindowDockID(void);
|
CIMGUI_API ImGuiID igGetWindowDockID(void);
|
||||||
@@ -3714,6 +3757,8 @@ CIMGUI_API bool igIsKeyChordPressed_Nil(ImGuiKeyChord key_chord);
|
|||||||
CIMGUI_API int igGetKeyPressedAmount(ImGuiKey key,float repeat_delay,float rate);
|
CIMGUI_API int igGetKeyPressedAmount(ImGuiKey key,float repeat_delay,float rate);
|
||||||
CIMGUI_API const char* igGetKeyName(ImGuiKey key);
|
CIMGUI_API const char* igGetKeyName(ImGuiKey key);
|
||||||
CIMGUI_API void igSetNextFrameWantCaptureKeyboard(bool want_capture_keyboard);
|
CIMGUI_API void igSetNextFrameWantCaptureKeyboard(bool want_capture_keyboard);
|
||||||
|
CIMGUI_API bool igShortcut_Nil(ImGuiKeyChord key_chord,ImGuiInputFlags flags);
|
||||||
|
CIMGUI_API void igSetNextItemShortcut(ImGuiKeyChord key_chord,ImGuiInputFlags flags);
|
||||||
CIMGUI_API bool igIsMouseDown_Nil(ImGuiMouseButton button);
|
CIMGUI_API bool igIsMouseDown_Nil(ImGuiMouseButton button);
|
||||||
CIMGUI_API bool igIsMouseClicked_Bool(ImGuiMouseButton button,bool repeat);
|
CIMGUI_API bool igIsMouseClicked_Bool(ImGuiMouseButton button,bool repeat);
|
||||||
CIMGUI_API bool igIsMouseReleased_Nil(ImGuiMouseButton button);
|
CIMGUI_API bool igIsMouseReleased_Nil(ImGuiMouseButton button);
|
||||||
@@ -4046,6 +4091,7 @@ CIMGUI_API int igImTextCountCharsFromUtf8(const char* in_text,const char* in_tex
|
|||||||
CIMGUI_API int igImTextCountUtf8BytesFromChar(const char* in_text,const char* in_text_end);
|
CIMGUI_API int igImTextCountUtf8BytesFromChar(const char* in_text,const char* in_text_end);
|
||||||
CIMGUI_API int igImTextCountUtf8BytesFromStr(const ImWchar* in_text,const ImWchar* in_text_end);
|
CIMGUI_API int igImTextCountUtf8BytesFromStr(const ImWchar* in_text,const ImWchar* in_text_end);
|
||||||
CIMGUI_API const char* igImTextFindPreviousUtf8Codepoint(const char* in_text_start,const char* in_text_curr);
|
CIMGUI_API const char* igImTextFindPreviousUtf8Codepoint(const char* in_text_start,const char* in_text_curr);
|
||||||
|
CIMGUI_API int igImTextCountLines(const char* in_text,const char* in_text_end);
|
||||||
CIMGUI_API ImFileHandle igImFileOpen(const char* filename,const char* mode);
|
CIMGUI_API ImFileHandle igImFileOpen(const char* filename,const char* mode);
|
||||||
CIMGUI_API bool igImFileClose(ImFileHandle file);
|
CIMGUI_API bool igImFileClose(ImFileHandle file);
|
||||||
CIMGUI_API ImU64 igImFileGetSize(ImFileHandle file);
|
CIMGUI_API ImU64 igImFileGetSize(ImFileHandle file);
|
||||||
@@ -4065,7 +4111,7 @@ CIMGUI_API float igImRsqrt_Float(float x);
|
|||||||
CIMGUI_API double igImRsqrt_double(double x);
|
CIMGUI_API double igImRsqrt_double(double x);
|
||||||
CIMGUI_API void igImMin(ImVec2 *pOut,const ImVec2 lhs,const ImVec2 rhs);
|
CIMGUI_API void igImMin(ImVec2 *pOut,const ImVec2 lhs,const ImVec2 rhs);
|
||||||
CIMGUI_API void igImMax(ImVec2 *pOut,const ImVec2 lhs,const ImVec2 rhs);
|
CIMGUI_API void igImMax(ImVec2 *pOut,const ImVec2 lhs,const ImVec2 rhs);
|
||||||
CIMGUI_API void igImClamp(ImVec2 *pOut,const ImVec2 v,const ImVec2 mn,ImVec2 mx);
|
CIMGUI_API void igImClamp(ImVec2 *pOut,const ImVec2 v,const ImVec2 mn,const ImVec2 mx);
|
||||||
CIMGUI_API void igImLerp_Vec2Float(ImVec2 *pOut,const ImVec2 a,const ImVec2 b,float t);
|
CIMGUI_API void igImLerp_Vec2Float(ImVec2 *pOut,const ImVec2 a,const ImVec2 b,float t);
|
||||||
CIMGUI_API void igImLerp_Vec2Vec2(ImVec2 *pOut,const ImVec2 a,const ImVec2 b,const ImVec2 t);
|
CIMGUI_API void igImLerp_Vec2Vec2(ImVec2 *pOut,const ImVec2 a,const ImVec2 b,const ImVec2 t);
|
||||||
CIMGUI_API void igImLerp_Vec4(ImVec4 *pOut,const ImVec4 a,const ImVec4 b,float t);
|
CIMGUI_API void igImLerp_Vec4(ImVec4 *pOut,const ImVec4 a,const ImVec4 b,float t);
|
||||||
@@ -4152,6 +4198,7 @@ CIMGUI_API void ImDrawListSharedData_destroy(ImDrawListSharedData* self);
|
|||||||
CIMGUI_API void ImDrawListSharedData_SetCircleTessellationMaxError(ImDrawListSharedData* self,float max_error);
|
CIMGUI_API void ImDrawListSharedData_SetCircleTessellationMaxError(ImDrawListSharedData* self,float max_error);
|
||||||
CIMGUI_API ImDrawDataBuilder* ImDrawDataBuilder_ImDrawDataBuilder(void);
|
CIMGUI_API ImDrawDataBuilder* ImDrawDataBuilder_ImDrawDataBuilder(void);
|
||||||
CIMGUI_API void ImDrawDataBuilder_destroy(ImDrawDataBuilder* self);
|
CIMGUI_API void ImDrawDataBuilder_destroy(ImDrawDataBuilder* self);
|
||||||
|
CIMGUI_API void* ImGuiDataVarInfo_GetVarPtr(ImGuiDataVarInfo* self,void* parent);
|
||||||
CIMGUI_API ImGuiStyleMod* ImGuiStyleMod_ImGuiStyleMod_Int(ImGuiStyleVar idx,int v);
|
CIMGUI_API ImGuiStyleMod* ImGuiStyleMod_ImGuiStyleMod_Int(ImGuiStyleVar idx,int v);
|
||||||
CIMGUI_API void ImGuiStyleMod_destroy(ImGuiStyleMod* self);
|
CIMGUI_API void ImGuiStyleMod_destroy(ImGuiStyleMod* self);
|
||||||
CIMGUI_API ImGuiStyleMod* ImGuiStyleMod_ImGuiStyleMod_Float(ImGuiStyleVar idx,float v);
|
CIMGUI_API ImGuiStyleMod* ImGuiStyleMod_ImGuiStyleMod_Float(ImGuiStyleVar idx,float v);
|
||||||
@@ -4199,7 +4246,6 @@ CIMGUI_API void ImGuiStackSizes_CompareWithContextState(ImGuiStackSizes* self,Im
|
|||||||
CIMGUI_API ImGuiPtrOrIndex* ImGuiPtrOrIndex_ImGuiPtrOrIndex_Ptr(void* ptr);
|
CIMGUI_API ImGuiPtrOrIndex* ImGuiPtrOrIndex_ImGuiPtrOrIndex_Ptr(void* ptr);
|
||||||
CIMGUI_API void ImGuiPtrOrIndex_destroy(ImGuiPtrOrIndex* self);
|
CIMGUI_API void ImGuiPtrOrIndex_destroy(ImGuiPtrOrIndex* self);
|
||||||
CIMGUI_API ImGuiPtrOrIndex* ImGuiPtrOrIndex_ImGuiPtrOrIndex_Int(int index);
|
CIMGUI_API ImGuiPtrOrIndex* ImGuiPtrOrIndex_ImGuiPtrOrIndex_Int(int index);
|
||||||
CIMGUI_API void* ImGuiDataVarInfo_GetVarPtr(ImGuiDataVarInfo* self,void* parent);
|
|
||||||
CIMGUI_API ImGuiPopupData* ImGuiPopupData_ImGuiPopupData(void);
|
CIMGUI_API ImGuiPopupData* ImGuiPopupData_ImGuiPopupData(void);
|
||||||
CIMGUI_API void ImGuiPopupData_destroy(ImGuiPopupData* self);
|
CIMGUI_API void ImGuiPopupData_destroy(ImGuiPopupData* self);
|
||||||
CIMGUI_API ImGuiInputEvent* ImGuiInputEvent_ImGuiInputEvent(void);
|
CIMGUI_API ImGuiInputEvent* ImGuiInputEvent_ImGuiInputEvent(void);
|
||||||
@@ -4274,9 +4320,7 @@ CIMGUI_API ImGuiID ImGuiWindow_GetID_Int(ImGuiWindow* self,int n);
|
|||||||
CIMGUI_API ImGuiID ImGuiWindow_GetIDFromRectangle(ImGuiWindow* self,const ImRect r_abs);
|
CIMGUI_API ImGuiID ImGuiWindow_GetIDFromRectangle(ImGuiWindow* self,const ImRect r_abs);
|
||||||
CIMGUI_API void ImGuiWindow_Rect(ImRect *pOut,ImGuiWindow* self);
|
CIMGUI_API void ImGuiWindow_Rect(ImRect *pOut,ImGuiWindow* self);
|
||||||
CIMGUI_API float ImGuiWindow_CalcFontSize(ImGuiWindow* self);
|
CIMGUI_API float ImGuiWindow_CalcFontSize(ImGuiWindow* self);
|
||||||
CIMGUI_API float ImGuiWindow_TitleBarHeight(ImGuiWindow* self);
|
|
||||||
CIMGUI_API void ImGuiWindow_TitleBarRect(ImRect *pOut,ImGuiWindow* self);
|
CIMGUI_API void ImGuiWindow_TitleBarRect(ImRect *pOut,ImGuiWindow* self);
|
||||||
CIMGUI_API float ImGuiWindow_MenuBarHeight(ImGuiWindow* self);
|
|
||||||
CIMGUI_API void ImGuiWindow_MenuBarRect(ImRect *pOut,ImGuiWindow* self);
|
CIMGUI_API void ImGuiWindow_MenuBarRect(ImRect *pOut,ImGuiWindow* self);
|
||||||
CIMGUI_API ImGuiTabItem* ImGuiTabItem_ImGuiTabItem(void);
|
CIMGUI_API ImGuiTabItem* ImGuiTabItem_ImGuiTabItem(void);
|
||||||
CIMGUI_API void ImGuiTabItem_destroy(ImGuiTabItem* self);
|
CIMGUI_API void ImGuiTabItem_destroy(ImGuiTabItem* self);
|
||||||
@@ -4300,6 +4344,7 @@ CIMGUI_API ImGuiWindow* igGetCurrentWindow(void);
|
|||||||
CIMGUI_API ImGuiWindow* igFindWindowByID(ImGuiID id);
|
CIMGUI_API ImGuiWindow* igFindWindowByID(ImGuiID id);
|
||||||
CIMGUI_API ImGuiWindow* igFindWindowByName(const char* name);
|
CIMGUI_API ImGuiWindow* igFindWindowByName(const char* name);
|
||||||
CIMGUI_API void igUpdateWindowParentAndRootLinks(ImGuiWindow* window,ImGuiWindowFlags flags,ImGuiWindow* parent_window);
|
CIMGUI_API void igUpdateWindowParentAndRootLinks(ImGuiWindow* window,ImGuiWindowFlags flags,ImGuiWindow* parent_window);
|
||||||
|
CIMGUI_API void igUpdateWindowSkipRefresh(ImGuiWindow* window);
|
||||||
CIMGUI_API void igCalcWindowNextAutoFitSize(ImVec2 *pOut,ImGuiWindow* window);
|
CIMGUI_API void igCalcWindowNextAutoFitSize(ImVec2 *pOut,ImGuiWindow* window);
|
||||||
CIMGUI_API bool igIsWindowChildOf(ImGuiWindow* window,ImGuiWindow* potential_parent,bool popup_hierarchy,bool dock_hierarchy);
|
CIMGUI_API bool igIsWindowChildOf(ImGuiWindow* window,ImGuiWindow* potential_parent,bool popup_hierarchy,bool dock_hierarchy);
|
||||||
CIMGUI_API bool igIsWindowWithinBeginStackOf(ImGuiWindow* window,ImGuiWindow* potential_parent);
|
CIMGUI_API bool igIsWindowWithinBeginStackOf(ImGuiWindow* window,ImGuiWindow* potential_parent);
|
||||||
@@ -4322,6 +4367,7 @@ CIMGUI_API void igBringWindowToDisplayBack(ImGuiWindow* window);
|
|||||||
CIMGUI_API void igBringWindowToDisplayBehind(ImGuiWindow* window,ImGuiWindow* above_window);
|
CIMGUI_API void igBringWindowToDisplayBehind(ImGuiWindow* window,ImGuiWindow* above_window);
|
||||||
CIMGUI_API int igFindWindowDisplayIndex(ImGuiWindow* window);
|
CIMGUI_API int igFindWindowDisplayIndex(ImGuiWindow* window);
|
||||||
CIMGUI_API ImGuiWindow* igFindBottomMostVisibleWindowWithinBeginStack(ImGuiWindow* window);
|
CIMGUI_API ImGuiWindow* igFindBottomMostVisibleWindowWithinBeginStack(ImGuiWindow* window);
|
||||||
|
CIMGUI_API void igSetNextWindowRefreshPolicy(ImGuiWindowRefreshFlags flags);
|
||||||
CIMGUI_API void igSetCurrentFont(ImFont* font);
|
CIMGUI_API void igSetCurrentFont(ImFont* font);
|
||||||
CIMGUI_API ImFont* igGetDefaultFont(void);
|
CIMGUI_API ImFont* igGetDefaultFont(void);
|
||||||
CIMGUI_API ImDrawList* igGetForegroundDrawList_WindowPtr(ImGuiWindow* window);
|
CIMGUI_API ImDrawList* igGetForegroundDrawList_WindowPtr(ImGuiWindow* window);
|
||||||
@@ -4330,6 +4376,7 @@ CIMGUI_API void igInitialize(void);
|
|||||||
CIMGUI_API void igShutdown(void);
|
CIMGUI_API void igShutdown(void);
|
||||||
CIMGUI_API void igUpdateInputEvents(bool trickle_fast_inputs);
|
CIMGUI_API void igUpdateInputEvents(bool trickle_fast_inputs);
|
||||||
CIMGUI_API void igUpdateHoveredWindowAndCaptureFlags(void);
|
CIMGUI_API void igUpdateHoveredWindowAndCaptureFlags(void);
|
||||||
|
CIMGUI_API void igFindHoveredWindowEx(const ImVec2 pos,bool find_first_and_in_any_viewport,ImGuiWindow** out_hovered_window,ImGuiWindow** out_hovered_window_under_moving_window);
|
||||||
CIMGUI_API void igStartMouseMovingWindow(ImGuiWindow* window);
|
CIMGUI_API void igStartMouseMovingWindow(ImGuiWindow* window);
|
||||||
CIMGUI_API void igStartMouseMovingWindowOrNode(ImGuiWindow* window,ImGuiDockNode* node,bool undock);
|
CIMGUI_API void igStartMouseMovingWindowOrNode(ImGuiWindow* window,ImGuiDockNode* node,bool undock);
|
||||||
CIMGUI_API void igUpdateMouseMovingWindowNewFrame(void);
|
CIMGUI_API void igUpdateMouseMovingWindowNewFrame(void);
|
||||||
@@ -4394,6 +4441,8 @@ CIMGUI_API void igShrinkWidths(ImGuiShrinkWidthItem* items,int count,float width
|
|||||||
CIMGUI_API void igPushItemFlag(ImGuiItemFlags option,bool enabled);
|
CIMGUI_API void igPushItemFlag(ImGuiItemFlags option,bool enabled);
|
||||||
CIMGUI_API void igPopItemFlag(void);
|
CIMGUI_API void igPopItemFlag(void);
|
||||||
CIMGUI_API const ImGuiDataVarInfo* igGetStyleVarInfo(ImGuiStyleVar idx);
|
CIMGUI_API const ImGuiDataVarInfo* igGetStyleVarInfo(ImGuiStyleVar idx);
|
||||||
|
CIMGUI_API void igBeginDisabledOverrideReenable(void);
|
||||||
|
CIMGUI_API void igEndDisabledOverrideReenable(void);
|
||||||
CIMGUI_API void igLogBegin(ImGuiLogType type,int auto_open_depth);
|
CIMGUI_API void igLogBegin(ImGuiLogType type,int auto_open_depth);
|
||||||
CIMGUI_API void igLogToBuffer(int auto_open_depth);
|
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 igLogRenderedText(const ImVec2* ref_pos,const char* text,const char* text_end);
|
||||||
@@ -4439,15 +4488,15 @@ CIMGUI_API void igSetNavFocusScope(ImGuiID focus_scope_id);
|
|||||||
CIMGUI_API void igFocusItem(void);
|
CIMGUI_API void igFocusItem(void);
|
||||||
CIMGUI_API void igActivateItemByID(ImGuiID id);
|
CIMGUI_API void igActivateItemByID(ImGuiID id);
|
||||||
CIMGUI_API bool igIsNamedKey(ImGuiKey key);
|
CIMGUI_API bool igIsNamedKey(ImGuiKey key);
|
||||||
CIMGUI_API bool igIsNamedKeyOrModKey(ImGuiKey key);
|
CIMGUI_API bool igIsNamedKeyOrMod(ImGuiKey key);
|
||||||
CIMGUI_API bool igIsLegacyKey(ImGuiKey key);
|
CIMGUI_API bool igIsLegacyKey(ImGuiKey key);
|
||||||
CIMGUI_API bool igIsKeyboardKey(ImGuiKey key);
|
CIMGUI_API bool igIsKeyboardKey(ImGuiKey key);
|
||||||
CIMGUI_API bool igIsGamepadKey(ImGuiKey key);
|
CIMGUI_API bool igIsGamepadKey(ImGuiKey key);
|
||||||
CIMGUI_API bool igIsMouseKey(ImGuiKey key);
|
CIMGUI_API bool igIsMouseKey(ImGuiKey key);
|
||||||
CIMGUI_API bool igIsAliasKey(ImGuiKey key);
|
CIMGUI_API bool igIsAliasKey(ImGuiKey key);
|
||||||
CIMGUI_API bool igIsModKey(ImGuiKey key);
|
CIMGUI_API bool igIsModKey(ImGuiKey key);
|
||||||
CIMGUI_API ImGuiKeyChord igFixupKeyChord(ImGuiContext* ctx,ImGuiKeyChord key_chord);
|
CIMGUI_API ImGuiKeyChord igFixupKeyChord(ImGuiKeyChord key_chord);
|
||||||
CIMGUI_API ImGuiKey igConvertSingleModFlagToKey(ImGuiContext* ctx,ImGuiKey key);
|
CIMGUI_API ImGuiKey igConvertSingleModFlagToKey(ImGuiKey key);
|
||||||
CIMGUI_API ImGuiKeyData* igGetKeyData_ContextPtr(ImGuiContext* ctx,ImGuiKey key);
|
CIMGUI_API ImGuiKeyData* igGetKeyData_ContextPtr(ImGuiContext* ctx,ImGuiKey key);
|
||||||
CIMGUI_API ImGuiKeyData* igGetKeyData_Key(ImGuiKey key);
|
CIMGUI_API ImGuiKeyData* igGetKeyData_Key(ImGuiKey key);
|
||||||
CIMGUI_API const char* igGetKeyChordName(ImGuiKeyChord key_chord);
|
CIMGUI_API const char* igGetKeyChordName(ImGuiKeyChord key_chord);
|
||||||
@@ -4467,16 +4516,15 @@ CIMGUI_API void igSetItemKeyOwner(ImGuiKey key,ImGuiInputFlags flags);
|
|||||||
CIMGUI_API bool igTestKeyOwner(ImGuiKey key,ImGuiID owner_id);
|
CIMGUI_API bool igTestKeyOwner(ImGuiKey key,ImGuiID owner_id);
|
||||||
CIMGUI_API ImGuiKeyOwnerData* igGetKeyOwnerData(ImGuiContext* ctx,ImGuiKey key);
|
CIMGUI_API ImGuiKeyOwnerData* igGetKeyOwnerData(ImGuiContext* ctx,ImGuiKey key);
|
||||||
CIMGUI_API bool igIsKeyDown_ID(ImGuiKey key,ImGuiID owner_id);
|
CIMGUI_API bool igIsKeyDown_ID(ImGuiKey key,ImGuiID owner_id);
|
||||||
CIMGUI_API bool igIsKeyPressed_ID(ImGuiKey key,ImGuiID owner_id,ImGuiInputFlags flags);
|
CIMGUI_API bool igIsKeyPressed_InputFlags(ImGuiKey key,ImGuiInputFlags flags,ImGuiID owner_id);
|
||||||
CIMGUI_API bool igIsKeyReleased_ID(ImGuiKey key,ImGuiID owner_id);
|
CIMGUI_API bool igIsKeyReleased_ID(ImGuiKey key,ImGuiID owner_id);
|
||||||
|
CIMGUI_API bool igIsKeyChordPressed_InputFlags(ImGuiKeyChord key_chord,ImGuiInputFlags flags,ImGuiID owner_id);
|
||||||
CIMGUI_API bool igIsMouseDown_ID(ImGuiMouseButton button,ImGuiID owner_id);
|
CIMGUI_API bool igIsMouseDown_ID(ImGuiMouseButton button,ImGuiID owner_id);
|
||||||
CIMGUI_API bool igIsMouseClicked_ID(ImGuiMouseButton button,ImGuiID owner_id,ImGuiInputFlags flags);
|
CIMGUI_API bool igIsMouseClicked_InputFlags(ImGuiMouseButton button,ImGuiInputFlags flags,ImGuiID owner_id);
|
||||||
CIMGUI_API bool igIsMouseReleased_ID(ImGuiMouseButton button,ImGuiID owner_id);
|
CIMGUI_API bool igIsMouseReleased_ID(ImGuiMouseButton button,ImGuiID owner_id);
|
||||||
CIMGUI_API bool igIsMouseDoubleClicked_ID(ImGuiMouseButton button,ImGuiID owner_id);
|
CIMGUI_API bool igIsMouseDoubleClicked_ID(ImGuiMouseButton button,ImGuiID owner_id);
|
||||||
CIMGUI_API bool igIsKeyChordPressed_ID(ImGuiKeyChord key_chord,ImGuiID owner_id,ImGuiInputFlags flags);
|
CIMGUI_API bool igShortcut_ID(ImGuiKeyChord key_chord,ImGuiInputFlags flags,ImGuiID owner_id);
|
||||||
CIMGUI_API void igSetNextItemShortcut(ImGuiKeyChord key_chord);
|
CIMGUI_API bool igSetShortcutRouting(ImGuiKeyChord key_chord,ImGuiInputFlags flags,ImGuiID owner_id);
|
||||||
CIMGUI_API bool igShortcut(ImGuiKeyChord key_chord,ImGuiID owner_id,ImGuiInputFlags flags);
|
|
||||||
CIMGUI_API bool igSetShortcutRouting(ImGuiKeyChord key_chord,ImGuiID owner_id,ImGuiInputFlags flags);
|
|
||||||
CIMGUI_API bool igTestShortcutRouting(ImGuiKeyChord key_chord,ImGuiID owner_id);
|
CIMGUI_API bool igTestShortcutRouting(ImGuiKeyChord key_chord,ImGuiID owner_id);
|
||||||
CIMGUI_API ImGuiKeyRoutingData* igGetShortcutRoutingData(ImGuiKeyChord key_chord);
|
CIMGUI_API ImGuiKeyRoutingData* igGetShortcutRoutingData(ImGuiKeyChord key_chord);
|
||||||
CIMGUI_API void igDockContextInitialize(ImGuiContext* ctx);
|
CIMGUI_API void igDockContextInitialize(ImGuiContext* ctx);
|
||||||
@@ -4552,7 +4600,7 @@ CIMGUI_API float igTableGetHeaderRowHeight(void);
|
|||||||
CIMGUI_API float igTableGetHeaderAngledMaxLabelWidth(void);
|
CIMGUI_API float igTableGetHeaderAngledMaxLabelWidth(void);
|
||||||
CIMGUI_API void igTablePushBackgroundChannel(void);
|
CIMGUI_API void igTablePushBackgroundChannel(void);
|
||||||
CIMGUI_API void igTablePopBackgroundChannel(void);
|
CIMGUI_API void igTablePopBackgroundChannel(void);
|
||||||
CIMGUI_API void igTableAngledHeadersRowEx(float angle,float max_label_width);
|
CIMGUI_API void igTableAngledHeadersRowEx(ImGuiID row_id,float angle,float max_label_width,const ImGuiTableHeaderData* data,int data_count);
|
||||||
CIMGUI_API ImGuiTable* igGetCurrentTable(void);
|
CIMGUI_API ImGuiTable* igGetCurrentTable(void);
|
||||||
CIMGUI_API ImGuiTable* igTableFindByID(ImGuiID id);
|
CIMGUI_API ImGuiTable* igTableFindByID(ImGuiID id);
|
||||||
CIMGUI_API bool igBeginTableEx(const char* name,ImGuiID id,int columns_count,ImGuiTableFlags flags,const ImVec2 outer_size,float inner_width);
|
CIMGUI_API bool igBeginTableEx(const char* name,ImGuiID id,int columns_count,ImGuiTableFlags flags,const ImVec2 outer_size,float inner_width);
|
||||||
@@ -4661,7 +4709,7 @@ CIMGUI_API void igSetNextItemSelectionUserData(ImGuiSelectionUserData selection_
|
|||||||
CIMGUI_API const ImGuiDataTypeInfo* igDataTypeGetInfo(ImGuiDataType data_type);
|
CIMGUI_API const ImGuiDataTypeInfo* igDataTypeGetInfo(ImGuiDataType data_type);
|
||||||
CIMGUI_API int igDataTypeFormatString(char* buf,int buf_size,ImGuiDataType data_type,const void* p_data,const char* format);
|
CIMGUI_API int igDataTypeFormatString(char* buf,int buf_size,ImGuiDataType data_type,const void* p_data,const char* format);
|
||||||
CIMGUI_API void igDataTypeApplyOp(ImGuiDataType data_type,int op,void* output,const void* arg_1,const void* arg_2);
|
CIMGUI_API void igDataTypeApplyOp(ImGuiDataType data_type,int op,void* output,const void* arg_1,const void* arg_2);
|
||||||
CIMGUI_API bool igDataTypeApplyFromText(const char* buf,ImGuiDataType data_type,void* p_data,const char* format);
|
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 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 igDataTypeClamp(ImGuiDataType data_type,void* p_data,const void* p_min,const void* p_max);
|
||||||
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 bool igInputTextEx(const char* label,const char* hint,char* buf,int buf_size,const ImVec2 size_arg,ImGuiInputTextFlags flags,ImGuiInputTextCallback callback,void* user_data);
|
||||||
@@ -4670,6 +4718,7 @@ CIMGUI_API bool igTempInputText(const ImRect bb,ImGuiID id,const char* label,cha
|
|||||||
CIMGUI_API bool igTempInputScalar(const ImRect bb,ImGuiID id,const char* label,ImGuiDataType data_type,void* p_data,const char* format,const void* p_clamp_min,const void* p_clamp_max);
|
CIMGUI_API bool igTempInputScalar(const ImRect bb,ImGuiID id,const char* label,ImGuiDataType data_type,void* p_data,const char* format,const void* p_clamp_min,const void* p_clamp_max);
|
||||||
CIMGUI_API bool igTempInputIsActive(ImGuiID id);
|
CIMGUI_API bool igTempInputIsActive(ImGuiID id);
|
||||||
CIMGUI_API ImGuiInputTextState* igGetInputTextState(ImGuiID id);
|
CIMGUI_API ImGuiInputTextState* igGetInputTextState(ImGuiID id);
|
||||||
|
CIMGUI_API void igSetNextItemRefVal(ImGuiDataType data_type,void* p_data);
|
||||||
CIMGUI_API void igColorTooltip(const char* text,const float* col,ImGuiColorEditFlags flags);
|
CIMGUI_API void igColorTooltip(const char* text,const float* col,ImGuiColorEditFlags flags);
|
||||||
CIMGUI_API void igColorEditOptionsPopup(const float* col,ImGuiColorEditFlags flags);
|
CIMGUI_API void igColorEditOptionsPopup(const float* col,ImGuiColorEditFlags flags);
|
||||||
CIMGUI_API void igColorPickerOptionsPopup(const float* ref_col,ImGuiColorEditFlags flags);
|
CIMGUI_API void igColorPickerOptionsPopup(const float* ref_col,ImGuiColorEditFlags flags);
|
||||||
@@ -4689,6 +4738,7 @@ CIMGUI_API void igErrorCheckUsingSetCursorPosToExtendParentBoundaries(void);
|
|||||||
CIMGUI_API void igDebugDrawCursorPos(ImU32 col);
|
CIMGUI_API void igDebugDrawCursorPos(ImU32 col);
|
||||||
CIMGUI_API void igDebugDrawLineExtents(ImU32 col);
|
CIMGUI_API void igDebugDrawLineExtents(ImU32 col);
|
||||||
CIMGUI_API void igDebugDrawItemRect(ImU32 col);
|
CIMGUI_API void igDebugDrawItemRect(ImU32 col);
|
||||||
|
CIMGUI_API void igDebugTextUnformattedWithLocateItem(const char* line_begin,const char* line_end);
|
||||||
CIMGUI_API void igDebugLocateItem(ImGuiID target_id);
|
CIMGUI_API void igDebugLocateItem(ImGuiID target_id);
|
||||||
CIMGUI_API void igDebugLocateItemOnHover(ImGuiID target_id);
|
CIMGUI_API void igDebugLocateItemOnHover(ImGuiID target_id);
|
||||||
CIMGUI_API void igDebugLocateItemResolveWithLastItem(void);
|
CIMGUI_API void igDebugLocateItemResolveWithLastItem(void);
|
||||||
@@ -4744,6 +4794,10 @@ CIMGUI_API void ImVector_ImWchar_destroy(ImVector_ImWchar* self);
|
|||||||
CIMGUI_API void ImVector_ImWchar_Init(ImVector_ImWchar* p);
|
CIMGUI_API void ImVector_ImWchar_Init(ImVector_ImWchar* p);
|
||||||
CIMGUI_API void ImVector_ImWchar_UnInit(ImVector_ImWchar* p);
|
CIMGUI_API void ImVector_ImWchar_UnInit(ImVector_ImWchar* p);
|
||||||
|
|
||||||
|
#ifdef IMGUI_HAS_DOCK
|
||||||
|
CIMGUI_API void ImGuiPlatformIO_Set_Platform_GetWindowPos(ImGuiPlatformIO* platform_io, void(*user_callback)(ImGuiViewport* vp, ImVec2* out_pos));
|
||||||
|
CIMGUI_API void ImGuiPlatformIO_Set_Platform_GetWindowSize(ImGuiPlatformIO* platform_io, void(*user_callback)(ImGuiViewport* vp, ImVec2* out_size));
|
||||||
|
#endif
|
||||||
|
|
||||||
#endif //CIMGUI_INCLUDED
|
#endif //CIMGUI_INCLUDED
|
||||||
|
|
||||||
|
@@ -61,6 +61,10 @@ CIMGUI_API void ImVector_ImWchar_destroy(ImVector_ImWchar* self);
|
|||||||
CIMGUI_API void ImVector_ImWchar_Init(ImVector_ImWchar* p);
|
CIMGUI_API void ImVector_ImWchar_Init(ImVector_ImWchar* p);
|
||||||
CIMGUI_API void ImVector_ImWchar_UnInit(ImVector_ImWchar* p);
|
CIMGUI_API void ImVector_ImWchar_UnInit(ImVector_ImWchar* p);
|
||||||
|
|
||||||
|
#ifdef IMGUI_HAS_DOCK
|
||||||
|
CIMGUI_API void ImGuiPlatformIO_Set_Platform_GetWindowPos(ImGuiPlatformIO* platform_io, void(*user_callback)(ImGuiViewport* vp, ImVec2* out_pos));
|
||||||
|
CIMGUI_API void ImGuiPlatformIO_Set_Platform_GetWindowSize(ImGuiPlatformIO* platform_io, void(*user_callback)(ImGuiViewport* vp, ImVec2* out_size));
|
||||||
|
#endif
|
||||||
|
|
||||||
#endif //CIMGUI_INCLUDED
|
#endif //CIMGUI_INCLUDED
|
||||||
|
|
||||||
|
@@ -751,6 +751,8 @@ local function parseFunction(self,stname,itt,namespace,locat)
|
|||||||
local argsTa2 = {}
|
local argsTa2 = {}
|
||||||
local noname_counter = 0
|
local noname_counter = 0
|
||||||
for i,ar in ipairs(argsTa) do
|
for i,ar in ipairs(argsTa) do
|
||||||
|
--avoid var name without space type&name -> type& name
|
||||||
|
ar = ar:gsub("&(%S)","& %1")
|
||||||
local typ,name,retf,sigf,reftoptr,defa,ar1
|
local typ,name,retf,sigf,reftoptr,defa,ar1
|
||||||
local has_cdecl = ar:match"__cdecl"
|
local has_cdecl = ar:match"__cdecl"
|
||||||
if has_cdecl then ar = ar:gsub("__cdecl","") end
|
if has_cdecl then ar = ar:gsub("__cdecl","") end
|
||||||
|
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@@ -163,19 +163,19 @@ igImTrunc 2
|
|||||||
2 ImVec2 igImTrunc_Vec2 (const ImVec2)
|
2 ImVec2 igImTrunc_Vec2 (const ImVec2)
|
||||||
igIsKeyChordPressed 2
|
igIsKeyChordPressed 2
|
||||||
1 bool igIsKeyChordPressed_Nil (ImGuiKeyChord)
|
1 bool igIsKeyChordPressed_Nil (ImGuiKeyChord)
|
||||||
2 bool igIsKeyChordPressed_ID (ImGuiKeyChord,ImGuiID,ImGuiInputFlags)
|
2 bool igIsKeyChordPressed_InputFlags (ImGuiKeyChord,ImGuiInputFlags,ImGuiID)
|
||||||
igIsKeyDown 2
|
igIsKeyDown 2
|
||||||
1 bool igIsKeyDown_Nil (ImGuiKey)
|
1 bool igIsKeyDown_Nil (ImGuiKey)
|
||||||
2 bool igIsKeyDown_ID (ImGuiKey,ImGuiID)
|
2 bool igIsKeyDown_ID (ImGuiKey,ImGuiID)
|
||||||
igIsKeyPressed 2
|
igIsKeyPressed 2
|
||||||
1 bool igIsKeyPressed_Bool (ImGuiKey,bool)
|
1 bool igIsKeyPressed_Bool (ImGuiKey,bool)
|
||||||
2 bool igIsKeyPressed_ID (ImGuiKey,ImGuiID,ImGuiInputFlags)
|
2 bool igIsKeyPressed_InputFlags (ImGuiKey,ImGuiInputFlags,ImGuiID)
|
||||||
igIsKeyReleased 2
|
igIsKeyReleased 2
|
||||||
1 bool igIsKeyReleased_Nil (ImGuiKey)
|
1 bool igIsKeyReleased_Nil (ImGuiKey)
|
||||||
2 bool igIsKeyReleased_ID (ImGuiKey,ImGuiID)
|
2 bool igIsKeyReleased_ID (ImGuiKey,ImGuiID)
|
||||||
igIsMouseClicked 2
|
igIsMouseClicked 2
|
||||||
1 bool igIsMouseClicked_Bool (ImGuiMouseButton,bool)
|
1 bool igIsMouseClicked_Bool (ImGuiMouseButton,bool)
|
||||||
2 bool igIsMouseClicked_ID (ImGuiMouseButton,ImGuiID,ImGuiInputFlags)
|
2 bool igIsMouseClicked_InputFlags (ImGuiMouseButton,ImGuiInputFlags,ImGuiID)
|
||||||
igIsMouseDoubleClicked 2
|
igIsMouseDoubleClicked 2
|
||||||
1 bool igIsMouseDoubleClicked_Nil (ImGuiMouseButton)
|
1 bool igIsMouseDoubleClicked_Nil (ImGuiMouseButton)
|
||||||
2 bool igIsMouseDoubleClicked_ID (ImGuiMouseButton,ImGuiID)
|
2 bool igIsMouseDoubleClicked_ID (ImGuiMouseButton,ImGuiID)
|
||||||
@@ -256,6 +256,9 @@ igSetWindowSize 3
|
|||||||
1 void igSetWindowSize_Vec2 (const ImVec2,ImGuiCond)
|
1 void igSetWindowSize_Vec2 (const ImVec2,ImGuiCond)
|
||||||
2 void igSetWindowSize_Str (const char*,const ImVec2,ImGuiCond)
|
2 void igSetWindowSize_Str (const char*,const ImVec2,ImGuiCond)
|
||||||
3 void igSetWindowSize_WindowPtr (ImGuiWindow*,const ImVec2,ImGuiCond)
|
3 void igSetWindowSize_WindowPtr (ImGuiWindow*,const ImVec2,ImGuiCond)
|
||||||
|
igShortcut 2
|
||||||
|
1 bool igShortcut_Nil (ImGuiKeyChord,ImGuiInputFlags)
|
||||||
|
2 bool igShortcut_ID (ImGuiKeyChord,ImGuiInputFlags,ImGuiID)
|
||||||
igTabItemCalcSize 2
|
igTabItemCalcSize 2
|
||||||
1 ImVec2 igTabItemCalcSize_Str (const char*,bool)
|
1 ImVec2 igTabItemCalcSize_Str (const char*,bool)
|
||||||
2 ImVec2 igTabItemCalcSize_WindowPtr (ImGuiWindow*)
|
2 ImVec2 igTabItemCalcSize_WindowPtr (ImGuiWindow*)
|
||||||
@@ -287,4 +290,4 @@ igValue 4
|
|||||||
2 void igValue_Int (const char*,int)
|
2 void igValue_Int (const char*,int)
|
||||||
3 void igValue_Uint (const char*,unsigned int)
|
3 void igValue_Uint (const char*,unsigned int)
|
||||||
4 void igValue_Float (const char*,float,const char*)
|
4 void igValue_Float (const char*,float,const char*)
|
||||||
201 overloaded
|
203 overloaded
|
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@@ -42,12 +42,11 @@
|
|||||||
"ImGuiDataAuthority": "int",
|
"ImGuiDataAuthority": "int",
|
||||||
"ImGuiDataType": "int",
|
"ImGuiDataType": "int",
|
||||||
"ImGuiDataTypeInfo": "struct ImGuiDataTypeInfo",
|
"ImGuiDataTypeInfo": "struct ImGuiDataTypeInfo",
|
||||||
"ImGuiDataTypeTempStorage": "struct ImGuiDataTypeTempStorage",
|
"ImGuiDataTypeStorage": "struct ImGuiDataTypeStorage",
|
||||||
"ImGuiDataVarInfo": "struct ImGuiDataVarInfo",
|
"ImGuiDataVarInfo": "struct ImGuiDataVarInfo",
|
||||||
"ImGuiDebugAllocEntry": "struct ImGuiDebugAllocEntry",
|
"ImGuiDebugAllocEntry": "struct ImGuiDebugAllocEntry",
|
||||||
"ImGuiDebugAllocInfo": "struct ImGuiDebugAllocInfo",
|
"ImGuiDebugAllocInfo": "struct ImGuiDebugAllocInfo",
|
||||||
"ImGuiDebugLogFlags": "int",
|
"ImGuiDebugLogFlags": "int",
|
||||||
"ImGuiDir": "int",
|
|
||||||
"ImGuiDockContext": "struct ImGuiDockContext",
|
"ImGuiDockContext": "struct ImGuiDockContext",
|
||||||
"ImGuiDockNode": "struct ImGuiDockNode",
|
"ImGuiDockNode": "struct ImGuiDockNode",
|
||||||
"ImGuiDockNodeFlags": "int",
|
"ImGuiDockNodeFlags": "int",
|
||||||
@@ -126,7 +125,6 @@
|
|||||||
"ImGuiSizeCallback": "void(*)(ImGuiSizeCallbackData* data);",
|
"ImGuiSizeCallback": "void(*)(ImGuiSizeCallbackData* data);",
|
||||||
"ImGuiSizeCallbackData": "struct ImGuiSizeCallbackData",
|
"ImGuiSizeCallbackData": "struct ImGuiSizeCallbackData",
|
||||||
"ImGuiSliderFlags": "int",
|
"ImGuiSliderFlags": "int",
|
||||||
"ImGuiSortDirection": "int",
|
|
||||||
"ImGuiStackLevelInfo": "struct ImGuiStackLevelInfo",
|
"ImGuiStackLevelInfo": "struct ImGuiStackLevelInfo",
|
||||||
"ImGuiStackSizes": "struct ImGuiStackSizes",
|
"ImGuiStackSizes": "struct ImGuiStackSizes",
|
||||||
"ImGuiStorage": "struct ImGuiStorage",
|
"ImGuiStorage": "struct ImGuiStorage",
|
||||||
@@ -149,6 +147,7 @@
|
|||||||
"ImGuiTableColumnsSettings": "struct ImGuiTableColumnsSettings",
|
"ImGuiTableColumnsSettings": "struct ImGuiTableColumnsSettings",
|
||||||
"ImGuiTableDrawChannelIdx": "ImU16",
|
"ImGuiTableDrawChannelIdx": "ImU16",
|
||||||
"ImGuiTableFlags": "int",
|
"ImGuiTableFlags": "int",
|
||||||
|
"ImGuiTableHeaderData": "struct ImGuiTableHeaderData",
|
||||||
"ImGuiTableInstanceData": "struct ImGuiTableInstanceData",
|
"ImGuiTableInstanceData": "struct ImGuiTableInstanceData",
|
||||||
"ImGuiTableRowFlags": "int",
|
"ImGuiTableRowFlags": "int",
|
||||||
"ImGuiTableSettings": "struct ImGuiTableSettings",
|
"ImGuiTableSettings": "struct ImGuiTableSettings",
|
||||||
@@ -171,6 +170,7 @@
|
|||||||
"ImGuiWindowClass": "struct ImGuiWindowClass",
|
"ImGuiWindowClass": "struct ImGuiWindowClass",
|
||||||
"ImGuiWindowDockStyle": "struct ImGuiWindowDockStyle",
|
"ImGuiWindowDockStyle": "struct ImGuiWindowDockStyle",
|
||||||
"ImGuiWindowFlags": "int",
|
"ImGuiWindowFlags": "int",
|
||||||
|
"ImGuiWindowRefreshFlags": "int",
|
||||||
"ImGuiWindowSettings": "struct ImGuiWindowSettings",
|
"ImGuiWindowSettings": "struct ImGuiWindowSettings",
|
||||||
"ImGuiWindowStackData": "struct ImGuiWindowStackData",
|
"ImGuiWindowStackData": "struct ImGuiWindowStackData",
|
||||||
"ImGuiWindowTempData": "struct ImGuiWindowTempData",
|
"ImGuiWindowTempData": "struct ImGuiWindowTempData",
|
||||||
|
@@ -42,12 +42,11 @@ defs["ImGuiContextHookCallback"] = "void(*)(ImGuiContext* ctx,ImGuiContextHook*
|
|||||||
defs["ImGuiDataAuthority"] = "int"
|
defs["ImGuiDataAuthority"] = "int"
|
||||||
defs["ImGuiDataType"] = "int"
|
defs["ImGuiDataType"] = "int"
|
||||||
defs["ImGuiDataTypeInfo"] = "struct ImGuiDataTypeInfo"
|
defs["ImGuiDataTypeInfo"] = "struct ImGuiDataTypeInfo"
|
||||||
defs["ImGuiDataTypeTempStorage"] = "struct ImGuiDataTypeTempStorage"
|
defs["ImGuiDataTypeStorage"] = "struct ImGuiDataTypeStorage"
|
||||||
defs["ImGuiDataVarInfo"] = "struct ImGuiDataVarInfo"
|
defs["ImGuiDataVarInfo"] = "struct ImGuiDataVarInfo"
|
||||||
defs["ImGuiDebugAllocEntry"] = "struct ImGuiDebugAllocEntry"
|
defs["ImGuiDebugAllocEntry"] = "struct ImGuiDebugAllocEntry"
|
||||||
defs["ImGuiDebugAllocInfo"] = "struct ImGuiDebugAllocInfo"
|
defs["ImGuiDebugAllocInfo"] = "struct ImGuiDebugAllocInfo"
|
||||||
defs["ImGuiDebugLogFlags"] = "int"
|
defs["ImGuiDebugLogFlags"] = "int"
|
||||||
defs["ImGuiDir"] = "int"
|
|
||||||
defs["ImGuiDockContext"] = "struct ImGuiDockContext"
|
defs["ImGuiDockContext"] = "struct ImGuiDockContext"
|
||||||
defs["ImGuiDockNode"] = "struct ImGuiDockNode"
|
defs["ImGuiDockNode"] = "struct ImGuiDockNode"
|
||||||
defs["ImGuiDockNodeFlags"] = "int"
|
defs["ImGuiDockNodeFlags"] = "int"
|
||||||
@@ -126,7 +125,6 @@ defs["ImGuiShrinkWidthItem"] = "struct ImGuiShrinkWidthItem"
|
|||||||
defs["ImGuiSizeCallback"] = "void(*)(ImGuiSizeCallbackData* data);"
|
defs["ImGuiSizeCallback"] = "void(*)(ImGuiSizeCallbackData* data);"
|
||||||
defs["ImGuiSizeCallbackData"] = "struct ImGuiSizeCallbackData"
|
defs["ImGuiSizeCallbackData"] = "struct ImGuiSizeCallbackData"
|
||||||
defs["ImGuiSliderFlags"] = "int"
|
defs["ImGuiSliderFlags"] = "int"
|
||||||
defs["ImGuiSortDirection"] = "int"
|
|
||||||
defs["ImGuiStackLevelInfo"] = "struct ImGuiStackLevelInfo"
|
defs["ImGuiStackLevelInfo"] = "struct ImGuiStackLevelInfo"
|
||||||
defs["ImGuiStackSizes"] = "struct ImGuiStackSizes"
|
defs["ImGuiStackSizes"] = "struct ImGuiStackSizes"
|
||||||
defs["ImGuiStorage"] = "struct ImGuiStorage"
|
defs["ImGuiStorage"] = "struct ImGuiStorage"
|
||||||
@@ -149,6 +147,7 @@ defs["ImGuiTableColumnSortSpecs"] = "struct ImGuiTableColumnSortSpecs"
|
|||||||
defs["ImGuiTableColumnsSettings"] = "struct ImGuiTableColumnsSettings"
|
defs["ImGuiTableColumnsSettings"] = "struct ImGuiTableColumnsSettings"
|
||||||
defs["ImGuiTableDrawChannelIdx"] = "ImU16"
|
defs["ImGuiTableDrawChannelIdx"] = "ImU16"
|
||||||
defs["ImGuiTableFlags"] = "int"
|
defs["ImGuiTableFlags"] = "int"
|
||||||
|
defs["ImGuiTableHeaderData"] = "struct ImGuiTableHeaderData"
|
||||||
defs["ImGuiTableInstanceData"] = "struct ImGuiTableInstanceData"
|
defs["ImGuiTableInstanceData"] = "struct ImGuiTableInstanceData"
|
||||||
defs["ImGuiTableRowFlags"] = "int"
|
defs["ImGuiTableRowFlags"] = "int"
|
||||||
defs["ImGuiTableSettings"] = "struct ImGuiTableSettings"
|
defs["ImGuiTableSettings"] = "struct ImGuiTableSettings"
|
||||||
@@ -171,6 +170,7 @@ defs["ImGuiWindow"] = "struct ImGuiWindow"
|
|||||||
defs["ImGuiWindowClass"] = "struct ImGuiWindowClass"
|
defs["ImGuiWindowClass"] = "struct ImGuiWindowClass"
|
||||||
defs["ImGuiWindowDockStyle"] = "struct ImGuiWindowDockStyle"
|
defs["ImGuiWindowDockStyle"] = "struct ImGuiWindowDockStyle"
|
||||||
defs["ImGuiWindowFlags"] = "int"
|
defs["ImGuiWindowFlags"] = "int"
|
||||||
|
defs["ImGuiWindowRefreshFlags"] = "int"
|
||||||
defs["ImGuiWindowSettings"] = "struct ImGuiWindowSettings"
|
defs["ImGuiWindowSettings"] = "struct ImGuiWindowSettings"
|
||||||
defs["ImGuiWindowStackData"] = "struct ImGuiWindowStackData"
|
defs["ImGuiWindowStackData"] = "struct ImGuiWindowStackData"
|
||||||
defs["ImGuiWindowTempData"] = "struct ImGuiWindowTempData"
|
defs["ImGuiWindowTempData"] = "struct ImGuiWindowTempData"
|
||||||
|
2
imgui
2
imgui
Submodule imgui updated: 1db579d458...6d948ab47e
Reference in New Issue
Block a user