mirror of
https://github.com/cimgui/cimgui.git
synced 2025-08-10 11:58:30 +01:00
pull imgui 1.90 and generate
This commit is contained in:
314
cimgui.cpp
314
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.89.9" 18990 from Dear ImGui https://github.com/ocornut/imgui
|
||||
//based on imgui.h file version "1.90.0" 19000 from Dear ImGui https://github.com/ocornut/imgui
|
||||
//with imgui_internal.h api
|
||||
//docking branch
|
||||
#ifdef IMGUI_ENABLE_FREETYPE
|
||||
@@ -96,9 +96,9 @@ CIMGUI_API void igShowDebugLogWindow(bool* p_open)
|
||||
{
|
||||
return ImGui::ShowDebugLogWindow(p_open);
|
||||
}
|
||||
CIMGUI_API void igShowStackToolWindow(bool* p_open)
|
||||
CIMGUI_API void igShowIDStackToolWindow(bool* p_open)
|
||||
{
|
||||
return ImGui::ShowStackToolWindow(p_open);
|
||||
return ImGui::ShowIDStackToolWindow(p_open);
|
||||
}
|
||||
CIMGUI_API void igShowAboutWindow(bool* p_open)
|
||||
{
|
||||
@@ -144,13 +144,13 @@ CIMGUI_API void igEnd()
|
||||
{
|
||||
return ImGui::End();
|
||||
}
|
||||
CIMGUI_API bool igBeginChild_Str(const char* str_id,const ImVec2 size,bool border,ImGuiWindowFlags flags)
|
||||
CIMGUI_API bool igBeginChild_Str(const char* str_id,const ImVec2 size,ImGuiChildFlags child_flags,ImGuiWindowFlags window_flags)
|
||||
{
|
||||
return ImGui::BeginChild(str_id,size,border,flags);
|
||||
return ImGui::BeginChild(str_id,size,child_flags,window_flags);
|
||||
}
|
||||
CIMGUI_API bool igBeginChild_ID(ImGuiID id,const ImVec2 size,bool border,ImGuiWindowFlags flags)
|
||||
CIMGUI_API bool igBeginChild_ID(ImGuiID id,const ImVec2 size,ImGuiChildFlags child_flags,ImGuiWindowFlags window_flags)
|
||||
{
|
||||
return ImGui::BeginChild(id,size,border,flags);
|
||||
return ImGui::BeginChild(id,size,child_flags,window_flags);
|
||||
}
|
||||
CIMGUI_API void igEndChild()
|
||||
{
|
||||
@@ -428,6 +428,42 @@ CIMGUI_API const ImVec4* igGetStyleColorVec4(ImGuiCol idx)
|
||||
{
|
||||
return &ImGui::GetStyleColorVec4(idx);
|
||||
}
|
||||
CIMGUI_API void igGetCursorScreenPos(ImVec2 *pOut)
|
||||
{
|
||||
*pOut = ImGui::GetCursorScreenPos();
|
||||
}
|
||||
CIMGUI_API void igSetCursorScreenPos(const ImVec2 pos)
|
||||
{
|
||||
return ImGui::SetCursorScreenPos(pos);
|
||||
}
|
||||
CIMGUI_API void igGetCursorPos(ImVec2 *pOut)
|
||||
{
|
||||
*pOut = ImGui::GetCursorPos();
|
||||
}
|
||||
CIMGUI_API float igGetCursorPosX()
|
||||
{
|
||||
return ImGui::GetCursorPosX();
|
||||
}
|
||||
CIMGUI_API float igGetCursorPosY()
|
||||
{
|
||||
return ImGui::GetCursorPosY();
|
||||
}
|
||||
CIMGUI_API void igSetCursorPos(const ImVec2 local_pos)
|
||||
{
|
||||
return ImGui::SetCursorPos(local_pos);
|
||||
}
|
||||
CIMGUI_API void igSetCursorPosX(float local_x)
|
||||
{
|
||||
return ImGui::SetCursorPosX(local_x);
|
||||
}
|
||||
CIMGUI_API void igSetCursorPosY(float local_y)
|
||||
{
|
||||
return ImGui::SetCursorPosY(local_y);
|
||||
}
|
||||
CIMGUI_API void igGetCursorStartPos(ImVec2 *pOut)
|
||||
{
|
||||
*pOut = ImGui::GetCursorStartPos();
|
||||
}
|
||||
CIMGUI_API void igSeparator()
|
||||
{
|
||||
return ImGui::Separator();
|
||||
@@ -464,42 +500,6 @@ CIMGUI_API void igEndGroup()
|
||||
{
|
||||
return ImGui::EndGroup();
|
||||
}
|
||||
CIMGUI_API void igGetCursorPos(ImVec2 *pOut)
|
||||
{
|
||||
*pOut = ImGui::GetCursorPos();
|
||||
}
|
||||
CIMGUI_API float igGetCursorPosX()
|
||||
{
|
||||
return ImGui::GetCursorPosX();
|
||||
}
|
||||
CIMGUI_API float igGetCursorPosY()
|
||||
{
|
||||
return ImGui::GetCursorPosY();
|
||||
}
|
||||
CIMGUI_API void igSetCursorPos(const ImVec2 local_pos)
|
||||
{
|
||||
return ImGui::SetCursorPos(local_pos);
|
||||
}
|
||||
CIMGUI_API void igSetCursorPosX(float local_x)
|
||||
{
|
||||
return ImGui::SetCursorPosX(local_x);
|
||||
}
|
||||
CIMGUI_API void igSetCursorPosY(float local_y)
|
||||
{
|
||||
return ImGui::SetCursorPosY(local_y);
|
||||
}
|
||||
CIMGUI_API void igGetCursorStartPos(ImVec2 *pOut)
|
||||
{
|
||||
*pOut = ImGui::GetCursorStartPos();
|
||||
}
|
||||
CIMGUI_API void igGetCursorScreenPos(ImVec2 *pOut)
|
||||
{
|
||||
*pOut = ImGui::GetCursorScreenPos();
|
||||
}
|
||||
CIMGUI_API void igSetCursorScreenPos(const ImVec2 pos)
|
||||
{
|
||||
return ImGui::SetCursorScreenPos(pos);
|
||||
}
|
||||
CIMGUI_API void igAlignTextToFramePadding()
|
||||
{
|
||||
return ImGui::AlignTextToFramePadding();
|
||||
@@ -674,9 +674,9 @@ CIMGUI_API void igImage(ImTextureID user_texture_id,const ImVec2 size,const ImVe
|
||||
{
|
||||
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)
|
||||
CIMGUI_API bool igImageButton(const char* str_id,ImTextureID user_texture_id,const ImVec2 image_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);
|
||||
return ImGui::ImageButton(str_id,user_texture_id,image_size,uv0,uv1,bg_col,tint_col);
|
||||
}
|
||||
CIMGUI_API bool igBeginCombo(const char* label,const char* preview_value,ImGuiComboFlags flags)
|
||||
{
|
||||
@@ -694,9 +694,9 @@ CIMGUI_API bool igCombo_Str(const char* label,int* current_item,const char* item
|
||||
{
|
||||
return ImGui::Combo(label,current_item,items_separated_by_zeros,popup_max_height_in_items);
|
||||
}
|
||||
CIMGUI_API bool igCombo_FnBoolPtr(const char* label,int* current_item,bool(*items_getter)(void* data,int idx,const char** out_text),void* data,int items_count,int popup_max_height_in_items)
|
||||
CIMGUI_API bool igCombo_FnStrPtr(const char* label,int* current_item,const char*(*getter)(void* user_data,int idx),void* user_data,int items_count,int popup_max_height_in_items)
|
||||
{
|
||||
return ImGui::Combo(label,current_item,items_getter,data,items_count,popup_max_height_in_items);
|
||||
return ImGui::Combo(label,current_item,getter,user_data,items_count,popup_max_height_in_items);
|
||||
}
|
||||
CIMGUI_API bool igDragFloat(const char* label,float* v,float v_speed,float v_min,float v_max,const char* format,ImGuiSliderFlags flags)
|
||||
{
|
||||
@@ -986,9 +986,9 @@ CIMGUI_API bool igListBox_Str_arr(const char* label,int* current_item,const char
|
||||
{
|
||||
return ImGui::ListBox(label,current_item,items,items_count,height_in_items);
|
||||
}
|
||||
CIMGUI_API bool igListBox_FnBoolPtr(const char* label,int* current_item,bool(*items_getter)(void* data,int idx,const char** out_text),void* data,int items_count,int height_in_items)
|
||||
CIMGUI_API bool igListBox_FnStrPtr(const char* label,int* current_item,const char*(*getter)(void* user_data,int idx),void* user_data,int items_count,int height_in_items)
|
||||
{
|
||||
return ImGui::ListBox(label,current_item,items_getter,data,items_count,height_in_items);
|
||||
return ImGui::ListBox(label,current_item,getter,user_data,items_count,height_in_items);
|
||||
}
|
||||
CIMGUI_API void igPlotLines_FloatPtr(const char* label,const float* values,int values_count,int values_offset,const char* overlay_text,float scale_min,float scale_max,ImVec2 graph_size,int stride)
|
||||
{
|
||||
@@ -1160,13 +1160,17 @@ CIMGUI_API void igTableSetupScrollFreeze(int cols,int rows)
|
||||
{
|
||||
return ImGui::TableSetupScrollFreeze(cols,rows);
|
||||
}
|
||||
CIMGUI_API void igTableHeader(const char* label)
|
||||
{
|
||||
return ImGui::TableHeader(label);
|
||||
}
|
||||
CIMGUI_API void igTableHeadersRow()
|
||||
{
|
||||
return ImGui::TableHeadersRow();
|
||||
}
|
||||
CIMGUI_API void igTableHeader(const char* label)
|
||||
CIMGUI_API void igTableAngledHeadersRow()
|
||||
{
|
||||
return ImGui::TableHeader(label);
|
||||
return ImGui::TableAngledHeadersRow();
|
||||
}
|
||||
CIMGUI_API ImGuiTableSortSpecs* igTableGetSortSpecs()
|
||||
{
|
||||
@@ -1480,14 +1484,6 @@ CIMGUI_API ImGuiStorage* igGetStateStorage()
|
||||
{
|
||||
return ImGui::GetStateStorage();
|
||||
}
|
||||
CIMGUI_API bool igBeginChildFrame(ImGuiID id,const ImVec2 size,ImGuiWindowFlags flags)
|
||||
{
|
||||
return ImGui::BeginChildFrame(id,size,flags);
|
||||
}
|
||||
CIMGUI_API void igEndChildFrame()
|
||||
{
|
||||
return ImGui::EndChildFrame();
|
||||
}
|
||||
CIMGUI_API void igCalcTextSize(ImVec2 *pOut,const char* text,const char* text_end,bool hide_text_after_double_hash,float wrap_width)
|
||||
{
|
||||
*pOut = ImGui::CalcTextSize(text,text_end,hide_text_after_double_hash,wrap_width);
|
||||
@@ -1520,6 +1516,10 @@ CIMGUI_API bool igIsKeyReleased_Nil(ImGuiKey key)
|
||||
{
|
||||
return ImGui::IsKeyReleased(key);
|
||||
}
|
||||
CIMGUI_API bool igIsKeyChordPressed_Nil(ImGuiKeyChord key_chord)
|
||||
{
|
||||
return ImGui::IsKeyChordPressed(key_chord);
|
||||
}
|
||||
CIMGUI_API int igGetKeyPressedAmount(ImGuiKey key,float repeat_delay,float rate)
|
||||
{
|
||||
return ImGui::GetKeyPressedAmount(key,repeat_delay,rate);
|
||||
@@ -1544,7 +1544,7 @@ CIMGUI_API bool igIsMouseReleased_Nil(ImGuiMouseButton button)
|
||||
{
|
||||
return ImGui::IsMouseReleased(button);
|
||||
}
|
||||
CIMGUI_API bool igIsMouseDoubleClicked(ImGuiMouseButton button)
|
||||
CIMGUI_API bool igIsMouseDoubleClicked_Nil(ImGuiMouseButton button)
|
||||
{
|
||||
return ImGui::IsMouseDoubleClicked(button);
|
||||
}
|
||||
@@ -1924,21 +1924,21 @@ CIMGUI_API void ImGuiTextBuffer_appendfv(ImGuiTextBuffer* self,const char* fmt,v
|
||||
{
|
||||
return self->appendfv(fmt,args);
|
||||
}
|
||||
CIMGUI_API ImGuiStoragePair* ImGuiStoragePair_ImGuiStoragePair_Int(ImGuiID _key,int _val_i)
|
||||
CIMGUI_API ImGuiStoragePair* ImGuiStoragePair_ImGuiStoragePair_Int(ImGuiID _key,int _val)
|
||||
{
|
||||
return IM_NEW(ImGuiStoragePair)(_key,_val_i);
|
||||
return IM_NEW(ImGuiStoragePair)(_key,_val);
|
||||
}
|
||||
CIMGUI_API void ImGuiStoragePair_destroy(ImGuiStoragePair* self)
|
||||
{
|
||||
IM_DELETE(self);
|
||||
}
|
||||
CIMGUI_API ImGuiStoragePair* ImGuiStoragePair_ImGuiStoragePair_Float(ImGuiID _key,float _val_f)
|
||||
CIMGUI_API ImGuiStoragePair* ImGuiStoragePair_ImGuiStoragePair_Float(ImGuiID _key,float _val)
|
||||
{
|
||||
return IM_NEW(ImGuiStoragePair)(_key,_val_f);
|
||||
return IM_NEW(ImGuiStoragePair)(_key,_val);
|
||||
}
|
||||
CIMGUI_API ImGuiStoragePair* ImGuiStoragePair_ImGuiStoragePair_Ptr(ImGuiID _key,void* _val_p)
|
||||
CIMGUI_API ImGuiStoragePair* ImGuiStoragePair_ImGuiStoragePair_Ptr(ImGuiID _key,void* _val)
|
||||
{
|
||||
return IM_NEW(ImGuiStoragePair)(_key,_val_p);
|
||||
return IM_NEW(ImGuiStoragePair)(_key,_val);
|
||||
}
|
||||
CIMGUI_API void ImGuiStorage_Clear(ImGuiStorage* self)
|
||||
{
|
||||
@@ -1992,14 +1992,14 @@ CIMGUI_API void** ImGuiStorage_GetVoidPtrRef(ImGuiStorage* self,ImGuiID key,void
|
||||
{
|
||||
return self->GetVoidPtrRef(key,default_val);
|
||||
}
|
||||
CIMGUI_API void ImGuiStorage_SetAllInt(ImGuiStorage* self,int val)
|
||||
{
|
||||
return self->SetAllInt(val);
|
||||
}
|
||||
CIMGUI_API void ImGuiStorage_BuildSortByKey(ImGuiStorage* self)
|
||||
{
|
||||
return self->BuildSortByKey();
|
||||
}
|
||||
CIMGUI_API void ImGuiStorage_SetAllInt(ImGuiStorage* self,int val)
|
||||
{
|
||||
return self->SetAllInt(val);
|
||||
}
|
||||
CIMGUI_API ImGuiListClipper* ImGuiListClipper_ImGuiListClipper(void)
|
||||
{
|
||||
return IM_NEW(ImGuiListClipper)();
|
||||
@@ -2184,6 +2184,14 @@ CIMGUI_API void ImDrawList_AddNgonFilled(ImDrawList* self,const ImVec2 center,fl
|
||||
{
|
||||
return self->AddNgonFilled(center,radius,col,num_segments);
|
||||
}
|
||||
CIMGUI_API void ImDrawList_AddEllipse(ImDrawList* self,const ImVec2 center,float radius_x,float radius_y,ImU32 col,float rot,int num_segments,float thickness)
|
||||
{
|
||||
return self->AddEllipse(center,radius_x,radius_y,col,rot,num_segments,thickness);
|
||||
}
|
||||
CIMGUI_API void ImDrawList_AddEllipseFilled(ImDrawList* self,const ImVec2 center,float radius_x,float radius_y,ImU32 col,float rot,int num_segments)
|
||||
{
|
||||
return self->AddEllipseFilled(center,radius_x,radius_y,col,rot,num_segments);
|
||||
}
|
||||
CIMGUI_API void ImDrawList_AddText_Vec2(ImDrawList* self,const ImVec2 pos,ImU32 col,const char* text_begin,const char* text_end)
|
||||
{
|
||||
return self->AddText(pos,col,text_begin,text_end);
|
||||
@@ -2248,6 +2256,10 @@ CIMGUI_API void ImDrawList_PathArcToFast(ImDrawList* self,const ImVec2 center,fl
|
||||
{
|
||||
return self->PathArcToFast(center,radius,a_min_of_12,a_max_of_12);
|
||||
}
|
||||
CIMGUI_API void ImDrawList_PathEllipticalArcTo(ImDrawList* self,const ImVec2 center,float radius_x,float radius_y,float rot,float a_min,float a_max,int num_segments)
|
||||
{
|
||||
return self->PathEllipticalArcTo(center,radius_x,radius_y,rot,a_min,a_max,num_segments);
|
||||
}
|
||||
CIMGUI_API void ImDrawList_PathBezierCubicCurveTo(ImDrawList* self,const ImVec2 p2,const ImVec2 p3,const ImVec2 p4,int num_segments)
|
||||
{
|
||||
return self->PathBezierCubicCurveTo(p2,p3,p4,num_segments);
|
||||
@@ -2456,13 +2468,13 @@ CIMGUI_API ImFont* ImFontAtlas_AddFontFromFileTTF(ImFontAtlas* self,const char*
|
||||
{
|
||||
return self->AddFontFromFileTTF(filename,size_pixels,font_cfg,glyph_ranges);
|
||||
}
|
||||
CIMGUI_API ImFont* ImFontAtlas_AddFontFromMemoryTTF(ImFontAtlas* self,void* font_data,int font_size,float size_pixels,const ImFontConfig* font_cfg,const ImWchar* glyph_ranges)
|
||||
CIMGUI_API ImFont* ImFontAtlas_AddFontFromMemoryTTF(ImFontAtlas* self,void* font_data,int font_data_size,float size_pixels,const ImFontConfig* font_cfg,const ImWchar* glyph_ranges)
|
||||
{
|
||||
return self->AddFontFromMemoryTTF(font_data,font_size,size_pixels,font_cfg,glyph_ranges);
|
||||
return self->AddFontFromMemoryTTF(font_data,font_data_size,size_pixels,font_cfg,glyph_ranges);
|
||||
}
|
||||
CIMGUI_API ImFont* ImFontAtlas_AddFontFromMemoryCompressedTTF(ImFontAtlas* self,const void* compressed_font_data,int compressed_font_size,float size_pixels,const ImFontConfig* font_cfg,const ImWchar* glyph_ranges)
|
||||
CIMGUI_API ImFont* ImFontAtlas_AddFontFromMemoryCompressedTTF(ImFontAtlas* self,const void* compressed_font_data,int compressed_font_data_size,float size_pixels,const ImFontConfig* font_cfg,const ImWchar* glyph_ranges)
|
||||
{
|
||||
return self->AddFontFromMemoryCompressedTTF(compressed_font_data,compressed_font_size,size_pixels,font_cfg,glyph_ranges);
|
||||
return self->AddFontFromMemoryCompressedTTF(compressed_font_data,compressed_font_data_size,size_pixels,font_cfg,glyph_ranges);
|
||||
}
|
||||
CIMGUI_API ImFont* ImFontAtlas_AddFontFromMemoryCompressedBase85TTF(ImFontAtlas* self,const char* compressed_font_data_base85,float size_pixels,const ImFontConfig* font_cfg,const ImWchar* glyph_ranges)
|
||||
{
|
||||
@@ -2728,18 +2740,10 @@ CIMGUI_API const char* igImStrchrRange(const char* str_begin,const char* str_end
|
||||
{
|
||||
return ImStrchrRange(str_begin,str_end,c);
|
||||
}
|
||||
CIMGUI_API int igImStrlenW(const ImWchar* str)
|
||||
{
|
||||
return ImStrlenW(str);
|
||||
}
|
||||
CIMGUI_API const char* igImStreolRange(const char* str,const char* str_end)
|
||||
{
|
||||
return ImStreolRange(str,str_end);
|
||||
}
|
||||
CIMGUI_API const ImWchar* igImStrbolW(const ImWchar* buf_mid_line,const ImWchar* buf_begin)
|
||||
{
|
||||
return ImStrbolW(buf_mid_line,buf_begin);
|
||||
}
|
||||
CIMGUI_API const char* igImStristr(const char* haystack,const char* haystack_end,const char* needle,const char* needle_end)
|
||||
{
|
||||
return ImStristr(haystack,haystack_end,needle,needle_end);
|
||||
@@ -2752,6 +2756,14 @@ CIMGUI_API const char* igImStrSkipBlank(const char* str)
|
||||
{
|
||||
return ImStrSkipBlank(str);
|
||||
}
|
||||
CIMGUI_API int igImStrlenW(const ImWchar* str)
|
||||
{
|
||||
return ImStrlenW(str);
|
||||
}
|
||||
CIMGUI_API const ImWchar* igImStrbolW(const ImWchar* buf_mid_line,const ImWchar* buf_begin)
|
||||
{
|
||||
return ImStrbolW(buf_mid_line,buf_begin);
|
||||
}
|
||||
CIMGUI_API char igImToUpper(char c)
|
||||
{
|
||||
return ImToUpper(c);
|
||||
@@ -2839,6 +2851,10 @@ CIMGUI_API int igImTextCountUtf8BytesFromStr(const ImWchar* in_text,const ImWcha
|
||||
{
|
||||
return ImTextCountUtf8BytesFromStr(in_text,in_text_end);
|
||||
}
|
||||
CIMGUI_API const char* igImTextFindPreviousUtf8Codepoint(const char* in_text_start,const char* in_text_curr)
|
||||
{
|
||||
return ImTextFindPreviousUtf8Codepoint(in_text_start,in_text_curr);
|
||||
}
|
||||
CIMGUI_API ImFileHandle igImFileOpen(const char* filename,const char* mode)
|
||||
{
|
||||
return ImFileOpen(filename,mode);
|
||||
@@ -2947,22 +2963,22 @@ CIMGUI_API float igImInvLength(const ImVec2 lhs,float fail_value)
|
||||
{
|
||||
return ImInvLength(lhs,fail_value);
|
||||
}
|
||||
CIMGUI_API float igImTrunc_Float(float f)
|
||||
{
|
||||
return ImTrunc(f);
|
||||
}
|
||||
CIMGUI_API void igImTrunc_Vec2(ImVec2 *pOut,const ImVec2 v)
|
||||
{
|
||||
*pOut = ImTrunc(v);
|
||||
}
|
||||
CIMGUI_API float igImFloor_Float(float f)
|
||||
{
|
||||
return ImFloor(f);
|
||||
}
|
||||
CIMGUI_API float igImFloorSigned_Float(float f)
|
||||
{
|
||||
return ImFloorSigned(f);
|
||||
}
|
||||
CIMGUI_API void igImFloor_Vec2(ImVec2 *pOut,const ImVec2 v)
|
||||
{
|
||||
*pOut = ImFloor(v);
|
||||
}
|
||||
CIMGUI_API void igImFloorSigned_Vec2(ImVec2 *pOut,const ImVec2 v)
|
||||
{
|
||||
*pOut = ImFloorSigned(v);
|
||||
}
|
||||
CIMGUI_API int igImModPositive(int a,int b)
|
||||
{
|
||||
return ImModPositive(a,b);
|
||||
@@ -3119,6 +3135,10 @@ CIMGUI_API bool ImRect_Contains_Rect(ImRect* self,const ImRect r)
|
||||
{
|
||||
return self->Contains(r);
|
||||
}
|
||||
CIMGUI_API bool ImRect_ContainsWithPad(ImRect* self,const ImVec2 p,const ImVec2 pad)
|
||||
{
|
||||
return self->ContainsWithPad(p,pad);
|
||||
}
|
||||
CIMGUI_API bool ImRect_Overlaps(ImRect* self,const ImRect r)
|
||||
{
|
||||
return self->Overlaps(r);
|
||||
@@ -3511,6 +3531,18 @@ CIMGUI_API void ImGuiNavItemData_Clear(ImGuiNavItemData* self)
|
||||
{
|
||||
return self->Clear();
|
||||
}
|
||||
CIMGUI_API ImGuiTypingSelectState* ImGuiTypingSelectState_ImGuiTypingSelectState(void)
|
||||
{
|
||||
return IM_NEW(ImGuiTypingSelectState)();
|
||||
}
|
||||
CIMGUI_API void ImGuiTypingSelectState_destroy(ImGuiTypingSelectState* self)
|
||||
{
|
||||
IM_DELETE(self);
|
||||
}
|
||||
CIMGUI_API void ImGuiTypingSelectState_Clear(ImGuiTypingSelectState* self)
|
||||
{
|
||||
return self->Clear();
|
||||
}
|
||||
CIMGUI_API ImGuiOldColumnData* ImGuiOldColumnData_ImGuiOldColumnData(void)
|
||||
{
|
||||
return IM_NEW(ImGuiOldColumnData)();
|
||||
@@ -3647,6 +3679,14 @@ CIMGUI_API void ImGuiSettingsHandler_destroy(ImGuiSettingsHandler* self)
|
||||
{
|
||||
IM_DELETE(self);
|
||||
}
|
||||
CIMGUI_API ImGuiDebugAllocInfo* ImGuiDebugAllocInfo_ImGuiDebugAllocInfo(void)
|
||||
{
|
||||
return IM_NEW(ImGuiDebugAllocInfo)();
|
||||
}
|
||||
CIMGUI_API void ImGuiDebugAllocInfo_destroy(ImGuiDebugAllocInfo* self)
|
||||
{
|
||||
IM_DELETE(self);
|
||||
}
|
||||
CIMGUI_API ImGuiStackLevelInfo* ImGuiStackLevelInfo_ImGuiStackLevelInfo(void)
|
||||
{
|
||||
return IM_NEW(ImGuiStackLevelInfo)();
|
||||
@@ -3655,11 +3695,11 @@ CIMGUI_API void ImGuiStackLevelInfo_destroy(ImGuiStackLevelInfo* self)
|
||||
{
|
||||
IM_DELETE(self);
|
||||
}
|
||||
CIMGUI_API ImGuiStackTool* ImGuiStackTool_ImGuiStackTool(void)
|
||||
CIMGUI_API ImGuiIDStackTool* ImGuiIDStackTool_ImGuiIDStackTool(void)
|
||||
{
|
||||
return IM_NEW(ImGuiStackTool)();
|
||||
return IM_NEW(ImGuiIDStackTool)();
|
||||
}
|
||||
CIMGUI_API void ImGuiStackTool_destroy(ImGuiStackTool* self)
|
||||
CIMGUI_API void ImGuiIDStackTool_destroy(ImGuiIDStackTool* self)
|
||||
{
|
||||
IM_DELETE(self);
|
||||
}
|
||||
@@ -3935,9 +3975,9 @@ CIMGUI_API void igStartMouseMovingWindow(ImGuiWindow* window)
|
||||
{
|
||||
return ImGui::StartMouseMovingWindow(window);
|
||||
}
|
||||
CIMGUI_API void igStartMouseMovingWindowOrNode(ImGuiWindow* window,ImGuiDockNode* node,bool undock_floating_node)
|
||||
CIMGUI_API void igStartMouseMovingWindowOrNode(ImGuiWindow* window,ImGuiDockNode* node,bool undock)
|
||||
{
|
||||
return ImGui::StartMouseMovingWindowOrNode(window,node,undock_floating_node);
|
||||
return ImGui::StartMouseMovingWindowOrNode(window,node,undock);
|
||||
}
|
||||
CIMGUI_API void igUpdateMouseMovingWindowNewFrame()
|
||||
{
|
||||
@@ -4203,9 +4243,9 @@ CIMGUI_API void igLogSetNextTextDecoration(const char* prefix,const char* suffix
|
||||
{
|
||||
return ImGui::LogSetNextTextDecoration(prefix,suffix);
|
||||
}
|
||||
CIMGUI_API bool igBeginChildEx(const char* name,ImGuiID id,const ImVec2 size_arg,bool border,ImGuiWindowFlags flags)
|
||||
CIMGUI_API bool igBeginChildEx(const char* name,ImGuiID id,const ImVec2 size_arg,ImGuiChildFlags child_flags,ImGuiWindowFlags window_flags)
|
||||
{
|
||||
return ImGui::BeginChildEx(name,id,size_arg,border,flags);
|
||||
return ImGui::BeginChildEx(name,id,size_arg,child_flags,window_flags);
|
||||
}
|
||||
CIMGUI_API void igOpenPopupEx(ImGuiID id,ImGuiPopupFlags popup_flags)
|
||||
{
|
||||
@@ -4235,6 +4275,10 @@ CIMGUI_API bool igBeginTooltipEx(ImGuiTooltipFlags tooltip_flags,ImGuiWindowFlag
|
||||
{
|
||||
return ImGui::BeginTooltipEx(tooltip_flags,extra_window_flags);
|
||||
}
|
||||
CIMGUI_API bool igBeginTooltipHidden()
|
||||
{
|
||||
return ImGui::BeginTooltipHidden();
|
||||
}
|
||||
CIMGUI_API void igGetPopupAllowedExtentRect(ImRect *pOut,ImGuiWindow* window)
|
||||
{
|
||||
*pOut = ImGui::GetPopupAllowedExtentRect(window);
|
||||
@@ -4327,6 +4371,10 @@ CIMGUI_API void igNavClearPreferredPosForAxis(ImGuiAxis axis)
|
||||
{
|
||||
return ImGui::NavClearPreferredPosForAxis(axis);
|
||||
}
|
||||
CIMGUI_API void igNavRestoreHighlightAfterMove()
|
||||
{
|
||||
return ImGui::NavRestoreHighlightAfterMove();
|
||||
}
|
||||
CIMGUI_API void igNavUpdateCurrentWindowIsScrollPushableX()
|
||||
{
|
||||
return ImGui::NavUpdateCurrentWindowIsScrollPushableX();
|
||||
@@ -4419,6 +4467,10 @@ CIMGUI_API void igGetTypematicRepeatRate(ImGuiInputFlags flags,float* repeat_del
|
||||
{
|
||||
return ImGui::GetTypematicRepeatRate(flags,repeat_delay,repeat_rate);
|
||||
}
|
||||
CIMGUI_API void igTeleportMousePos(const ImVec2 pos)
|
||||
{
|
||||
return ImGui::TeleportMousePos(pos);
|
||||
}
|
||||
CIMGUI_API void igSetActiveIdUsingAllKeyboardKeys()
|
||||
{
|
||||
return ImGui::SetActiveIdUsingAllKeyboardKeys();
|
||||
@@ -4475,6 +4527,14 @@ CIMGUI_API bool igIsMouseReleased_ID(ImGuiMouseButton button,ImGuiID owner_id)
|
||||
{
|
||||
return ImGui::IsMouseReleased(button,owner_id);
|
||||
}
|
||||
CIMGUI_API bool igIsMouseDoubleClicked_ID(ImGuiMouseButton button,ImGuiID owner_id)
|
||||
{
|
||||
return ImGui::IsMouseDoubleClicked(button,owner_id);
|
||||
}
|
||||
CIMGUI_API bool igIsKeyChordPressed_ID(ImGuiKeyChord key_chord,ImGuiID owner_id,ImGuiInputFlags flags)
|
||||
{
|
||||
return ImGui::IsKeyChordPressed(key_chord,owner_id,flags);
|
||||
}
|
||||
CIMGUI_API bool igShortcut(ImGuiKeyChord key_chord,ImGuiID owner_id,ImGuiInputFlags flags)
|
||||
{
|
||||
return ImGui::Shortcut(key_chord,owner_id,flags);
|
||||
@@ -4691,6 +4751,22 @@ CIMGUI_API void igRenderDragDropTargetRect(const ImRect bb)
|
||||
{
|
||||
return ImGui::RenderDragDropTargetRect(bb);
|
||||
}
|
||||
CIMGUI_API ImGuiTypingSelectRequest* igGetTypingSelectRequest(ImGuiTypingSelectFlags flags)
|
||||
{
|
||||
return ImGui::GetTypingSelectRequest(flags);
|
||||
}
|
||||
CIMGUI_API int igTypingSelectFindMatch(ImGuiTypingSelectRequest* req,int items_count,const char*(*get_item_name_func)(void*,int),void* user_data,int nav_item_idx)
|
||||
{
|
||||
return ImGui::TypingSelectFindMatch(req,items_count,get_item_name_func,user_data,nav_item_idx);
|
||||
}
|
||||
CIMGUI_API int igTypingSelectFindNextSingleCharMatch(ImGuiTypingSelectRequest* req,int items_count,const char*(*get_item_name_func)(void*,int),void* user_data,int nav_item_idx)
|
||||
{
|
||||
return ImGui::TypingSelectFindNextSingleCharMatch(req,items_count,get_item_name_func,user_data,nav_item_idx);
|
||||
}
|
||||
CIMGUI_API int igTypingSelectFindBestLeadingMatch(ImGuiTypingSelectRequest* req,int items_count,const char*(*get_item_name_func)(void*,int),void* user_data)
|
||||
{
|
||||
return ImGui::TypingSelectFindBestLeadingMatch(req,items_count,get_item_name_func,user_data);
|
||||
}
|
||||
CIMGUI_API void igSetWindowClipRectBeforeSetChannel(ImGuiWindow* window,const ImRect clip_rect)
|
||||
{
|
||||
return ImGui::SetWindowClipRectBeforeSetChannel(window,clip_rect);
|
||||
@@ -4755,6 +4831,10 @@ CIMGUI_API float igTableGetHeaderRowHeight()
|
||||
{
|
||||
return ImGui::TableGetHeaderRowHeight();
|
||||
}
|
||||
CIMGUI_API float igTableGetHeaderAngledMaxLabelWidth()
|
||||
{
|
||||
return ImGui::TableGetHeaderAngledMaxLabelWidth();
|
||||
}
|
||||
CIMGUI_API void igTablePushBackgroundChannel()
|
||||
{
|
||||
return ImGui::TablePushBackgroundChannel();
|
||||
@@ -4763,6 +4843,10 @@ CIMGUI_API void igTablePopBackgroundChannel()
|
||||
{
|
||||
return ImGui::TablePopBackgroundChannel();
|
||||
}
|
||||
CIMGUI_API void igTableAngledHeadersRowEx(float angle,float label_width)
|
||||
{
|
||||
return ImGui::TableAngledHeadersRowEx(angle,label_width);
|
||||
}
|
||||
CIMGUI_API ImGuiTable* igGetCurrentTable()
|
||||
{
|
||||
return ImGui::GetCurrentTable();
|
||||
@@ -4803,9 +4887,9 @@ CIMGUI_API void igTableDrawBorders(ImGuiTable* table)
|
||||
{
|
||||
return ImGui::TableDrawBorders(table);
|
||||
}
|
||||
CIMGUI_API void igTableDrawContextMenu(ImGuiTable* table)
|
||||
CIMGUI_API void igTableDrawDefaultContextMenu(ImGuiTable* table,ImGuiTableFlags flags_for_section_to_display)
|
||||
{
|
||||
return ImGui::TableDrawContextMenu(table);
|
||||
return ImGui::TableDrawDefaultContextMenu(table,flags_for_section_to_display);
|
||||
}
|
||||
CIMGUI_API bool igTableBeginContextMenuPopup(ImGuiTable* table)
|
||||
{
|
||||
@@ -4931,9 +5015,9 @@ CIMGUI_API ImGuiTabBar* igGetCurrentTabBar()
|
||||
{
|
||||
return ImGui::GetCurrentTabBar();
|
||||
}
|
||||
CIMGUI_API bool igBeginTabBarEx(ImGuiTabBar* tab_bar,const ImRect bb,ImGuiTabBarFlags flags,ImGuiDockNode* dock_node)
|
||||
CIMGUI_API bool igBeginTabBarEx(ImGuiTabBar* tab_bar,const ImRect bb,ImGuiTabBarFlags flags)
|
||||
{
|
||||
return ImGui::BeginTabBarEx(tab_bar,bb,flags,dock_node);
|
||||
return ImGui::BeginTabBarEx(tab_bar,bb,flags);
|
||||
}
|
||||
CIMGUI_API ImGuiTabItem* igTabBarFindTabByID(ImGuiTabBar* tab_bar,ImGuiID tab_id)
|
||||
{
|
||||
@@ -5095,9 +5179,9 @@ CIMGUI_API bool igArrowButtonEx(const char* str_id,ImGuiDir dir,ImVec2 size_arg,
|
||||
{
|
||||
return ImGui::ArrowButtonEx(str_id,dir,size_arg,flags);
|
||||
}
|
||||
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,ImGuiButtonFlags flags)
|
||||
CIMGUI_API bool igImageButtonEx(ImGuiID id,ImTextureID texture_id,const ImVec2 image_size,const ImVec2 uv0,const ImVec2 uv1,const ImVec4 bg_col,const ImVec4 tint_col,ImGuiButtonFlags flags)
|
||||
{
|
||||
return ImGui::ImageButtonEx(id,texture_id,size,uv0,uv1,bg_col,tint_col,flags);
|
||||
return ImGui::ImageButtonEx(id,texture_id,image_size,uv0,uv1,bg_col,tint_col,flags);
|
||||
}
|
||||
CIMGUI_API void igSeparatorEx(ImGuiSeparatorFlags flags,float thickness)
|
||||
{
|
||||
@@ -5179,6 +5263,10 @@ CIMGUI_API bool igTreeNodeUpdateNextOpen(ImGuiID id,ImGuiTreeNodeFlags flags)
|
||||
{
|
||||
return ImGui::TreeNodeUpdateNextOpen(id,flags);
|
||||
}
|
||||
CIMGUI_API void igSetNextItemSelectionUserData(ImGuiSelectionUserData selection_user_data)
|
||||
{
|
||||
return ImGui::SetNextItemSelectionUserData(selection_user_data);
|
||||
}
|
||||
CIMGUI_API const ImGuiDataTypeInfo* igDataTypeGetInfo(ImGuiDataType data_type)
|
||||
{
|
||||
return ImGui::DataTypeGetInfo(data_type);
|
||||
@@ -5251,6 +5339,10 @@ CIMGUI_API void igShadeVertsLinearUV(ImDrawList* draw_list,int vert_start_idx,in
|
||||
{
|
||||
return ImGui::ShadeVertsLinearUV(draw_list,vert_start_idx,vert_end_idx,a,b,uv_a,uv_b,clamp);
|
||||
}
|
||||
CIMGUI_API void igShadeVertsTransformPos(ImDrawList* draw_list,int vert_start_idx,int vert_end_idx,const ImVec2 pivot_in,float cos_a,float sin_a,const ImVec2 pivot_out)
|
||||
{
|
||||
return ImGui::ShadeVertsTransformPos(draw_list,vert_start_idx,vert_end_idx,pivot_in,cos_a,sin_a,pivot_out);
|
||||
}
|
||||
CIMGUI_API void igGcCompactTransientMiscBuffers()
|
||||
{
|
||||
return ImGui::GcCompactTransientMiscBuffers();
|
||||
@@ -5274,6 +5366,10 @@ CIMGUI_API void igDebugLogV(const char* fmt,va_list args)
|
||||
{
|
||||
return ImGui::DebugLogV(fmt,args);
|
||||
}
|
||||
CIMGUI_API void igDebugAllocHook(ImGuiDebugAllocInfo* info,int frame_count,void* ptr,size_t size)
|
||||
{
|
||||
return ImGui::DebugAllocHook(info,frame_count,ptr,size);
|
||||
}
|
||||
CIMGUI_API void igErrorCheckEndFrameRecover(ImGuiErrorLogCallback log_callback,void* user_data)
|
||||
{
|
||||
return ImGui::ErrorCheckEndFrameRecover(log_callback,user_data);
|
||||
@@ -5366,6 +5462,10 @@ CIMGUI_API void igDebugNodeInputTextState(ImGuiInputTextState* state)
|
||||
{
|
||||
return ImGui::DebugNodeInputTextState(state);
|
||||
}
|
||||
CIMGUI_API void igDebugNodeTypingSelectState(ImGuiTypingSelectState* state)
|
||||
{
|
||||
return ImGui::DebugNodeTypingSelectState(state);
|
||||
}
|
||||
CIMGUI_API void igDebugNodeWindow(ImGuiWindow* window,const char* label)
|
||||
{
|
||||
return ImGui::DebugNodeWindow(window,label);
|
||||
@@ -5394,14 +5494,14 @@ 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();
|
||||
}
|
||||
CIMGUI_API void igImFontAtlasUpdateConfigDataPointers(ImFontAtlas* atlas)
|
||||
{
|
||||
return ImFontAtlasUpdateConfigDataPointers(atlas);
|
||||
}
|
||||
CIMGUI_API void igImFontAtlasBuildInit(ImFontAtlas* atlas)
|
||||
{
|
||||
return ImFontAtlasBuildInit(atlas);
|
||||
|
Reference in New Issue
Block a user