mirror of
https://github.com/cimgui/cimgui.git
synced 2026-02-23 09:56:40 +00:00
Merge branch 'docking_inter'
This commit is contained in:
114
cimgui.cpp
114
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.92.5" 19250 from Dear ImGui https://github.com/ocornut/imgui
|
||||
//based on imgui.h file version "1.92.6" 19261 from Dear ImGui https://github.com/ocornut/imgui
|
||||
//with imgui_internal.h api
|
||||
//with imgui_freetype.h api
|
||||
|
||||
@@ -1617,6 +1617,10 @@ CIMGUI_API ImVec2_c igGetItemRectSize()
|
||||
{
|
||||
return ConvertFromCPP_ImVec2(ImGui::GetItemRectSize());
|
||||
}
|
||||
CIMGUI_API ImGuiItemFlags igGetItemFlags()
|
||||
{
|
||||
return ImGui::GetItemFlags();
|
||||
}
|
||||
CIMGUI_API ImGuiViewport* igGetMainViewport()
|
||||
{
|
||||
return ImGui::GetMainViewport();
|
||||
@@ -1978,6 +1982,10 @@ CIMGUI_API void ImGuiInputTextCallbackData_SelectAll(ImGuiInputTextCallbackData*
|
||||
{
|
||||
return self->SelectAll();
|
||||
}
|
||||
CIMGUI_API void ImGuiInputTextCallbackData_SetSelection(ImGuiInputTextCallbackData* self,int s,int e)
|
||||
{
|
||||
return self->SetSelection(s,e);
|
||||
}
|
||||
CIMGUI_API void ImGuiInputTextCallbackData_ClearSelection(ImGuiInputTextCallbackData* self)
|
||||
{
|
||||
return self->ClearSelection();
|
||||
@@ -2774,6 +2782,14 @@ CIMGUI_API ImFont* ImFontAtlas_AddFontDefault(ImFontAtlas* self,const ImFontConf
|
||||
{
|
||||
return self->AddFontDefault(font_cfg);
|
||||
}
|
||||
CIMGUI_API ImFont* ImFontAtlas_AddFontDefaultVector(ImFontAtlas* self,const ImFontConfig* font_cfg)
|
||||
{
|
||||
return self->AddFontDefaultVector(font_cfg);
|
||||
}
|
||||
CIMGUI_API ImFont* ImFontAtlas_AddFontDefaultBitmap(ImFontAtlas* self,const ImFontConfig* font_cfg)
|
||||
{
|
||||
return self->AddFontDefaultBitmap(font_cfg);
|
||||
}
|
||||
CIMGUI_API ImFont* ImFontAtlas_AddFontFromFileTTF(ImFontAtlas* self,const char* filename,float size_pixels,const ImFontConfig* font_cfg,const ImWchar* glyph_ranges)
|
||||
{
|
||||
return self->AddFontFromFileTTF(filename,size_pixels,font_cfg,glyph_ranges);
|
||||
@@ -3169,6 +3185,22 @@ CIMGUI_API const char* igImTextCalcWordWrapNextLineStart(const char* text,const
|
||||
{
|
||||
return ImTextCalcWordWrapNextLineStart(text,text_end,flags);
|
||||
}
|
||||
CIMGUI_API void igImTextInitClassifiers()
|
||||
{
|
||||
return ImTextInitClassifiers();
|
||||
}
|
||||
CIMGUI_API void igImTextClassifierClear(ImU32* bits,unsigned int codepoint_min,unsigned int codepoint_end,ImWcharClass char_class)
|
||||
{
|
||||
return ImTextClassifierClear(bits,codepoint_min,codepoint_end,char_class);
|
||||
}
|
||||
CIMGUI_API void igImTextClassifierSetCharClass(ImU32* bits,unsigned int codepoint_min,unsigned int codepoint_end,ImWcharClass char_class,unsigned int c)
|
||||
{
|
||||
return ImTextClassifierSetCharClass(bits,codepoint_min,codepoint_end,char_class,c);
|
||||
}
|
||||
CIMGUI_API void igImTextClassifierSetCharClassFromStr(ImU32* bits,unsigned int codepoint_min,unsigned int codepoint_end,ImWcharClass char_class,const char* s)
|
||||
{
|
||||
return ImTextClassifierSetCharClassFromStr(bits,codepoint_min,codepoint_end,char_class,s);
|
||||
}
|
||||
CIMGUI_API ImFileHandle igImFileOpen(const char* filename,const char* mode)
|
||||
{
|
||||
return ImFileOpen(filename,mode);
|
||||
@@ -3521,10 +3553,6 @@ CIMGUI_API void ImRect_ClipWithFull(ImRect* self,const ImRect_c r)
|
||||
{
|
||||
return self->ClipWithFull(ConvertToCPP_ImRect(r));
|
||||
}
|
||||
CIMGUI_API void ImRect_Floor(ImRect* self)
|
||||
{
|
||||
return self->Floor();
|
||||
}
|
||||
CIMGUI_API bool ImRect_IsInverted(ImRect* self)
|
||||
{
|
||||
return self->IsInverted();
|
||||
@@ -3741,6 +3769,10 @@ CIMGUI_API int ImGuiInputTextState_GetSelectionEnd(ImGuiInputTextState* self)
|
||||
{
|
||||
return self->GetSelectionEnd();
|
||||
}
|
||||
CIMGUI_API void ImGuiInputTextState_SetSelection(ImGuiInputTextState* self,int start,int end)
|
||||
{
|
||||
return self->SetSelection(start,end);
|
||||
}
|
||||
CIMGUI_API void ImGuiInputTextState_SelectAll(ImGuiInputTextState* self)
|
||||
{
|
||||
return self->SelectAll();
|
||||
@@ -4161,6 +4193,10 @@ CIMGUI_API ImGuiPlatformIO* igGetPlatformIO_ContextPtr(ImGuiContext* ctx)
|
||||
{
|
||||
return &ImGui::GetPlatformIO(ctx);
|
||||
}
|
||||
CIMGUI_API float igGetScale()
|
||||
{
|
||||
return ImGui::GetScale();
|
||||
}
|
||||
CIMGUI_API ImGuiWindow* igGetCurrentWindowRead()
|
||||
{
|
||||
return ImGui::GetCurrentWindowRead();
|
||||
@@ -4357,6 +4393,22 @@ CIMGUI_API void igShutdown()
|
||||
{
|
||||
return ImGui::Shutdown();
|
||||
}
|
||||
CIMGUI_API void igSetContextName(ImGuiContext* ctx,const char* name)
|
||||
{
|
||||
return ImGui::SetContextName(ctx,name);
|
||||
}
|
||||
CIMGUI_API ImGuiID igAddContextHook(ImGuiContext* ctx,const ImGuiContextHook* hook)
|
||||
{
|
||||
return ImGui::AddContextHook(ctx,hook);
|
||||
}
|
||||
CIMGUI_API void igRemoveContextHook(ImGuiContext* ctx,ImGuiID hook_to_remove)
|
||||
{
|
||||
return ImGui::RemoveContextHook(ctx,hook_to_remove);
|
||||
}
|
||||
CIMGUI_API void igCallContextHooks(ImGuiContext* ctx,ImGuiContextHookType type)
|
||||
{
|
||||
return ImGui::CallContextHooks(ctx,type);
|
||||
}
|
||||
CIMGUI_API void igUpdateInputEvents(bool trickle_fast_inputs)
|
||||
{
|
||||
return ImGui::UpdateInputEvents(trickle_fast_inputs);
|
||||
@@ -4385,17 +4437,9 @@ CIMGUI_API void igUpdateMouseMovingWindowEndFrame()
|
||||
{
|
||||
return ImGui::UpdateMouseMovingWindowEndFrame();
|
||||
}
|
||||
CIMGUI_API ImGuiID igAddContextHook(ImGuiContext* context,const ImGuiContextHook* hook)
|
||||
CIMGUI_API ImGuiViewport* igGetWindowViewport()
|
||||
{
|
||||
return ImGui::AddContextHook(context,hook);
|
||||
}
|
||||
CIMGUI_API void igRemoveContextHook(ImGuiContext* context,ImGuiID hook_to_remove)
|
||||
{
|
||||
return ImGui::RemoveContextHook(context,hook_to_remove);
|
||||
}
|
||||
CIMGUI_API void igCallContextHooks(ImGuiContext* context,ImGuiContextHookType type)
|
||||
{
|
||||
return ImGui::CallContextHooks(context,type);
|
||||
return ImGui::GetWindowViewport();
|
||||
}
|
||||
CIMGUI_API void igScaleWindowsInViewport(ImGuiViewportP* viewport,float scale)
|
||||
{
|
||||
@@ -4489,10 +4533,6 @@ CIMGUI_API ImGuiItemStatusFlags igGetItemStatusFlags()
|
||||
{
|
||||
return ImGui::GetItemStatusFlags();
|
||||
}
|
||||
CIMGUI_API ImGuiItemFlags igGetItemFlags()
|
||||
{
|
||||
return ImGui::GetItemFlags();
|
||||
}
|
||||
CIMGUI_API ImGuiID igGetActiveID()
|
||||
{
|
||||
return ImGui::GetActiveID();
|
||||
@@ -4673,6 +4713,10 @@ CIMGUI_API ImVec2_c igFindBestWindowPosForPopupEx(const ImVec2_c ref_pos,const I
|
||||
{
|
||||
return ConvertFromCPP_ImVec2(ImGui::FindBestWindowPosForPopupEx(ConvertToCPP_ImVec2(ref_pos),ConvertToCPP_ImVec2(size),last_dir,ConvertToCPP_ImRect(r_outer),ConvertToCPP_ImRect(r_avoid),policy));
|
||||
}
|
||||
CIMGUI_API ImGuiMouseButton igGetMouseButtonFromPopupFlags(ImGuiPopupFlags flags)
|
||||
{
|
||||
return ImGui::GetMouseButtonFromPopupFlags(flags);
|
||||
}
|
||||
CIMGUI_API bool igBeginTooltipEx(ImGuiTooltipFlags tooltip_flags,ImGuiWindowFlags extra_window_flags)
|
||||
{
|
||||
return ImGui::BeginTooltipEx(tooltip_flags,extra_window_flags);
|
||||
@@ -5173,6 +5217,10 @@ CIMGUI_API ImGuiID igTableGetInstanceID(ImGuiTable* table,int instance_no)
|
||||
{
|
||||
return ImGui::TableGetInstanceID(table,instance_no);
|
||||
}
|
||||
CIMGUI_API void igTableFixDisplayOrder(ImGuiTable* table)
|
||||
{
|
||||
return ImGui::TableFixDisplayOrder(table);
|
||||
}
|
||||
CIMGUI_API void igTableSortSpecsSanitize(ImGuiTable* table)
|
||||
{
|
||||
return ImGui::TableSortSpecsSanitize(table);
|
||||
@@ -5233,6 +5281,10 @@ CIMGUI_API void igTableSetColumnWidthAutoAll(ImGuiTable* table)
|
||||
{
|
||||
return ImGui::TableSetColumnWidthAutoAll(table);
|
||||
}
|
||||
CIMGUI_API void igTableSetColumnDisplayOrder(ImGuiTable* table,int column_n,int dst_order)
|
||||
{
|
||||
return ImGui::TableSetColumnDisplayOrder(table,column_n,dst_order);
|
||||
}
|
||||
CIMGUI_API void igTableRemove(ImGuiTable* table)
|
||||
{
|
||||
return ImGui::TableRemove(table);
|
||||
@@ -5393,6 +5445,10 @@ CIMGUI_API void igRenderFrameBorder(ImVec2_c p_min,ImVec2_c p_max,float rounding
|
||||
{
|
||||
return ImGui::RenderFrameBorder(ConvertToCPP_ImVec2(p_min),ConvertToCPP_ImVec2(p_max),rounding);
|
||||
}
|
||||
CIMGUI_API void igRenderColorComponentMarker(const ImRect_c bb,ImU32 col,float rounding)
|
||||
{
|
||||
return ImGui::RenderColorComponentMarker(ConvertToCPP_ImRect(bb),col,rounding);
|
||||
}
|
||||
CIMGUI_API void igRenderColorRectWithAlphaCheckerboard(ImDrawList* draw_list,ImVec2_c p_min,ImVec2_c p_max,ImU32 fill_col,float grid_step,ImVec2_c grid_off,float rounding,ImDrawFlags flags)
|
||||
{
|
||||
return ImGui::RenderColorRectWithAlphaCheckerboard(draw_list,ConvertToCPP_ImVec2(p_min),ConvertToCPP_ImVec2(p_max),fill_col,grid_step,ConvertToCPP_ImVec2(grid_off),rounding,flags);
|
||||
@@ -5425,14 +5481,18 @@ CIMGUI_API void igRenderArrowPointingAt(ImDrawList* draw_list,ImVec2_c pos,ImVec
|
||||
{
|
||||
return ImGui::RenderArrowPointingAt(draw_list,ConvertToCPP_ImVec2(pos),ConvertToCPP_ImVec2(half_sz),direction,col);
|
||||
}
|
||||
CIMGUI_API void igRenderRectFilledRangeH(ImDrawList* draw_list,const ImRect_c rect,ImU32 col,float x_start_norm,float x_end_norm,float rounding)
|
||||
CIMGUI_API void igRenderRectFilledInRangeH(ImDrawList* draw_list,const ImRect_c rect,ImU32 col,float fill_x0,float fill_x1,float rounding)
|
||||
{
|
||||
return ImGui::RenderRectFilledRangeH(draw_list,ConvertToCPP_ImRect(rect),col,x_start_norm,x_end_norm,rounding);
|
||||
return ImGui::RenderRectFilledInRangeH(draw_list,ConvertToCPP_ImRect(rect),col,fill_x0,fill_x1,rounding);
|
||||
}
|
||||
CIMGUI_API void igRenderRectFilledWithHole(ImDrawList* draw_list,const ImRect_c outer,const ImRect_c inner,ImU32 col,float rounding)
|
||||
{
|
||||
return ImGui::RenderRectFilledWithHole(draw_list,ConvertToCPP_ImRect(outer),ConvertToCPP_ImRect(inner),col,rounding);
|
||||
}
|
||||
CIMGUI_API ImDrawFlags igCalcRoundingFlagsForRectInRect(const ImRect_c r_in,const ImRect_c r_outer,float threshold)
|
||||
{
|
||||
return ImGui::CalcRoundingFlagsForRectInRect(ConvertToCPP_ImRect(r_in),ConvertToCPP_ImRect(r_outer),threshold);
|
||||
}
|
||||
CIMGUI_API void igTextEx(const char* text,const char* text_end,ImGuiTextFlags flags)
|
||||
{
|
||||
return ImGui::TextEx(text,text_end,flags);
|
||||
@@ -5630,6 +5690,10 @@ CIMGUI_API void igColorPickerOptionsPopup(const float* ref_col,ImGuiColorEditFla
|
||||
{
|
||||
return ImGui::ColorPickerOptionsPopup(ref_col,flags);
|
||||
}
|
||||
CIMGUI_API void igSetNextItemColorMarker(ImU32 col)
|
||||
{
|
||||
return ImGui::SetNextItemColorMarker(col);
|
||||
}
|
||||
CIMGUI_API int igPlotEx(ImGuiPlotType plot_type,const char* label,float(*values_getter)(void* data,int idx),void* data,int values_count,int values_offset,const char* overlay_text,float scale_min,float scale_max,const ImVec2_c size_arg)
|
||||
{
|
||||
return ImGui::PlotEx(plot_type,label,values_getter,data,values_count,values_offset,overlay_text,scale_min,scale_max,ConvertToCPP_ImVec2(size_arg));
|
||||
@@ -5738,6 +5802,10 @@ CIMGUI_API void igShowFontAtlas(ImFontAtlas* atlas)
|
||||
{
|
||||
return ImGui::ShowFontAtlas(atlas);
|
||||
}
|
||||
CIMGUI_API ImU64 igDebugTextureIDToU64(ImTextureID tex_id)
|
||||
{
|
||||
return ImGui::DebugTextureIDToU64(tex_id);
|
||||
}
|
||||
CIMGUI_API void igDebugHookIdInfo(ImGuiID id,ImGuiDataType data_type,const void* data_id,const void* data_id_end)
|
||||
{
|
||||
return ImGui::DebugHookIdInfo(id,data_type,data_id,data_id_end);
|
||||
@@ -5950,6 +6018,10 @@ CIMGUI_API void igImFontAtlasFontDestroyOutput(ImFontAtlas* atlas,ImFont* font)
|
||||
{
|
||||
return ImFontAtlasFontDestroyOutput(atlas,font);
|
||||
}
|
||||
CIMGUI_API void igImFontAtlasFontRebuildOutput(ImFontAtlas* atlas,ImFont* font)
|
||||
{
|
||||
return ImFontAtlasFontRebuildOutput(atlas,font);
|
||||
}
|
||||
CIMGUI_API void igImFontAtlasFontDiscardBakes(ImFontAtlas* atlas,ImFont* font,int unused_frames)
|
||||
{
|
||||
return ImFontAtlasFontDiscardBakes(atlas,font,unused_frames);
|
||||
|
||||
Reference in New Issue
Block a user