mirror of
https://github.com/cimgui/cimgui.git
synced 2026-02-23 01:46:39 +00:00
pull 1.92.6 docking and generate
This commit is contained in:
110
cimgui.cpp
110
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
|
||||
//docking branch
|
||||
@@ -1654,6 +1654,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();
|
||||
@@ -2039,6 +2043,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();
|
||||
@@ -2843,6 +2851,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);
|
||||
@@ -3246,6 +3262,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);
|
||||
@@ -3598,10 +3630,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();
|
||||
@@ -3818,6 +3846,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();
|
||||
@@ -4306,6 +4338,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();
|
||||
@@ -4494,6 +4530,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);
|
||||
@@ -4526,18 +4578,6 @@ CIMGUI_API void igUpdateMouseMovingWindowEndFrame()
|
||||
{
|
||||
return ImGui::UpdateMouseMovingWindowEndFrame();
|
||||
}
|
||||
CIMGUI_API ImGuiID igAddContextHook(ImGuiContext* context,const ImGuiContextHook* hook)
|
||||
{
|
||||
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);
|
||||
}
|
||||
CIMGUI_API void igTranslateWindowsInViewport(ImGuiViewportP* viewport,const ImVec2_c old_pos,const ImVec2_c new_pos,const ImVec2_c old_size,const ImVec2_c new_size)
|
||||
{
|
||||
return ImGui::TranslateWindowsInViewport(viewport,ConvertToCPP_ImVec2(old_pos),ConvertToCPP_ImVec2(new_pos),ConvertToCPP_ImVec2(old_size),ConvertToCPP_ImVec2(new_size));
|
||||
@@ -4650,10 +4690,6 @@ CIMGUI_API ImGuiItemStatusFlags igGetItemStatusFlags()
|
||||
{
|
||||
return ImGui::GetItemStatusFlags();
|
||||
}
|
||||
CIMGUI_API ImGuiItemFlags igGetItemFlags()
|
||||
{
|
||||
return ImGui::GetItemFlags();
|
||||
}
|
||||
CIMGUI_API ImGuiID igGetActiveID()
|
||||
{
|
||||
return ImGui::GetActiveID();
|
||||
@@ -4834,6 +4870,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);
|
||||
@@ -5502,6 +5542,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);
|
||||
@@ -5562,6 +5606,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);
|
||||
@@ -5730,6 +5778,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);
|
||||
@@ -5766,9 +5818,9 @@ CIMGUI_API void igRenderArrowDockMenu(ImDrawList* draw_list,ImVec2_c p_min,float
|
||||
{
|
||||
return ImGui::RenderArrowDockMenu(draw_list,ConvertToCPP_ImVec2(p_min),sz,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)
|
||||
{
|
||||
@@ -5975,6 +6027,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));
|
||||
@@ -6083,6 +6139,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);
|
||||
@@ -6303,6 +6363,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