mirror of
https://github.com/cimgui/cimgui.git
synced 2025-08-10 11:58:30 +01:00
pull imgui 1.89 and generate
This commit is contained in:
322
cimgui.cpp
322
cimgui.cpp
@@ -1,5 +1,5 @@
|
||||
//This file is automatically generated by generator.lua from https://github.com/cimgui/cimgui
|
||||
//based on imgui.h file version "1.88" from Dear ImGui https://github.com/ocornut/imgui
|
||||
//based on imgui.h file version "1.89" from Dear ImGui https://github.com/ocornut/imgui
|
||||
//with imgui_internal.h api
|
||||
//docking branch
|
||||
#ifdef IMGUI_ENABLE_FREETYPE
|
||||
@@ -224,6 +224,10 @@ CIMGUI_API void igSetNextWindowFocus()
|
||||
{
|
||||
return ImGui::SetNextWindowFocus();
|
||||
}
|
||||
CIMGUI_API void igSetNextWindowScroll(const ImVec2 scroll)
|
||||
{
|
||||
return ImGui::SetNextWindowScroll(scroll);
|
||||
}
|
||||
CIMGUI_API void igSetNextWindowBgAlpha(float alpha)
|
||||
{
|
||||
return ImGui::SetNextWindowBgAlpha(alpha);
|
||||
@@ -634,14 +638,6 @@ CIMGUI_API bool igArrowButton(const char* str_id,ImGuiDir dir)
|
||||
{
|
||||
return ImGui::ArrowButton(str_id,dir);
|
||||
}
|
||||
CIMGUI_API void igImage(ImTextureID user_texture_id,const ImVec2 size,const ImVec2 uv0,const ImVec2 uv1,const ImVec4 tint_col,const ImVec4 border_col)
|
||||
{
|
||||
return ImGui::Image(user_texture_id,size,uv0,uv1,tint_col,border_col);
|
||||
}
|
||||
CIMGUI_API bool igImageButton(ImTextureID user_texture_id,const ImVec2 size,const ImVec2 uv0,const ImVec2 uv1,int frame_padding,const ImVec4 bg_col,const ImVec4 tint_col)
|
||||
{
|
||||
return ImGui::ImageButton(user_texture_id,size,uv0,uv1,frame_padding,bg_col,tint_col);
|
||||
}
|
||||
CIMGUI_API bool igCheckbox(const char* label,bool* v)
|
||||
{
|
||||
return ImGui::Checkbox(label,v);
|
||||
@@ -670,6 +666,14 @@ CIMGUI_API void igBullet()
|
||||
{
|
||||
return ImGui::Bullet();
|
||||
}
|
||||
CIMGUI_API void igImage(ImTextureID user_texture_id,const ImVec2 size,const ImVec2 uv0,const ImVec2 uv1,const ImVec4 tint_col,const ImVec4 border_col)
|
||||
{
|
||||
return ImGui::Image(user_texture_id,size,uv0,uv1,tint_col,border_col);
|
||||
}
|
||||
CIMGUI_API bool igImageButton(const char* str_id,ImTextureID user_texture_id,const ImVec2 size,const ImVec2 uv0,const ImVec2 uv1,const ImVec4 bg_col,const ImVec4 tint_col)
|
||||
{
|
||||
return ImGui::ImageButton(str_id,user_texture_id,size,uv0,uv1,bg_col,tint_col);
|
||||
}
|
||||
CIMGUI_API bool igBeginCombo(const char* label,const char* preview_value,ImGuiComboFlags flags)
|
||||
{
|
||||
return ImGui::BeginCombo(label,preview_value,flags);
|
||||
@@ -1481,15 +1485,15 @@ CIMGUI_API void igColorConvertHSVtoRGB(float h,float s,float v,float* out_r,floa
|
||||
{
|
||||
return ImGui::ColorConvertHSVtoRGB(h,s,v,*out_r,*out_g,*out_b);
|
||||
}
|
||||
CIMGUI_API bool igIsKeyDown(ImGuiKey key)
|
||||
CIMGUI_API bool igIsKeyDown_Nil(ImGuiKey key)
|
||||
{
|
||||
return ImGui::IsKeyDown(key);
|
||||
}
|
||||
CIMGUI_API bool igIsKeyPressed(ImGuiKey key,bool repeat)
|
||||
CIMGUI_API bool igIsKeyPressed_Bool(ImGuiKey key,bool repeat)
|
||||
{
|
||||
return ImGui::IsKeyPressed(key,repeat);
|
||||
}
|
||||
CIMGUI_API bool igIsKeyReleased(ImGuiKey key)
|
||||
CIMGUI_API bool igIsKeyReleased_Nil(ImGuiKey key)
|
||||
{
|
||||
return ImGui::IsKeyReleased(key);
|
||||
}
|
||||
@@ -1505,15 +1509,15 @@ CIMGUI_API void igSetNextFrameWantCaptureKeyboard(bool want_capture_keyboard)
|
||||
{
|
||||
return ImGui::SetNextFrameWantCaptureKeyboard(want_capture_keyboard);
|
||||
}
|
||||
CIMGUI_API bool igIsMouseDown(ImGuiMouseButton button)
|
||||
CIMGUI_API bool igIsMouseDown_Nil(ImGuiMouseButton button)
|
||||
{
|
||||
return ImGui::IsMouseDown(button);
|
||||
}
|
||||
CIMGUI_API bool igIsMouseClicked(ImGuiMouseButton button,bool repeat)
|
||||
CIMGUI_API bool igIsMouseClicked_Bool(ImGuiMouseButton button,bool repeat)
|
||||
{
|
||||
return ImGui::IsMouseClicked(button,repeat);
|
||||
}
|
||||
CIMGUI_API bool igIsMouseReleased(ImGuiMouseButton button)
|
||||
CIMGUI_API bool igIsMouseReleased_Nil(ImGuiMouseButton button)
|
||||
{
|
||||
return ImGui::IsMouseReleased(button);
|
||||
}
|
||||
@@ -2065,7 +2069,7 @@ CIMGUI_API void ImDrawListSplitter_SetCurrentChannel(ImDrawListSplitter* self,Im
|
||||
{
|
||||
return self->SetCurrentChannel(draw_list,channel_idx);
|
||||
}
|
||||
CIMGUI_API ImDrawList* ImDrawList_ImDrawList(const ImDrawListSharedData* shared_data)
|
||||
CIMGUI_API ImDrawList* ImDrawList_ImDrawList(ImDrawListSharedData* shared_data)
|
||||
{
|
||||
return IM_NEW(ImDrawList)(shared_data);
|
||||
}
|
||||
@@ -2469,6 +2473,10 @@ CIMGUI_API const ImWchar* ImFontAtlas_GetGlyphRangesDefault(ImFontAtlas* self)
|
||||
{
|
||||
return self->GetGlyphRangesDefault();
|
||||
}
|
||||
CIMGUI_API const ImWchar* ImFontAtlas_GetGlyphRangesGreek(ImFontAtlas* self)
|
||||
{
|
||||
return self->GetGlyphRangesGreek();
|
||||
}
|
||||
CIMGUI_API const ImWchar* ImFontAtlas_GetGlyphRangesKorean(ImFontAtlas* self)
|
||||
{
|
||||
return self->GetGlyphRangesKorean();
|
||||
@@ -2629,7 +2637,7 @@ CIMGUI_API void ImGuiPlatformImeData_destroy(ImGuiPlatformImeData* self)
|
||||
{
|
||||
IM_DELETE(self);
|
||||
}
|
||||
CIMGUI_API int igGetKeyIndex(ImGuiKey key)
|
||||
CIMGUI_API ImGuiKey igGetKeyIndex(ImGuiKey key)
|
||||
{
|
||||
return ImGui::GetKeyIndex(key);
|
||||
}
|
||||
@@ -2709,6 +2717,10 @@ CIMGUI_API const char* igImStrSkipBlank(const char* str)
|
||||
{
|
||||
return ImStrSkipBlank(str);
|
||||
}
|
||||
CIMGUI_API char igImToUpper(char c)
|
||||
{
|
||||
return ImToUpper(c);
|
||||
}
|
||||
CIMGUI_API bool igImCharIsBlankA(char c)
|
||||
{
|
||||
return ImCharIsBlankA(c);
|
||||
@@ -3160,6 +3172,26 @@ CIMGUI_API void ImBitVector_ClearBit(ImBitVector* self,int n)
|
||||
{
|
||||
return self->ClearBit(n);
|
||||
}
|
||||
CIMGUI_API void ImGuiTextIndex_clear(ImGuiTextIndex* self)
|
||||
{
|
||||
return self->clear();
|
||||
}
|
||||
CIMGUI_API int ImGuiTextIndex_size(ImGuiTextIndex* self)
|
||||
{
|
||||
return self->size();
|
||||
}
|
||||
CIMGUI_API const char* ImGuiTextIndex_get_line_begin(ImGuiTextIndex* self,const char* base,int n)
|
||||
{
|
||||
return self->get_line_begin(base,n);
|
||||
}
|
||||
CIMGUI_API const char* ImGuiTextIndex_get_line_end(ImGuiTextIndex* self,const char* base,int n)
|
||||
{
|
||||
return self->get_line_end(base,n);
|
||||
}
|
||||
CIMGUI_API void ImGuiTextIndex_append(ImGuiTextIndex* self,const char* base,int old_size,int new_size)
|
||||
{
|
||||
return self->append(base,old_size,new_size);
|
||||
}
|
||||
CIMGUI_API ImDrawListSharedData* ImDrawListSharedData_ImDrawListSharedData(void)
|
||||
{
|
||||
return IM_NEW(ImDrawListSharedData)();
|
||||
@@ -3368,6 +3400,34 @@ CIMGUI_API void ImGuiInputEvent_destroy(ImGuiInputEvent* self)
|
||||
{
|
||||
IM_DELETE(self);
|
||||
}
|
||||
CIMGUI_API ImGuiKeyRoutingData* ImGuiKeyRoutingData_ImGuiKeyRoutingData(void)
|
||||
{
|
||||
return IM_NEW(ImGuiKeyRoutingData)();
|
||||
}
|
||||
CIMGUI_API void ImGuiKeyRoutingData_destroy(ImGuiKeyRoutingData* self)
|
||||
{
|
||||
IM_DELETE(self);
|
||||
}
|
||||
CIMGUI_API ImGuiKeyRoutingTable* ImGuiKeyRoutingTable_ImGuiKeyRoutingTable(void)
|
||||
{
|
||||
return IM_NEW(ImGuiKeyRoutingTable)();
|
||||
}
|
||||
CIMGUI_API void ImGuiKeyRoutingTable_destroy(ImGuiKeyRoutingTable* self)
|
||||
{
|
||||
IM_DELETE(self);
|
||||
}
|
||||
CIMGUI_API void ImGuiKeyRoutingTable_Clear(ImGuiKeyRoutingTable* self)
|
||||
{
|
||||
return self->Clear();
|
||||
}
|
||||
CIMGUI_API ImGuiKeyOwnerData* ImGuiKeyOwnerData_ImGuiKeyOwnerData(void)
|
||||
{
|
||||
return IM_NEW(ImGuiKeyOwnerData)();
|
||||
}
|
||||
CIMGUI_API void ImGuiKeyOwnerData_destroy(ImGuiKeyOwnerData* self)
|
||||
{
|
||||
IM_DELETE(self);
|
||||
}
|
||||
CIMGUI_API ImGuiListClipperRange ImGuiListClipperRange_FromIndices(int min,int max)
|
||||
{
|
||||
return ImGuiListClipperRange::FromIndices(min,max);
|
||||
@@ -3916,10 +3976,6 @@ CIMGUI_API ImGuiSettingsHandler* igFindSettingsHandler(const char* type_name)
|
||||
{
|
||||
return ImGui::FindSettingsHandler(type_name);
|
||||
}
|
||||
CIMGUI_API void igSetNextWindowScroll(const ImVec2 scroll)
|
||||
{
|
||||
return ImGui::SetNextWindowScroll(scroll);
|
||||
}
|
||||
CIMGUI_API void igSetScrollX_WindowPtr(ImGuiWindow* window,float scroll_x)
|
||||
{
|
||||
return ImGui::SetScrollX(window,scroll_x);
|
||||
@@ -4192,22 +4248,6 @@ CIMGUI_API void igNavMoveRequestTryWrapping(ImGuiWindow* window,ImGuiNavMoveFlag
|
||||
{
|
||||
return ImGui::NavMoveRequestTryWrapping(window,move_flags);
|
||||
}
|
||||
CIMGUI_API const char* igGetNavInputName(ImGuiNavInput n)
|
||||
{
|
||||
return ImGui::GetNavInputName(n);
|
||||
}
|
||||
CIMGUI_API float igGetNavInputAmount(ImGuiNavInput n,ImGuiNavReadMode mode)
|
||||
{
|
||||
return ImGui::GetNavInputAmount(n,mode);
|
||||
}
|
||||
CIMGUI_API void igGetNavInputAmount2d(ImVec2 *pOut,ImGuiNavDirSourceFlags dir_sources,ImGuiNavReadMode mode,float slow_factor,float fast_factor)
|
||||
{
|
||||
*pOut = ImGui::GetNavInputAmount2d(dir_sources,mode,slow_factor,fast_factor);
|
||||
}
|
||||
CIMGUI_API int igCalcTypematicRepeatAmount(float t0,float t1,float repeat_delay,float repeat_rate)
|
||||
{
|
||||
return ImGui::CalcTypematicRepeatAmount(t0,t1,repeat_delay,repeat_rate);
|
||||
}
|
||||
CIMGUI_API void igActivateItem(ImGuiID id)
|
||||
{
|
||||
return ImGui::ActivateItem(id);
|
||||
@@ -4220,26 +4260,14 @@ CIMGUI_API void igSetNavID(ImGuiID id,ImGuiNavLayer nav_layer,ImGuiID focus_scop
|
||||
{
|
||||
return ImGui::SetNavID(id,nav_layer,focus_scope_id,rect_rel);
|
||||
}
|
||||
CIMGUI_API void igPushFocusScope(ImGuiID id)
|
||||
{
|
||||
return ImGui::PushFocusScope(id);
|
||||
}
|
||||
CIMGUI_API void igPopFocusScope()
|
||||
{
|
||||
return ImGui::PopFocusScope();
|
||||
}
|
||||
CIMGUI_API ImGuiID igGetFocusedFocusScope()
|
||||
{
|
||||
return ImGui::GetFocusedFocusScope();
|
||||
}
|
||||
CIMGUI_API ImGuiID igGetFocusScope()
|
||||
{
|
||||
return ImGui::GetFocusScope();
|
||||
}
|
||||
CIMGUI_API bool igIsNamedKey(ImGuiKey key)
|
||||
{
|
||||
return ImGui::IsNamedKey(key);
|
||||
}
|
||||
CIMGUI_API bool igIsNamedKeyOrModKey(ImGuiKey key)
|
||||
{
|
||||
return ImGui::IsNamedKeyOrModKey(key);
|
||||
}
|
||||
CIMGUI_API bool igIsLegacyKey(ImGuiKey key)
|
||||
{
|
||||
return ImGui::IsLegacyKey(key);
|
||||
@@ -4248,53 +4276,113 @@ CIMGUI_API bool igIsGamepadKey(ImGuiKey key)
|
||||
{
|
||||
return ImGui::IsGamepadKey(key);
|
||||
}
|
||||
CIMGUI_API bool igIsAliasKey(ImGuiKey key)
|
||||
{
|
||||
return ImGui::IsAliasKey(key);
|
||||
}
|
||||
CIMGUI_API ImGuiKey igConvertSingleModFlagToKey(ImGuiKey key)
|
||||
{
|
||||
return ImGui::ConvertSingleModFlagToKey(key);
|
||||
}
|
||||
CIMGUI_API ImGuiKeyData* igGetKeyData(ImGuiKey key)
|
||||
{
|
||||
return ImGui::GetKeyData(key);
|
||||
}
|
||||
CIMGUI_API void igSetItemUsingMouseWheel()
|
||||
CIMGUI_API void igGetKeyChordName(ImGuiKeyChord key_chord,char* out_buf,int out_buf_size)
|
||||
{
|
||||
return ImGui::SetItemUsingMouseWheel();
|
||||
return ImGui::GetKeyChordName(key_chord,out_buf,out_buf_size);
|
||||
}
|
||||
CIMGUI_API void igSetActiveIdUsingNavAndKeys()
|
||||
CIMGUI_API ImGuiKey igMouseButtonToKey(ImGuiMouseButton button)
|
||||
{
|
||||
return ImGui::SetActiveIdUsingNavAndKeys();
|
||||
}
|
||||
CIMGUI_API bool igIsActiveIdUsingNavDir(ImGuiDir dir)
|
||||
{
|
||||
return ImGui::IsActiveIdUsingNavDir(dir);
|
||||
}
|
||||
CIMGUI_API bool igIsActiveIdUsingNavInput(ImGuiNavInput input)
|
||||
{
|
||||
return ImGui::IsActiveIdUsingNavInput(input);
|
||||
}
|
||||
CIMGUI_API bool igIsActiveIdUsingKey(ImGuiKey key)
|
||||
{
|
||||
return ImGui::IsActiveIdUsingKey(key);
|
||||
}
|
||||
CIMGUI_API void igSetActiveIdUsingKey(ImGuiKey key)
|
||||
{
|
||||
return ImGui::SetActiveIdUsingKey(key);
|
||||
return ImGui::MouseButtonToKey(button);
|
||||
}
|
||||
CIMGUI_API bool igIsMouseDragPastThreshold(ImGuiMouseButton button,float lock_threshold)
|
||||
{
|
||||
return ImGui::IsMouseDragPastThreshold(button,lock_threshold);
|
||||
}
|
||||
CIMGUI_API bool igIsNavInputDown(ImGuiNavInput n)
|
||||
CIMGUI_API void igGetKeyVector2d(ImVec2 *pOut,ImGuiKey key_left,ImGuiKey key_right,ImGuiKey key_up,ImGuiKey key_down)
|
||||
{
|
||||
return ImGui::IsNavInputDown(n);
|
||||
*pOut = ImGui::GetKeyVector2d(key_left,key_right,key_up,key_down);
|
||||
}
|
||||
CIMGUI_API bool igIsNavInputTest(ImGuiNavInput n,ImGuiNavReadMode rm)
|
||||
CIMGUI_API float igGetNavTweakPressedAmount(ImGuiAxis axis)
|
||||
{
|
||||
return ImGui::IsNavInputTest(n,rm);
|
||||
return ImGui::GetNavTweakPressedAmount(axis);
|
||||
}
|
||||
CIMGUI_API ImGuiModFlags igGetMergedModFlags()
|
||||
CIMGUI_API int igCalcTypematicRepeatAmount(float t0,float t1,float repeat_delay,float repeat_rate)
|
||||
{
|
||||
return ImGui::GetMergedModFlags();
|
||||
return ImGui::CalcTypematicRepeatAmount(t0,t1,repeat_delay,repeat_rate);
|
||||
}
|
||||
CIMGUI_API bool igIsKeyPressedMap(ImGuiKey key,bool repeat)
|
||||
CIMGUI_API void igGetTypematicRepeatRate(ImGuiInputFlags flags,float* repeat_delay,float* repeat_rate)
|
||||
{
|
||||
return ImGui::IsKeyPressedMap(key,repeat);
|
||||
return ImGui::GetTypematicRepeatRate(flags,repeat_delay,repeat_rate);
|
||||
}
|
||||
CIMGUI_API void igSetActiveIdUsingAllKeyboardKeys()
|
||||
{
|
||||
return ImGui::SetActiveIdUsingAllKeyboardKeys();
|
||||
}
|
||||
CIMGUI_API bool igIsActiveIdUsingNavDir(ImGuiDir dir)
|
||||
{
|
||||
return ImGui::IsActiveIdUsingNavDir(dir);
|
||||
}
|
||||
CIMGUI_API ImGuiID igGetKeyOwner(ImGuiKey key)
|
||||
{
|
||||
return ImGui::GetKeyOwner(key);
|
||||
}
|
||||
CIMGUI_API void igSetKeyOwner(ImGuiKey key,ImGuiID owner_id,ImGuiInputFlags flags)
|
||||
{
|
||||
return ImGui::SetKeyOwner(key,owner_id,flags);
|
||||
}
|
||||
CIMGUI_API void igSetItemKeyOwner(ImGuiKey key,ImGuiInputFlags flags)
|
||||
{
|
||||
return ImGui::SetItemKeyOwner(key,flags);
|
||||
}
|
||||
CIMGUI_API bool igTestKeyOwner(ImGuiKey key,ImGuiID owner_id)
|
||||
{
|
||||
return ImGui::TestKeyOwner(key,owner_id);
|
||||
}
|
||||
CIMGUI_API ImGuiKeyOwnerData* igGetKeyOwnerData(ImGuiKey key)
|
||||
{
|
||||
return ImGui::GetKeyOwnerData(key);
|
||||
}
|
||||
CIMGUI_API bool igIsKeyDown_ID(ImGuiKey key,ImGuiID owner_id)
|
||||
{
|
||||
return ImGui::IsKeyDown(key,owner_id);
|
||||
}
|
||||
CIMGUI_API bool igIsKeyPressed_ID(ImGuiKey key,ImGuiID owner_id,ImGuiInputFlags flags)
|
||||
{
|
||||
return ImGui::IsKeyPressed(key,owner_id,flags);
|
||||
}
|
||||
CIMGUI_API bool igIsKeyReleased_ID(ImGuiKey key,ImGuiID owner_id)
|
||||
{
|
||||
return ImGui::IsKeyReleased(key,owner_id);
|
||||
}
|
||||
CIMGUI_API bool igIsMouseDown_ID(ImGuiMouseButton button,ImGuiID owner_id)
|
||||
{
|
||||
return ImGui::IsMouseDown(button,owner_id);
|
||||
}
|
||||
CIMGUI_API bool igIsMouseClicked_ID(ImGuiMouseButton button,ImGuiID owner_id,ImGuiInputFlags flags)
|
||||
{
|
||||
return ImGui::IsMouseClicked(button,owner_id,flags);
|
||||
}
|
||||
CIMGUI_API bool igIsMouseReleased_ID(ImGuiMouseButton button,ImGuiID owner_id)
|
||||
{
|
||||
return ImGui::IsMouseReleased(button,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)
|
||||
{
|
||||
return ImGui::TestShortcutRouting(key_chord,owner_id);
|
||||
}
|
||||
CIMGUI_API ImGuiKeyRoutingData* igGetShortcutRoutingData(ImGuiKeyChord key_chord)
|
||||
{
|
||||
return ImGui::GetShortcutRoutingData(key_chord);
|
||||
}
|
||||
CIMGUI_API void igDockContextInitialize(ImGuiContext* ctx)
|
||||
{
|
||||
@@ -4340,9 +4428,13 @@ CIMGUI_API void igDockContextQueueUndockNode(ImGuiContext* ctx,ImGuiDockNode* no
|
||||
{
|
||||
return ImGui::DockContextQueueUndockNode(ctx,node);
|
||||
}
|
||||
CIMGUI_API bool igDockContextCalcDropPosForDocking(ImGuiWindow* target,ImGuiDockNode* target_node,ImGuiWindow* payload,ImGuiDir split_dir,bool split_outer,ImVec2* out_pos)
|
||||
CIMGUI_API bool igDockContextCalcDropPosForDocking(ImGuiWindow* target,ImGuiDockNode* target_node,ImGuiWindow* payload_window,ImGuiDockNode* payload_node,ImGuiDir split_dir,bool split_outer,ImVec2* out_pos)
|
||||
{
|
||||
return ImGui::DockContextCalcDropPosForDocking(target,target_node,payload,split_dir,split_outer,out_pos);
|
||||
return ImGui::DockContextCalcDropPosForDocking(target,target_node,payload_window,payload_node,split_dir,split_outer,out_pos);
|
||||
}
|
||||
CIMGUI_API ImGuiDockNode* igDockContextFindNodeByID(ImGuiContext* ctx,ImGuiID id)
|
||||
{
|
||||
return ImGui::DockContextFindNodeByID(ctx,id);
|
||||
}
|
||||
CIMGUI_API bool igDockNodeBeginAmendTabBar(ImGuiDockNode* node)
|
||||
{
|
||||
@@ -4448,6 +4540,18 @@ CIMGUI_API void igDockBuilderFinish(ImGuiID node_id)
|
||||
{
|
||||
return ImGui::DockBuilderFinish(node_id);
|
||||
}
|
||||
CIMGUI_API void igPushFocusScope(ImGuiID id)
|
||||
{
|
||||
return ImGui::PushFocusScope(id);
|
||||
}
|
||||
CIMGUI_API void igPopFocusScope()
|
||||
{
|
||||
return ImGui::PopFocusScope();
|
||||
}
|
||||
CIMGUI_API ImGuiID igGetCurrentFocusScope()
|
||||
{
|
||||
return ImGui::GetCurrentFocusScope();
|
||||
}
|
||||
CIMGUI_API bool igIsDragDropActive()
|
||||
{
|
||||
return ImGui::IsDragDropActive();
|
||||
@@ -4464,6 +4568,10 @@ CIMGUI_API bool igIsDragDropPayloadBeingAccepted()
|
||||
{
|
||||
return ImGui::IsDragDropPayloadBeingAccepted();
|
||||
}
|
||||
CIMGUI_API void igRenderDragDropTargetRect(const ImRect bb)
|
||||
{
|
||||
return ImGui::RenderDragDropTargetRect(bb);
|
||||
}
|
||||
CIMGUI_API void igSetWindowClipRectBeforeSetChannel(ImGuiWindow* window,const ImRect clip_rect)
|
||||
{
|
||||
return ImGui::SetWindowClipRectBeforeSetChannel(window,clip_rect);
|
||||
@@ -4576,6 +4684,10 @@ CIMGUI_API void igTableDrawContextMenu(ImGuiTable* table)
|
||||
{
|
||||
return ImGui::TableDrawContextMenu(table);
|
||||
}
|
||||
CIMGUI_API bool igTableBeginContextMenuPopup(ImGuiTable* table)
|
||||
{
|
||||
return ImGui::TableBeginContextMenuPopup(table);
|
||||
}
|
||||
CIMGUI_API void igTableMergeDrawChannels(ImGuiTable* table)
|
||||
{
|
||||
return ImGui::TableMergeDrawChannels(table);
|
||||
@@ -4728,9 +4840,13 @@ CIMGUI_API bool igTabItemEx(ImGuiTabBar* tab_bar,const char* label,bool* p_open,
|
||||
{
|
||||
return ImGui::TabItemEx(tab_bar,label,p_open,flags,docked_window);
|
||||
}
|
||||
CIMGUI_API void igTabItemCalcSize(ImVec2 *pOut,const char* label,bool has_close_button)
|
||||
CIMGUI_API void igTabItemCalcSize_Str(ImVec2 *pOut,const char* label,bool has_close_button_or_unsaved_marker)
|
||||
{
|
||||
*pOut = ImGui::TabItemCalcSize(label,has_close_button);
|
||||
*pOut = ImGui::TabItemCalcSize(label,has_close_button_or_unsaved_marker);
|
||||
}
|
||||
CIMGUI_API void igTabItemCalcSize_WindowPtr(ImVec2 *pOut,ImGuiWindow* window)
|
||||
{
|
||||
*pOut = ImGui::TabItemCalcSize(window);
|
||||
}
|
||||
CIMGUI_API void igTabItemBackground(ImDrawList* draw_list,const ImRect bb,ImGuiTabItemFlags flags,ImU32 col)
|
||||
{
|
||||
@@ -4844,9 +4960,9 @@ CIMGUI_API bool igScrollbarEx(const ImRect bb,ImGuiID id,ImGuiAxis axis,ImS64* p
|
||||
{
|
||||
return ImGui::ScrollbarEx(bb,id,axis,p_scroll_v,avail_v,contents_v,flags);
|
||||
}
|
||||
CIMGUI_API bool igImageButtonEx(ImGuiID id,ImTextureID texture_id,const ImVec2 size,const ImVec2 uv0,const ImVec2 uv1,const ImVec2 padding,const ImVec4 bg_col,const ImVec4 tint_col)
|
||||
CIMGUI_API bool igImageButtonEx(ImGuiID id,ImTextureID texture_id,const ImVec2 size,const ImVec2 uv0,const ImVec2 uv1,const ImVec4 bg_col,const ImVec4 tint_col)
|
||||
{
|
||||
return ImGui::ImageButtonEx(id,texture_id,size,uv0,uv1,padding,bg_col,tint_col);
|
||||
return ImGui::ImageButtonEx(id,texture_id,size,uv0,uv1,bg_col,tint_col);
|
||||
}
|
||||
CIMGUI_API void igGetWindowScrollbarRect(ImRect *pOut,ImGuiWindow* window,ImGuiAxis axis)
|
||||
{
|
||||
@@ -4896,14 +5012,18 @@ CIMGUI_API bool igTreeNodeBehavior(ImGuiID id,ImGuiTreeNodeFlags flags,const cha
|
||||
{
|
||||
return ImGui::TreeNodeBehavior(id,flags,label,label_end);
|
||||
}
|
||||
CIMGUI_API bool igTreeNodeBehaviorIsOpen(ImGuiID id,ImGuiTreeNodeFlags flags)
|
||||
{
|
||||
return ImGui::TreeNodeBehaviorIsOpen(id,flags);
|
||||
}
|
||||
CIMGUI_API void igTreePushOverrideID(ImGuiID id)
|
||||
{
|
||||
return ImGui::TreePushOverrideID(id);
|
||||
}
|
||||
CIMGUI_API void igTreeNodeSetOpen(ImGuiID id,bool open)
|
||||
{
|
||||
return ImGui::TreeNodeSetOpen(id,open);
|
||||
}
|
||||
CIMGUI_API bool igTreeNodeUpdateNextOpen(ImGuiID id,ImGuiTreeNodeFlags flags)
|
||||
{
|
||||
return ImGui::TreeNodeUpdateNextOpen(id,flags);
|
||||
}
|
||||
CIMGUI_API const ImGuiDataTypeInfo* igDataTypeGetInfo(ImGuiDataType data_type)
|
||||
{
|
||||
return ImGui::DataTypeGetInfo(data_type);
|
||||
@@ -5003,6 +5123,22 @@ CIMGUI_API void igErrorCheckEndWindowRecover(ImGuiErrorLogCallback log_callback,
|
||||
{
|
||||
return ImGui::ErrorCheckEndWindowRecover(log_callback,user_data);
|
||||
}
|
||||
CIMGUI_API void igErrorCheckUsingSetCursorPosToExtendParentBoundaries()
|
||||
{
|
||||
return ImGui::ErrorCheckUsingSetCursorPosToExtendParentBoundaries();
|
||||
}
|
||||
CIMGUI_API void igDebugLocateItem(ImGuiID target_id)
|
||||
{
|
||||
return ImGui::DebugLocateItem(target_id);
|
||||
}
|
||||
CIMGUI_API void igDebugLocateItemOnHover(ImGuiID target_id)
|
||||
{
|
||||
return ImGui::DebugLocateItemOnHover(target_id);
|
||||
}
|
||||
CIMGUI_API void igDebugLocateItemResolveWithLastItem()
|
||||
{
|
||||
return ImGui::DebugLocateItemResolveWithLastItem();
|
||||
}
|
||||
CIMGUI_API void igDebugDrawItemRect(ImU32 col)
|
||||
{
|
||||
return ImGui::DebugDrawItemRect(col);
|
||||
@@ -5087,6 +5223,10 @@ CIMGUI_API void igDebugRenderViewportThumbnail(ImDrawList* draw_list,ImGuiViewpo
|
||||
{
|
||||
return ImGui::DebugRenderViewportThumbnail(draw_list,viewport,bb);
|
||||
}
|
||||
CIMGUI_API bool igIsKeyPressedMap(ImGuiKey key,bool repeat)
|
||||
{
|
||||
return ImGui::IsKeyPressedMap(key,repeat);
|
||||
}
|
||||
CIMGUI_API const ImFontBuilderIO* igImFontAtlasGetBuilderForStbTruetype()
|
||||
{
|
||||
return ImFontAtlasGetBuilderForStbTruetype();
|
||||
|
Reference in New Issue
Block a user