mirror of
https://github.com/cimgui/cimgui.git
synced 2026-08-01 00:58:54 +00:00
Compare commits
22 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
4e8fcc1367 | ||
|
|
cd61f1ae57 | ||
|
|
053280dfff | ||
|
|
8aaa4b624e | ||
|
|
9bffa7632f | ||
|
|
e2c1d90128 | ||
|
|
64fcbf194b | ||
|
|
fced8c3451 | ||
|
|
7388e030e8 | ||
|
|
d298666861 | ||
|
|
bbddc623b5 | ||
|
|
07fde25e7a | ||
|
|
1261b23193 | ||
|
|
650a427069 | ||
|
|
d24c440621 | ||
|
|
e90e027c82 | ||
|
|
1e3cfe7157 | ||
|
|
0313c558fc | ||
|
|
ad70f13873 | ||
|
|
a444aa6c50 | ||
|
|
fab34e3855 | ||
|
|
467262ef29 |
@@ -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)
|
||||
|
||||
Notes:
|
||||
* currently this wrapper is based on version [1.92.7 of Dear ImGui with internal api]
|
||||
* currently this wrapper is based on version [1.92.9 of Dear ImGui with internal api]
|
||||
* 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.
|
||||
* 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.
|
||||
@@ -106,10 +106,14 @@ Notes:
|
||||
# example bindings based on cimgui
|
||||
|
||||
* [LuaJIT-ImGui](https://github.com/sonoro1234/LuaJIT-ImGui)
|
||||
* [cimgui-go](https://github.com/AllenDang/cimgui-go)
|
||||
* [Hexa.NET.ImGui](https://github.com/HexaEngine/Hexa.NET.ImGui)
|
||||
* [dear-imgui-rs](https://github.com/Latias94/dear-imgui-rs)
|
||||
* [CImGui.jl](https://github.com/Gnimuc/CImGui.jl)
|
||||
* [ImGui.NET](https://github.com/mellinoe/ImGui.NET)
|
||||
* [Zig-ImGui](https://github.com/SpexGuy/Zig-ImGui)
|
||||
* [nimgl/imgui](https://github.com/nimgl/imgui)
|
||||
* [kotlin-imgui](https://github.com/Dominaezzz/kotlin-imgui)
|
||||
* [CImGui.jl](https://github.com/Gnimuc/CImGui.jl)
|
||||
* [odin-imgui](https://github.com/ThisDrunkDane/odin-imgui)
|
||||
* [DerelictImgui](https://github.com/Extrawurst/DerelictImgui)
|
||||
* [BindBC-CimGui](https://github.com/MrcSnm/bindbc-cimgui)
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
#endif
|
||||
|
||||
//this must be equal to that in imgui_impl_vulkan.h
|
||||
#define IMGUI_IMPL_VULKAN_MINIMUM_IMAGE_SAMPLER_POOL_SIZE (1) // Minimum per atlas
|
||||
//#define IMGUI_IMPL_VULKAN_MINIMUM_IMAGE_SAMPLER_POOL_SIZE (1) // Minimum per atlas
|
||||
|
||||
#define CIMGUI_DEFINE_ENUMS_AND_STRUCTS
|
||||
#include <cimgui.h>
|
||||
@@ -214,7 +214,8 @@ static void SetupVulkan(const char** extensions, uint32_t extensions_count)
|
||||
{
|
||||
VkDescriptorPoolSize pool_sizes[] =
|
||||
{
|
||||
{ VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER, IMGUI_IMPL_VULKAN_MINIMUM_IMAGE_SAMPLER_POOL_SIZE },
|
||||
{ VK_DESCRIPTOR_TYPE_SAMPLED_IMAGE, IMGUI_IMPL_VULKAN_MINIMUM_SAMPLED_IMAGE_POOL_SIZE },
|
||||
{ VK_DESCRIPTOR_TYPE_SAMPLER, IMGUI_IMPL_VULKAN_MINIMUM_SAMPLER_POOL_SIZE },
|
||||
};
|
||||
VkDescriptorPoolCreateInfo pool_info = {};
|
||||
pool_info.sType = VK_STRUCTURE_TYPE_DESCRIPTOR_POOL_CREATE_INFO;
|
||||
@@ -281,9 +282,10 @@ static void CleanupVulkan()
|
||||
vkDestroyInstance(g_Instance, g_Allocator);
|
||||
}
|
||||
|
||||
static void CleanupVulkanWindow()
|
||||
static void CleanupVulkanWindow(ImGui_ImplVulkanH_Window* wd)
|
||||
{
|
||||
ImGui_ImplVulkanH_DestroyWindow(g_Instance, g_Device, &g_MainWindowData, g_Allocator);
|
||||
ImGui_ImplVulkanH_DestroyWindow(g_Instance, g_Device, wd, g_Allocator);
|
||||
vkDestroySurfaceKHR(g_Instance, wd->Surface, g_Allocator);
|
||||
}
|
||||
|
||||
static void FrameRender(ImGui_ImplVulkanH_Window* wd, ImDrawData* draw_data)
|
||||
@@ -620,7 +622,7 @@ int main(int argc, char* argv[])
|
||||
ImGui_ImplSDL3_Shutdown();
|
||||
igDestroyContext(NULL);
|
||||
|
||||
CleanupVulkanWindow();
|
||||
CleanupVulkanWindow(&g_MainWindowData);
|
||||
CleanupVulkan();
|
||||
|
||||
SDL_DestroyWindow(window);
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
#endif
|
||||
|
||||
//this must be equal to that in imgui_impl_vulkan.h
|
||||
#define IMGUI_IMPL_VULKAN_MINIMUM_IMAGE_SAMPLER_POOL_SIZE (1) // Minimum per atlas
|
||||
//#define IMGUI_IMPL_VULKAN_MINIMUM_IMAGE_SAMPLER_POOL_SIZE (1) // Minimum per atlas
|
||||
|
||||
#define CIMGUI_DEFINE_ENUMS_AND_STRUCTS
|
||||
#include "cimgui.h"
|
||||
@@ -218,7 +218,8 @@ static void SetupVulkan(const char** extensions, uint32_t extensions_count)
|
||||
{
|
||||
VkDescriptorPoolSize pool_sizes[] =
|
||||
{
|
||||
{ VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER, IMGUI_IMPL_VULKAN_MINIMUM_IMAGE_SAMPLER_POOL_SIZE },
|
||||
{ VK_DESCRIPTOR_TYPE_SAMPLED_IMAGE, IMGUI_IMPL_VULKAN_MINIMUM_SAMPLED_IMAGE_POOL_SIZE },
|
||||
{ VK_DESCRIPTOR_TYPE_SAMPLER, IMGUI_IMPL_VULKAN_MINIMUM_SAMPLER_POOL_SIZE },
|
||||
};
|
||||
VkDescriptorPoolCreateInfo pool_info = {};
|
||||
pool_info.sType = VK_STRUCTURE_TYPE_DESCRIPTOR_POOL_CREATE_INFO;
|
||||
@@ -285,9 +286,10 @@ static void CleanupVulkan()
|
||||
vkDestroyInstance(g_Instance, g_Allocator);
|
||||
}
|
||||
|
||||
static void CleanupVulkanWindow()
|
||||
static void CleanupVulkanWindow(ImGui_ImplVulkanH_Window* wd)
|
||||
{
|
||||
ImGui_ImplVulkanH_DestroyWindow(g_Instance, g_Device, &g_MainWindowData, g_Allocator);
|
||||
ImGui_ImplVulkanH_DestroyWindow(g_Instance, g_Device, wd, g_Allocator);
|
||||
vkDestroySurfaceKHR(g_Instance, wd->Surface, g_Allocator);
|
||||
}
|
||||
|
||||
static void FrameRender(ImGui_ImplVulkanH_Window* wd, ImDrawData* draw_data)
|
||||
@@ -615,7 +617,7 @@ int main(int argc, char* argv[])
|
||||
ImGui_ImplSDL2_Shutdown();
|
||||
igDestroyContext(NULL);
|
||||
|
||||
CleanupVulkanWindow();
|
||||
CleanupVulkanWindow(&g_MainWindowData);
|
||||
CleanupVulkan();
|
||||
|
||||
SDL_DestroyWindow(window);
|
||||
|
||||
670
cimgui.cpp
670
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.7" 19270 from Dear ImGui https://github.com/ocornut/imgui
|
||||
//based on imgui.h file version "1.92.9" 19290 from Dear ImGui https://github.com/ocornut/imgui
|
||||
//with imgui_internal.h api
|
||||
//with imgui_freetype.h api
|
||||
|
||||
@@ -1010,10 +1010,6 @@ CIMGUI_API bool igColorButton(const char* desc_id,const ImVec4_c col,ImGuiColorE
|
||||
{
|
||||
return ImGui::ColorButton(desc_id,ConvertToCPP_ImVec4(col),flags,ConvertToCPP_ImVec2(size));
|
||||
}
|
||||
CIMGUI_API void igSetColorEditOptions(ImGuiColorEditFlags flags)
|
||||
{
|
||||
return ImGui::SetColorEditOptions(flags);
|
||||
}
|
||||
CIMGUI_API bool igTreeNode_Str(const char* label)
|
||||
{
|
||||
return ImGui::TreeNode(label);
|
||||
@@ -1292,15 +1288,15 @@ CIMGUI_API void igEndPopup()
|
||||
{
|
||||
return ImGui::EndPopup();
|
||||
}
|
||||
CIMGUI_API void igOpenPopup_Str(const char* str_id,ImGuiPopupFlags popup_flags)
|
||||
CIMGUI_API bool igOpenPopup_Str(const char* str_id,ImGuiPopupFlags popup_flags)
|
||||
{
|
||||
return ImGui::OpenPopup(str_id,popup_flags);
|
||||
}
|
||||
CIMGUI_API void igOpenPopup_ID(ImGuiID id,ImGuiPopupFlags popup_flags)
|
||||
CIMGUI_API bool igOpenPopup_ID(ImGuiID id,ImGuiPopupFlags popup_flags)
|
||||
{
|
||||
return ImGui::OpenPopup(id,popup_flags);
|
||||
}
|
||||
CIMGUI_API void igOpenPopupOnItemClick(const char* str_id,ImGuiPopupFlags popup_flags)
|
||||
CIMGUI_API bool igOpenPopupOnItemClick(const char* str_id,ImGuiPopupFlags popup_flags)
|
||||
{
|
||||
return ImGui::OpenPopupOnItemClick(str_id,popup_flags);
|
||||
}
|
||||
@@ -1344,9 +1340,9 @@ CIMGUI_API bool igTableSetColumnIndex(int column_n)
|
||||
{
|
||||
return ImGui::TableSetColumnIndex(column_n);
|
||||
}
|
||||
CIMGUI_API void igTableSetupColumn(const char* label,ImGuiTableColumnFlags flags,float init_width_or_weight,ImGuiID user_id)
|
||||
CIMGUI_API void igTableSetupColumn(const char* label,ImGuiTableColumnFlags flags,float init_width_or_weight,ImGuiID user_data)
|
||||
{
|
||||
return ImGui::TableSetupColumn(label,flags,init_width_or_weight,user_id);
|
||||
return ImGui::TableSetupColumn(label,flags,init_width_or_weight,user_data);
|
||||
}
|
||||
CIMGUI_API void igTableSetupScrollFreeze(int cols,int rows)
|
||||
{
|
||||
@@ -1625,6 +1621,10 @@ CIMGUI_API ImGuiItemFlags igGetItemFlags()
|
||||
{
|
||||
return ImGui::GetItemFlags();
|
||||
}
|
||||
CIMGUI_API int igGetItemClickedCountWithSingleClickDelay(ImGuiMouseButton mouse_button,float delay)
|
||||
{
|
||||
return ImGui::GetItemClickedCountWithSingleClickDelay(mouse_button,delay);
|
||||
}
|
||||
CIMGUI_API ImGuiViewport* igGetMainViewport()
|
||||
{
|
||||
return ImGui::GetMainViewport();
|
||||
@@ -1725,7 +1725,7 @@ CIMGUI_API void igSetNextItemShortcut(ImGuiKeyChord key_chord,ImGuiInputFlags fl
|
||||
{
|
||||
return ImGui::SetNextItemShortcut(key_chord,flags);
|
||||
}
|
||||
CIMGUI_API void igSetItemKeyOwner_Nil(ImGuiKey key)
|
||||
CIMGUI_API bool igSetItemKeyOwner_Nil(ImGuiKey key)
|
||||
{
|
||||
return ImGui::SetItemKeyOwner(key);
|
||||
}
|
||||
@@ -2394,9 +2394,17 @@ CIMGUI_API void ImDrawList_AddLine(ImDrawList* self,const ImVec2_c p1,const ImVe
|
||||
{
|
||||
return self->AddLine(ConvertToCPP_ImVec2(p1),ConvertToCPP_ImVec2(p2),col,thickness);
|
||||
}
|
||||
CIMGUI_API void ImDrawList_AddRect(ImDrawList* self,const ImVec2_c p_min,const ImVec2_c p_max,ImU32 col,float rounding,ImDrawFlags flags,float thickness)
|
||||
CIMGUI_API void ImDrawList_AddLineH(ImDrawList* self,float min_x,float max_x,float y,ImU32 col,float thickness)
|
||||
{
|
||||
return self->AddRect(ConvertToCPP_ImVec2(p_min),ConvertToCPP_ImVec2(p_max),col,rounding,flags,thickness);
|
||||
return self->AddLineH(min_x,max_x,y,col,thickness);
|
||||
}
|
||||
CIMGUI_API void ImDrawList_AddLineV(ImDrawList* self,float x,float min_y,float max_y,ImU32 col,float thickness)
|
||||
{
|
||||
return self->AddLineV(x,min_y,max_y,col,thickness);
|
||||
}
|
||||
CIMGUI_API void ImDrawList_AddRect(ImDrawList* self,const ImVec2_c p_min,const ImVec2_c p_max,ImU32 col,float rounding,float thickness,ImDrawFlags flags)
|
||||
{
|
||||
return self->AddRect(ConvertToCPP_ImVec2(p_min),ConvertToCPP_ImVec2(p_max),col,rounding,thickness,flags);
|
||||
}
|
||||
CIMGUI_API void ImDrawList_AddRectFilled(ImDrawList* self,const ImVec2_c p_min,const ImVec2_c p_max,ImU32 col,float rounding,ImDrawFlags flags)
|
||||
{
|
||||
@@ -2462,9 +2470,9 @@ CIMGUI_API void ImDrawList_AddBezierQuadratic(ImDrawList* self,const ImVec2_c p1
|
||||
{
|
||||
return self->AddBezierQuadratic(ConvertToCPP_ImVec2(p1),ConvertToCPP_ImVec2(p2),ConvertToCPP_ImVec2(p3),col,thickness,num_segments);
|
||||
}
|
||||
CIMGUI_API void ImDrawList_AddPolyline(ImDrawList* self,const ImVec2_c* points,int num_points,ImU32 col,ImDrawFlags flags,float thickness)
|
||||
CIMGUI_API void ImDrawList_AddPolyline(ImDrawList* self,const ImVec2_c* points,int num_points,ImU32 col,float thickness,ImDrawFlags flags)
|
||||
{
|
||||
return self->AddPolyline(reinterpret_cast<const ImVec2*>(points),num_points,col,flags,thickness);
|
||||
return self->AddPolyline(reinterpret_cast<const ImVec2*>(points),num_points,col,thickness,flags);
|
||||
}
|
||||
CIMGUI_API void ImDrawList_AddConvexPolyFilled(ImDrawList* self,const ImVec2_c* points,int num_points,ImU32 col)
|
||||
{
|
||||
@@ -2506,9 +2514,9 @@ CIMGUI_API void ImDrawList_PathFillConcave(ImDrawList* self,ImU32 col)
|
||||
{
|
||||
return self->PathFillConcave(col);
|
||||
}
|
||||
CIMGUI_API void ImDrawList_PathStroke(ImDrawList* self,ImU32 col,ImDrawFlags flags,float thickness)
|
||||
CIMGUI_API void ImDrawList_PathStroke(ImDrawList* self,ImU32 col,float thickness,ImDrawFlags flags)
|
||||
{
|
||||
return self->PathStroke(col,flags,thickness);
|
||||
return self->PathStroke(col,thickness,flags);
|
||||
}
|
||||
CIMGUI_API void ImDrawList_PathArcTo(ImDrawList* self,const ImVec2_c center,float radius,float a_min,float a_max,int num_segments)
|
||||
{
|
||||
@@ -2814,10 +2822,6 @@ CIMGUI_API void ImFontAtlas_RemoveFont(ImFontAtlas* self,ImFont* font)
|
||||
{
|
||||
return self->RemoveFont(font);
|
||||
}
|
||||
CIMGUI_API void ImFontAtlas_Clear(ImFontAtlas* self)
|
||||
{
|
||||
return self->Clear();
|
||||
}
|
||||
CIMGUI_API void ImFontAtlas_CompactCache(ImFontAtlas* self)
|
||||
{
|
||||
return self->CompactCache();
|
||||
@@ -2826,14 +2830,18 @@ CIMGUI_API void ImFontAtlas_SetFontLoader(ImFontAtlas* self,const ImFontLoader*
|
||||
{
|
||||
return self->SetFontLoader(font_loader);
|
||||
}
|
||||
CIMGUI_API void ImFontAtlas_ClearInputData(ImFontAtlas* self)
|
||||
CIMGUI_API void ImFontAtlas_Clear(ImFontAtlas* self)
|
||||
{
|
||||
return self->ClearInputData();
|
||||
return self->Clear();
|
||||
}
|
||||
CIMGUI_API void ImFontAtlas_ClearFonts(ImFontAtlas* self)
|
||||
{
|
||||
return self->ClearFonts();
|
||||
}
|
||||
CIMGUI_API void ImFontAtlas_ClearInputData(ImFontAtlas* self)
|
||||
{
|
||||
return self->ClearInputData();
|
||||
}
|
||||
CIMGUI_API void ImFontAtlas_ClearTexData(ImFontAtlas* self)
|
||||
{
|
||||
return self->ClearTexData();
|
||||
@@ -3337,6 +3345,10 @@ CIMGUI_API float igImRound64(float f)
|
||||
{
|
||||
return ImRound64(f);
|
||||
}
|
||||
CIMGUI_API float igImCeilFast(float f)
|
||||
{
|
||||
return ImCeilFast(f);
|
||||
}
|
||||
CIMGUI_API int igImModPositive(int a,int b)
|
||||
{
|
||||
return ImModPositive(a,b);
|
||||
@@ -3529,6 +3541,14 @@ CIMGUI_API void ImRect_Add_Rect(ImRect* self,const ImRect_c r)
|
||||
{
|
||||
return self->Add(ConvertToCPP_ImRect(r));
|
||||
}
|
||||
CIMGUI_API void ImRect_AddX(ImRect* self,float x)
|
||||
{
|
||||
return self->AddX(x);
|
||||
}
|
||||
CIMGUI_API void ImRect_AddY(ImRect* self,float y)
|
||||
{
|
||||
return self->AddY(y);
|
||||
}
|
||||
CIMGUI_API void ImRect_Expand_Float(ImRect* self,const float amount)
|
||||
{
|
||||
return self->Expand(amount);
|
||||
@@ -3633,6 +3653,30 @@ CIMGUI_API void ImGuiTextIndex_append(ImGuiTextIndex* self,const char* base,int
|
||||
{
|
||||
return self->append(base,old_size,new_size);
|
||||
}
|
||||
CIMGUI_API ImGuiPackedDate* ImGuiPackedDate_ImGuiPackedDate_Nil(void)
|
||||
{
|
||||
return IM_NEW(ImGuiPackedDate)();
|
||||
}
|
||||
CIMGUI_API void ImGuiPackedDate_destroy(ImGuiPackedDate* self)
|
||||
{
|
||||
IM_DELETE(self);
|
||||
}
|
||||
CIMGUI_API ImGuiPackedDate* ImGuiPackedDate_ImGuiPackedDate_Int(int yyyymmdd)
|
||||
{
|
||||
return IM_NEW(ImGuiPackedDate)(yyyymmdd);
|
||||
}
|
||||
CIMGUI_API bool ImGuiPackedDate_IsValid(ImGuiPackedDate* self)
|
||||
{
|
||||
return self->IsValid();
|
||||
}
|
||||
CIMGUI_API int ImGuiPackedDate_Unpack(ImGuiPackedDate* self)
|
||||
{
|
||||
return self->Unpack();
|
||||
}
|
||||
CIMGUI_API void ImGuiPackedDate_SubtractMonths(ImGuiPackedDate* self,int m)
|
||||
{
|
||||
return self->SubtractMonths(m);
|
||||
}
|
||||
CIMGUI_API ImGuiStoragePair* igImLowerBound(ImGuiStoragePair* in_begin,ImGuiStoragePair* in_end,ImGuiID key)
|
||||
{
|
||||
return ImLowerBound(in_begin,in_end,key);
|
||||
@@ -4193,6 +4237,286 @@ CIMGUI_API ImGuiTableColumnSettings* ImGuiTableSettings_GetColumnSettings(ImGuiT
|
||||
{
|
||||
return self->GetColumnSettings();
|
||||
}
|
||||
CIMGUI_API void igTableOpenContextMenu(int column_n)
|
||||
{
|
||||
return ImGui::TableOpenContextMenu(column_n);
|
||||
}
|
||||
CIMGUI_API void igTableSetColumnWidth(int column_n,float width)
|
||||
{
|
||||
return ImGui::TableSetColumnWidth(column_n,width);
|
||||
}
|
||||
CIMGUI_API void igTableSetColumnSortDirection(int column_n,ImGuiSortDirection sort_direction,bool append_to_sort_specs)
|
||||
{
|
||||
return ImGui::TableSetColumnSortDirection(column_n,sort_direction,append_to_sort_specs);
|
||||
}
|
||||
CIMGUI_API int igTableGetHoveredRow()
|
||||
{
|
||||
return ImGui::TableGetHoveredRow();
|
||||
}
|
||||
CIMGUI_API float igTableGetHeaderRowHeight()
|
||||
{
|
||||
return ImGui::TableGetHeaderRowHeight();
|
||||
}
|
||||
CIMGUI_API float igTableGetHeaderAngledMaxLabelWidth()
|
||||
{
|
||||
return ImGui::TableGetHeaderAngledMaxLabelWidth();
|
||||
}
|
||||
CIMGUI_API void igTablePushBackgroundChannel()
|
||||
{
|
||||
return ImGui::TablePushBackgroundChannel();
|
||||
}
|
||||
CIMGUI_API void igTablePopBackgroundChannel()
|
||||
{
|
||||
return ImGui::TablePopBackgroundChannel();
|
||||
}
|
||||
CIMGUI_API void igTablePushColumnChannel(int column_n)
|
||||
{
|
||||
return ImGui::TablePushColumnChannel(column_n);
|
||||
}
|
||||
CIMGUI_API void igTablePopColumnChannel()
|
||||
{
|
||||
return ImGui::TablePopColumnChannel();
|
||||
}
|
||||
CIMGUI_API void igTableAngledHeadersRowEx(ImGuiID row_id,float angle,float max_label_width,const ImGuiTableHeaderData* data,int data_count)
|
||||
{
|
||||
return ImGui::TableAngledHeadersRowEx(row_id,angle,max_label_width,data,data_count);
|
||||
}
|
||||
CIMGUI_API ImGuiTable* igGetCurrentTable()
|
||||
{
|
||||
return ImGui::GetCurrentTable();
|
||||
}
|
||||
CIMGUI_API ImGuiTable* igTableFindByID(ImGuiID id)
|
||||
{
|
||||
return ImGui::TableFindByID(id);
|
||||
}
|
||||
CIMGUI_API bool igBeginTableEx(const char* name,ImGuiID id,int columns_count,ImGuiTableFlags flags,const ImVec2_c outer_size,float inner_width)
|
||||
{
|
||||
return ImGui::BeginTableEx(name,id,columns_count,flags,ConvertToCPP_ImVec2(outer_size),inner_width);
|
||||
}
|
||||
CIMGUI_API void igTableBeginInitMemory(ImGuiTable* table,int columns_count)
|
||||
{
|
||||
return ImGui::TableBeginInitMemory(table,columns_count);
|
||||
}
|
||||
CIMGUI_API void igTableApplyQueuedRequests(ImGuiTable* table)
|
||||
{
|
||||
return ImGui::TableApplyQueuedRequests(table);
|
||||
}
|
||||
CIMGUI_API void igTableSetupDrawChannels(ImGuiTable* table)
|
||||
{
|
||||
return ImGui::TableSetupDrawChannels(table);
|
||||
}
|
||||
CIMGUI_API void igTableReconcileColumns(ImGuiTable* table)
|
||||
{
|
||||
return ImGui::TableReconcileColumns(table);
|
||||
}
|
||||
CIMGUI_API void igTableUpdateLayout(ImGuiTable* table)
|
||||
{
|
||||
return ImGui::TableUpdateLayout(table);
|
||||
}
|
||||
CIMGUI_API void igTableUpdateBorders(ImGuiTable* table)
|
||||
{
|
||||
return ImGui::TableUpdateBorders(table);
|
||||
}
|
||||
CIMGUI_API void igTableUpdateColumnsWeightFromWidth(ImGuiTable* table)
|
||||
{
|
||||
return ImGui::TableUpdateColumnsWeightFromWidth(table);
|
||||
}
|
||||
CIMGUI_API void igTableApplyExternalUnclipRect(ImGuiTable* table,ImRect* rect)
|
||||
{
|
||||
return ImGui::TableApplyExternalUnclipRect(table,*rect);
|
||||
}
|
||||
CIMGUI_API void igTableDrawBorders(ImGuiTable* table)
|
||||
{
|
||||
return ImGui::TableDrawBorders(table);
|
||||
}
|
||||
CIMGUI_API void igTableDrawDefaultContextMenu(ImGuiTable* table,ImGuiTableFlags flags_for_section_to_display)
|
||||
{
|
||||
return ImGui::TableDrawDefaultContextMenu(table,flags_for_section_to_display);
|
||||
}
|
||||
CIMGUI_API bool igTableBeginContextMenuPopup(ImGuiTable* table)
|
||||
{
|
||||
return ImGui::TableBeginContextMenuPopup(table);
|
||||
}
|
||||
CIMGUI_API void igTableMergeDrawChannels(ImGuiTable* table)
|
||||
{
|
||||
return ImGui::TableMergeDrawChannels(table);
|
||||
}
|
||||
CIMGUI_API ImGuiTableInstanceData* igTableGetInstanceData(ImGuiTable* table,int instance_no)
|
||||
{
|
||||
return ImGui::TableGetInstanceData(table,instance_no);
|
||||
}
|
||||
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);
|
||||
}
|
||||
CIMGUI_API void igTableSortSpecsBuild(ImGuiTable* table)
|
||||
{
|
||||
return ImGui::TableSortSpecsBuild(table);
|
||||
}
|
||||
CIMGUI_API void igTableInitColumnDefaults(ImGuiTable* table,ImGuiTableColumn* column,ImGuiTableColumnFlags init_mask)
|
||||
{
|
||||
return ImGui::TableInitColumnDefaults(table,column,init_mask);
|
||||
}
|
||||
CIMGUI_API ImGuiSortDirection igTableGetColumnNextSortDirection(ImGuiTableColumn* column)
|
||||
{
|
||||
return ImGui::TableGetColumnNextSortDirection(column);
|
||||
}
|
||||
CIMGUI_API void igTableFixColumnSortDirection(ImGuiTable* table,ImGuiTableColumn* column)
|
||||
{
|
||||
return ImGui::TableFixColumnSortDirection(table,column);
|
||||
}
|
||||
CIMGUI_API float igTableGetColumnWidthAuto(ImGuiTable* table,ImGuiTableColumn* column)
|
||||
{
|
||||
return ImGui::TableGetColumnWidthAuto(table,column);
|
||||
}
|
||||
CIMGUI_API void igTableBeginRow(ImGuiTable* table)
|
||||
{
|
||||
return ImGui::TableBeginRow(table);
|
||||
}
|
||||
CIMGUI_API void igTableEndRow(ImGuiTable* table)
|
||||
{
|
||||
return ImGui::TableEndRow(table);
|
||||
}
|
||||
CIMGUI_API void igTableBeginCell(ImGuiTable* table,int column_n)
|
||||
{
|
||||
return ImGui::TableBeginCell(table,column_n);
|
||||
}
|
||||
CIMGUI_API void igTableEndCell(ImGuiTable* table)
|
||||
{
|
||||
return ImGui::TableEndCell(table);
|
||||
}
|
||||
CIMGUI_API ImRect_c igTableGetCellBgRect(const ImGuiTable* table,int column_n)
|
||||
{
|
||||
return ConvertFromCPP_ImRect(ImGui::TableGetCellBgRect(table,column_n));
|
||||
}
|
||||
CIMGUI_API const char* igTableGetColumnName_TablePtr(const ImGuiTable* table,int column_n)
|
||||
{
|
||||
return ImGui::TableGetColumnName(table,column_n);
|
||||
}
|
||||
CIMGUI_API ImGuiID igTableGetColumnResizeID(ImGuiTable* table,int column_n,int instance_no)
|
||||
{
|
||||
return ImGui::TableGetColumnResizeID(table,column_n,instance_no);
|
||||
}
|
||||
CIMGUI_API float igTableCalcMaxColumnWidth(const ImGuiTable* table,int column_n)
|
||||
{
|
||||
return ImGui::TableCalcMaxColumnWidth(table,column_n);
|
||||
}
|
||||
CIMGUI_API void igTableSetColumnWidthAutoSingle(ImGuiTable* table,int column_n)
|
||||
{
|
||||
return ImGui::TableSetColumnWidthAutoSingle(table,column_n);
|
||||
}
|
||||
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 igTableQueueSetColumnDisplayOrder(ImGuiTable* table,int column_n,int dst_order)
|
||||
{
|
||||
return ImGui::TableQueueSetColumnDisplayOrder(table,column_n,dst_order);
|
||||
}
|
||||
CIMGUI_API void igTableRemove(ImGuiTable* table)
|
||||
{
|
||||
return ImGui::TableRemove(table);
|
||||
}
|
||||
CIMGUI_API void igTableGcCompactTransientBuffers_TablePtr(ImGuiTable* table)
|
||||
{
|
||||
return ImGui::TableGcCompactTransientBuffers(table);
|
||||
}
|
||||
CIMGUI_API void igTableGcCompactTransientBuffers_TableTempDataPtr(ImGuiTableTempData* table)
|
||||
{
|
||||
return ImGui::TableGcCompactTransientBuffers(table);
|
||||
}
|
||||
CIMGUI_API void igTableGcCompactSettings()
|
||||
{
|
||||
return ImGui::TableGcCompactSettings();
|
||||
}
|
||||
CIMGUI_API void igTableLoadSettings(ImGuiTable* table)
|
||||
{
|
||||
return ImGui::TableLoadSettings(table);
|
||||
}
|
||||
CIMGUI_API void igTableLoadSettingsForColumns(ImGuiTable* table)
|
||||
{
|
||||
return ImGui::TableLoadSettingsForColumns(table);
|
||||
}
|
||||
CIMGUI_API void igTableLoadSettingsForColumn(ImGuiTableColumn* column,ImGuiTableColumnSettings* column_settings,ImGuiTableFlags load_flags)
|
||||
{
|
||||
return ImGui::TableLoadSettingsForColumn(column,column_settings,load_flags);
|
||||
}
|
||||
CIMGUI_API void igTableSaveSettings(ImGuiTable* table)
|
||||
{
|
||||
return ImGui::TableSaveSettings(table);
|
||||
}
|
||||
CIMGUI_API void igTableResetSettings(ImGuiTable* table)
|
||||
{
|
||||
return ImGui::TableResetSettings(table);
|
||||
}
|
||||
CIMGUI_API ImGuiTableSettings* igTableGetBoundSettings(ImGuiTable* table)
|
||||
{
|
||||
return ImGui::TableGetBoundSettings(table);
|
||||
}
|
||||
CIMGUI_API void igTableSettingsAddSettingsHandler()
|
||||
{
|
||||
return ImGui::TableSettingsAddSettingsHandler();
|
||||
}
|
||||
CIMGUI_API ImGuiTableSettings* igTableSettingsCreate(ImGuiID id,int columns_count)
|
||||
{
|
||||
return ImGui::TableSettingsCreate(id,columns_count);
|
||||
}
|
||||
CIMGUI_API ImGuiTableSettings* igTableSettingsFindByID(ImGuiID id)
|
||||
{
|
||||
return ImGui::TableSettingsFindByID(id);
|
||||
}
|
||||
CIMGUI_API void igSetWindowClipRectBeforeSetChannel(ImGuiWindow* window,const ImRect_c clip_rect)
|
||||
{
|
||||
return ImGui::SetWindowClipRectBeforeSetChannel(window,ConvertToCPP_ImRect(clip_rect));
|
||||
}
|
||||
CIMGUI_API void igBeginColumns(const char* str_id,int count,ImGuiOldColumnFlags flags)
|
||||
{
|
||||
return ImGui::BeginColumns(str_id,count,flags);
|
||||
}
|
||||
CIMGUI_API void igEndColumns()
|
||||
{
|
||||
return ImGui::EndColumns();
|
||||
}
|
||||
CIMGUI_API void igPushColumnClipRect(int column_index)
|
||||
{
|
||||
return ImGui::PushColumnClipRect(column_index);
|
||||
}
|
||||
CIMGUI_API void igPushColumnsBackground()
|
||||
{
|
||||
return ImGui::PushColumnsBackground();
|
||||
}
|
||||
CIMGUI_API void igPopColumnsBackground()
|
||||
{
|
||||
return ImGui::PopColumnsBackground();
|
||||
}
|
||||
CIMGUI_API ImGuiID igGetColumnsID(const char* str_id,int count)
|
||||
{
|
||||
return ImGui::GetColumnsID(str_id,count);
|
||||
}
|
||||
CIMGUI_API ImGuiOldColumns* igFindOrCreateColumns(ImGuiWindow* window,ImGuiID id)
|
||||
{
|
||||
return ImGui::FindOrCreateColumns(window,id);
|
||||
}
|
||||
CIMGUI_API float igGetColumnOffsetFromNorm(const ImGuiOldColumns* columns,float offset_norm)
|
||||
{
|
||||
return ImGui::GetColumnOffsetFromNorm(columns,offset_norm);
|
||||
}
|
||||
CIMGUI_API float igGetColumnNormFromOffset(const ImGuiOldColumns* columns,float offset)
|
||||
{
|
||||
return ImGui::GetColumnNormFromOffset(columns,offset);
|
||||
}
|
||||
CIMGUI_API ImGuiIO* igGetIO_ContextPtr(ImGuiContext* ctx)
|
||||
{
|
||||
return &ImGui::GetIO(ctx);
|
||||
@@ -4469,6 +4793,10 @@ CIMGUI_API void igClearIniSettings()
|
||||
{
|
||||
return ImGui::ClearIniSettings();
|
||||
}
|
||||
CIMGUI_API void igCleanupIniSettings(ImGuiSettingsCleanupArgs* args)
|
||||
{
|
||||
return ImGui::CleanupIniSettings(args);
|
||||
}
|
||||
CIMGUI_API void igAddSettingsHandler(const ImGuiSettingsHandler* handler)
|
||||
{
|
||||
return ImGui::AddSettingsHandler(handler);
|
||||
@@ -4669,6 +4997,10 @@ CIMGUI_API bool igBeginChildEx(const char* name,ImGuiID id,const ImVec2_c size_a
|
||||
{
|
||||
return ImGui::BeginChildEx(name,id,ConvertToCPP_ImVec2(size_arg),child_flags,window_flags);
|
||||
}
|
||||
CIMGUI_API ImGuiWindow* igFindFrontMostVisibleChildWindow(ImGuiWindow* window)
|
||||
{
|
||||
return ImGui::FindFrontMostVisibleChildWindow(window);
|
||||
}
|
||||
CIMGUI_API bool igBeginPopupEx(ImGuiID id,ImGuiWindowFlags extra_window_flags)
|
||||
{
|
||||
return ImGui::BeginPopupEx(id,extra_window_flags);
|
||||
@@ -4677,7 +5009,7 @@ CIMGUI_API bool igBeginPopupMenuEx(ImGuiID id,const char* label,ImGuiWindowFlags
|
||||
{
|
||||
return ImGui::BeginPopupMenuEx(id,label,extra_window_flags);
|
||||
}
|
||||
CIMGUI_API void igOpenPopupEx(ImGuiID id,ImGuiPopupFlags popup_flags)
|
||||
CIMGUI_API bool igOpenPopupEx(ImGuiID id,ImGuiPopupFlags popup_flags)
|
||||
{
|
||||
return ImGui::OpenPopupEx(id,popup_flags);
|
||||
}
|
||||
@@ -4941,7 +5273,7 @@ CIMGUI_API void igSetKeyOwnersForKeyChord(ImGuiKeyChord key,ImGuiID owner_id,ImG
|
||||
{
|
||||
return ImGui::SetKeyOwnersForKeyChord(key,owner_id,flags);
|
||||
}
|
||||
CIMGUI_API void igSetItemKeyOwner_InputFlags(ImGuiKey key,ImGuiInputFlags flags)
|
||||
CIMGUI_API bool igSetItemKeyOwner_InputFlags(ImGuiKey key,ImGuiInputFlags flags)
|
||||
{
|
||||
return ImGui::SetItemKeyOwner(key,flags);
|
||||
}
|
||||
@@ -5009,6 +5341,10 @@ CIMGUI_API void igPopFocusScope()
|
||||
{
|
||||
return ImGui::PopFocusScope();
|
||||
}
|
||||
CIMGUI_API bool igIsInNavFocusRoute(ImGuiID focus_scope_id)
|
||||
{
|
||||
return ImGui::IsInNavFocusRoute(focus_scope_id);
|
||||
}
|
||||
CIMGUI_API ImGuiID igGetCurrentFocusScope()
|
||||
{
|
||||
return ImGui::GetCurrentFocusScope();
|
||||
@@ -5037,9 +5373,9 @@ CIMGUI_API void igRenderDragDropTargetRectForItem(const ImRect_c bb)
|
||||
{
|
||||
return ImGui::RenderDragDropTargetRectForItem(ConvertToCPP_ImRect(bb));
|
||||
}
|
||||
CIMGUI_API void igRenderDragDropTargetRectEx(ImDrawList* draw_list,const ImRect_c bb)
|
||||
CIMGUI_API void igRenderDragDropTargetRectEx(ImDrawList* draw_list,const ImRect_c bb,float rounding)
|
||||
{
|
||||
return ImGui::RenderDragDropTargetRectEx(draw_list,ConvertToCPP_ImRect(bb));
|
||||
return ImGui::RenderDragDropTargetRectEx(draw_list,ConvertToCPP_ImRect(bb),rounding);
|
||||
}
|
||||
CIMGUI_API ImGuiTypingSelectRequest* igGetTypingSelectRequest(ImGuiTypingSelectFlags flags)
|
||||
{
|
||||
@@ -5069,9 +5405,9 @@ CIMGUI_API void igMultiSelectItemHeader(ImGuiID id,bool* p_selected,ImGuiButtonF
|
||||
{
|
||||
return ImGui::MultiSelectItemHeader(id,p_selected,p_button_flags);
|
||||
}
|
||||
CIMGUI_API void igMultiSelectItemFooter(ImGuiID id,bool* p_selected,bool* p_pressed)
|
||||
CIMGUI_API void igMultiSelectItemFooter(ImGuiID id,bool* p_selected,bool* p_pressed,ImGuiMultiSelectFlags extra_flags)
|
||||
{
|
||||
return ImGui::MultiSelectItemFooter(id,p_selected,p_pressed);
|
||||
return ImGui::MultiSelectItemFooter(id,p_selected,p_pressed,extra_flags);
|
||||
}
|
||||
CIMGUI_API void igMultiSelectAddSetAll(ImGuiMultiSelectTempData* ms,bool selected)
|
||||
{
|
||||
@@ -5089,266 +5425,6 @@ CIMGUI_API ImGuiMultiSelectState* igGetMultiSelectState(ImGuiID id)
|
||||
{
|
||||
return ImGui::GetMultiSelectState(id);
|
||||
}
|
||||
CIMGUI_API void igSetWindowClipRectBeforeSetChannel(ImGuiWindow* window,const ImRect_c clip_rect)
|
||||
{
|
||||
return ImGui::SetWindowClipRectBeforeSetChannel(window,ConvertToCPP_ImRect(clip_rect));
|
||||
}
|
||||
CIMGUI_API void igBeginColumns(const char* str_id,int count,ImGuiOldColumnFlags flags)
|
||||
{
|
||||
return ImGui::BeginColumns(str_id,count,flags);
|
||||
}
|
||||
CIMGUI_API void igEndColumns()
|
||||
{
|
||||
return ImGui::EndColumns();
|
||||
}
|
||||
CIMGUI_API void igPushColumnClipRect(int column_index)
|
||||
{
|
||||
return ImGui::PushColumnClipRect(column_index);
|
||||
}
|
||||
CIMGUI_API void igPushColumnsBackground()
|
||||
{
|
||||
return ImGui::PushColumnsBackground();
|
||||
}
|
||||
CIMGUI_API void igPopColumnsBackground()
|
||||
{
|
||||
return ImGui::PopColumnsBackground();
|
||||
}
|
||||
CIMGUI_API ImGuiID igGetColumnsID(const char* str_id,int count)
|
||||
{
|
||||
return ImGui::GetColumnsID(str_id,count);
|
||||
}
|
||||
CIMGUI_API ImGuiOldColumns* igFindOrCreateColumns(ImGuiWindow* window,ImGuiID id)
|
||||
{
|
||||
return ImGui::FindOrCreateColumns(window,id);
|
||||
}
|
||||
CIMGUI_API float igGetColumnOffsetFromNorm(const ImGuiOldColumns* columns,float offset_norm)
|
||||
{
|
||||
return ImGui::GetColumnOffsetFromNorm(columns,offset_norm);
|
||||
}
|
||||
CIMGUI_API float igGetColumnNormFromOffset(const ImGuiOldColumns* columns,float offset)
|
||||
{
|
||||
return ImGui::GetColumnNormFromOffset(columns,offset);
|
||||
}
|
||||
CIMGUI_API void igTableOpenContextMenu(int column_n)
|
||||
{
|
||||
return ImGui::TableOpenContextMenu(column_n);
|
||||
}
|
||||
CIMGUI_API void igTableSetColumnWidth(int column_n,float width)
|
||||
{
|
||||
return ImGui::TableSetColumnWidth(column_n,width);
|
||||
}
|
||||
CIMGUI_API void igTableSetColumnSortDirection(int column_n,ImGuiSortDirection sort_direction,bool append_to_sort_specs)
|
||||
{
|
||||
return ImGui::TableSetColumnSortDirection(column_n,sort_direction,append_to_sort_specs);
|
||||
}
|
||||
CIMGUI_API int igTableGetHoveredRow()
|
||||
{
|
||||
return ImGui::TableGetHoveredRow();
|
||||
}
|
||||
CIMGUI_API float igTableGetHeaderRowHeight()
|
||||
{
|
||||
return ImGui::TableGetHeaderRowHeight();
|
||||
}
|
||||
CIMGUI_API float igTableGetHeaderAngledMaxLabelWidth()
|
||||
{
|
||||
return ImGui::TableGetHeaderAngledMaxLabelWidth();
|
||||
}
|
||||
CIMGUI_API void igTablePushBackgroundChannel()
|
||||
{
|
||||
return ImGui::TablePushBackgroundChannel();
|
||||
}
|
||||
CIMGUI_API void igTablePopBackgroundChannel()
|
||||
{
|
||||
return ImGui::TablePopBackgroundChannel();
|
||||
}
|
||||
CIMGUI_API void igTablePushColumnChannel(int column_n)
|
||||
{
|
||||
return ImGui::TablePushColumnChannel(column_n);
|
||||
}
|
||||
CIMGUI_API void igTablePopColumnChannel()
|
||||
{
|
||||
return ImGui::TablePopColumnChannel();
|
||||
}
|
||||
CIMGUI_API void igTableAngledHeadersRowEx(ImGuiID row_id,float angle,float max_label_width,const ImGuiTableHeaderData* data,int data_count)
|
||||
{
|
||||
return ImGui::TableAngledHeadersRowEx(row_id,angle,max_label_width,data,data_count);
|
||||
}
|
||||
CIMGUI_API ImGuiTable* igGetCurrentTable()
|
||||
{
|
||||
return ImGui::GetCurrentTable();
|
||||
}
|
||||
CIMGUI_API ImGuiTable* igTableFindByID(ImGuiID id)
|
||||
{
|
||||
return ImGui::TableFindByID(id);
|
||||
}
|
||||
CIMGUI_API bool igBeginTableEx(const char* name,ImGuiID id,int columns_count,ImGuiTableFlags flags,const ImVec2_c outer_size,float inner_width)
|
||||
{
|
||||
return ImGui::BeginTableEx(name,id,columns_count,flags,ConvertToCPP_ImVec2(outer_size),inner_width);
|
||||
}
|
||||
CIMGUI_API void igTableBeginInitMemory(ImGuiTable* table,int columns_count)
|
||||
{
|
||||
return ImGui::TableBeginInitMemory(table,columns_count);
|
||||
}
|
||||
CIMGUI_API void igTableBeginApplyRequests(ImGuiTable* table)
|
||||
{
|
||||
return ImGui::TableBeginApplyRequests(table);
|
||||
}
|
||||
CIMGUI_API void igTableSetupDrawChannels(ImGuiTable* table)
|
||||
{
|
||||
return ImGui::TableSetupDrawChannels(table);
|
||||
}
|
||||
CIMGUI_API void igTableUpdateLayout(ImGuiTable* table)
|
||||
{
|
||||
return ImGui::TableUpdateLayout(table);
|
||||
}
|
||||
CIMGUI_API void igTableUpdateBorders(ImGuiTable* table)
|
||||
{
|
||||
return ImGui::TableUpdateBorders(table);
|
||||
}
|
||||
CIMGUI_API void igTableUpdateColumnsWeightFromWidth(ImGuiTable* table)
|
||||
{
|
||||
return ImGui::TableUpdateColumnsWeightFromWidth(table);
|
||||
}
|
||||
CIMGUI_API void igTableDrawBorders(ImGuiTable* table)
|
||||
{
|
||||
return ImGui::TableDrawBorders(table);
|
||||
}
|
||||
CIMGUI_API void igTableDrawDefaultContextMenu(ImGuiTable* table,ImGuiTableFlags flags_for_section_to_display)
|
||||
{
|
||||
return ImGui::TableDrawDefaultContextMenu(table,flags_for_section_to_display);
|
||||
}
|
||||
CIMGUI_API bool igTableBeginContextMenuPopup(ImGuiTable* table)
|
||||
{
|
||||
return ImGui::TableBeginContextMenuPopup(table);
|
||||
}
|
||||
CIMGUI_API void igTableMergeDrawChannels(ImGuiTable* table)
|
||||
{
|
||||
return ImGui::TableMergeDrawChannels(table);
|
||||
}
|
||||
CIMGUI_API ImGuiTableInstanceData* igTableGetInstanceData(ImGuiTable* table,int instance_no)
|
||||
{
|
||||
return ImGui::TableGetInstanceData(table,instance_no);
|
||||
}
|
||||
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);
|
||||
}
|
||||
CIMGUI_API void igTableSortSpecsBuild(ImGuiTable* table)
|
||||
{
|
||||
return ImGui::TableSortSpecsBuild(table);
|
||||
}
|
||||
CIMGUI_API ImGuiSortDirection igTableGetColumnNextSortDirection(ImGuiTableColumn* column)
|
||||
{
|
||||
return ImGui::TableGetColumnNextSortDirection(column);
|
||||
}
|
||||
CIMGUI_API void igTableFixColumnSortDirection(ImGuiTable* table,ImGuiTableColumn* column)
|
||||
{
|
||||
return ImGui::TableFixColumnSortDirection(table,column);
|
||||
}
|
||||
CIMGUI_API float igTableGetColumnWidthAuto(ImGuiTable* table,ImGuiTableColumn* column)
|
||||
{
|
||||
return ImGui::TableGetColumnWidthAuto(table,column);
|
||||
}
|
||||
CIMGUI_API void igTableBeginRow(ImGuiTable* table)
|
||||
{
|
||||
return ImGui::TableBeginRow(table);
|
||||
}
|
||||
CIMGUI_API void igTableEndRow(ImGuiTable* table)
|
||||
{
|
||||
return ImGui::TableEndRow(table);
|
||||
}
|
||||
CIMGUI_API void igTableBeginCell(ImGuiTable* table,int column_n)
|
||||
{
|
||||
return ImGui::TableBeginCell(table,column_n);
|
||||
}
|
||||
CIMGUI_API void igTableEndCell(ImGuiTable* table)
|
||||
{
|
||||
return ImGui::TableEndCell(table);
|
||||
}
|
||||
CIMGUI_API ImRect_c igTableGetCellBgRect(const ImGuiTable* table,int column_n)
|
||||
{
|
||||
return ConvertFromCPP_ImRect(ImGui::TableGetCellBgRect(table,column_n));
|
||||
}
|
||||
CIMGUI_API const char* igTableGetColumnName_TablePtr(const ImGuiTable* table,int column_n)
|
||||
{
|
||||
return ImGui::TableGetColumnName(table,column_n);
|
||||
}
|
||||
CIMGUI_API ImGuiID igTableGetColumnResizeID(ImGuiTable* table,int column_n,int instance_no)
|
||||
{
|
||||
return ImGui::TableGetColumnResizeID(table,column_n,instance_no);
|
||||
}
|
||||
CIMGUI_API float igTableCalcMaxColumnWidth(const ImGuiTable* table,int column_n)
|
||||
{
|
||||
return ImGui::TableCalcMaxColumnWidth(table,column_n);
|
||||
}
|
||||
CIMGUI_API void igTableSetColumnWidthAutoSingle(ImGuiTable* table,int column_n)
|
||||
{
|
||||
return ImGui::TableSetColumnWidthAutoSingle(table,column_n);
|
||||
}
|
||||
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 igTableQueueSetColumnDisplayOrder(ImGuiTable* table,int column_n,int dst_order)
|
||||
{
|
||||
return ImGui::TableQueueSetColumnDisplayOrder(table,column_n,dst_order);
|
||||
}
|
||||
CIMGUI_API void igTableRemove(ImGuiTable* table)
|
||||
{
|
||||
return ImGui::TableRemove(table);
|
||||
}
|
||||
CIMGUI_API void igTableGcCompactTransientBuffers_TablePtr(ImGuiTable* table)
|
||||
{
|
||||
return ImGui::TableGcCompactTransientBuffers(table);
|
||||
}
|
||||
CIMGUI_API void igTableGcCompactTransientBuffers_TableTempDataPtr(ImGuiTableTempData* table)
|
||||
{
|
||||
return ImGui::TableGcCompactTransientBuffers(table);
|
||||
}
|
||||
CIMGUI_API void igTableGcCompactSettings()
|
||||
{
|
||||
return ImGui::TableGcCompactSettings();
|
||||
}
|
||||
CIMGUI_API void igTableLoadSettings(ImGuiTable* table)
|
||||
{
|
||||
return ImGui::TableLoadSettings(table);
|
||||
}
|
||||
CIMGUI_API void igTableSaveSettings(ImGuiTable* table)
|
||||
{
|
||||
return ImGui::TableSaveSettings(table);
|
||||
}
|
||||
CIMGUI_API void igTableResetSettings(ImGuiTable* table)
|
||||
{
|
||||
return ImGui::TableResetSettings(table);
|
||||
}
|
||||
CIMGUI_API ImGuiTableSettings* igTableGetBoundSettings(ImGuiTable* table)
|
||||
{
|
||||
return ImGui::TableGetBoundSettings(table);
|
||||
}
|
||||
CIMGUI_API void igTableSettingsAddSettingsHandler()
|
||||
{
|
||||
return ImGui::TableSettingsAddSettingsHandler();
|
||||
}
|
||||
CIMGUI_API ImGuiTableSettings* igTableSettingsCreate(ImGuiID id,int columns_count)
|
||||
{
|
||||
return ImGui::TableSettingsCreate(id,columns_count);
|
||||
}
|
||||
CIMGUI_API ImGuiTableSettings* igTableSettingsFindByID(ImGuiID id)
|
||||
{
|
||||
return ImGui::TableSettingsFindByID(id);
|
||||
}
|
||||
CIMGUI_API ImGuiTabBar* igGetCurrentTabBar()
|
||||
{
|
||||
return ImGui::GetCurrentTabBar();
|
||||
@@ -5473,9 +5549,9 @@ CIMGUI_API void igRenderColorRectWithAlphaCheckerboard(ImDrawList* draw_list,ImV
|
||||
{
|
||||
return ImGui::RenderColorRectWithAlphaCheckerboard(draw_list,ConvertToCPP_ImVec2(p_min),ConvertToCPP_ImVec2(p_max),fill_col,grid_step,ConvertToCPP_ImVec2(grid_off),rounding,flags);
|
||||
}
|
||||
CIMGUI_API void igRenderNavCursor(const ImRect_c bb,ImGuiID id,ImGuiNavRenderCursorFlags flags)
|
||||
CIMGUI_API void igRenderNavCursor(const ImRect_c bb,ImGuiID id,ImGuiNavRenderCursorFlags flags,float rounding)
|
||||
{
|
||||
return ImGui::RenderNavCursor(ConvertToCPP_ImRect(bb),id,flags);
|
||||
return ImGui::RenderNavCursor(ConvertToCPP_ImRect(bb),id,flags,rounding);
|
||||
}
|
||||
CIMGUI_API const char* igFindRenderedTextEnd(const char* text,const char* text_end)
|
||||
{
|
||||
@@ -5874,9 +5950,9 @@ CIMGUI_API void igDebugNodeTable(ImGuiTable* table)
|
||||
{
|
||||
return ImGui::DebugNodeTable(table);
|
||||
}
|
||||
CIMGUI_API void igDebugNodeTableSettings(ImGuiTableSettings* settings)
|
||||
CIMGUI_API void igDebugNodeTableSettings(ImGuiTableSettings* settings,ImGuiTable* table)
|
||||
{
|
||||
return ImGui::DebugNodeTableSettings(settings);
|
||||
return ImGui::DebugNodeTableSettings(settings,table);
|
||||
}
|
||||
CIMGUI_API void igDebugNodeInputTextState(ImGuiInputTextState* state)
|
||||
{
|
||||
@@ -6150,6 +6226,14 @@ CIMGUI_API void igImFontAtlasTextureBlockQueueUpload(ImFontAtlas* atlas,ImTextur
|
||||
{
|
||||
return ImFontAtlasTextureBlockQueueUpload(atlas,tex,x,y,w,h);
|
||||
}
|
||||
CIMGUI_API bool igImTextureDataUpdateNewFrame(ImTextureData* tex)
|
||||
{
|
||||
return ImTextureDataUpdateNewFrame(tex);
|
||||
}
|
||||
CIMGUI_API void igImTextureDataQueueUpload(ImTextureData* tex,int x,int y,int w,int h)
|
||||
{
|
||||
return ImTextureDataQueueUpload(tex,x,y,w,h);
|
||||
}
|
||||
CIMGUI_API int igImTextureDataGetFormatBytesPerPixel(ImTextureFormat format)
|
||||
{
|
||||
return ImTextureDataGetFormatBytesPerPixel(format);
|
||||
|
||||
340
cimgui.h
340
cimgui.h
@@ -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.7" 19270 from Dear ImGui https://github.com/ocornut/imgui
|
||||
//based on imgui.h file version "1.92.9" 19290 from Dear ImGui https://github.com/ocornut/imgui
|
||||
//with imgui_internal.h api
|
||||
//with imgui_freetype.h api
|
||||
#ifndef CIMGUI_INCLUDED
|
||||
@@ -91,6 +91,7 @@ typedef struct ImGuiViewport ImGuiViewport;
|
||||
typedef struct ImBitVector ImBitVector;
|
||||
typedef struct ImRect_c ImRect_c;
|
||||
typedef struct ImGuiTextIndex ImGuiTextIndex;
|
||||
typedef struct ImGuiPackedDate ImGuiPackedDate;
|
||||
typedef struct ImDrawDataBuilder ImDrawDataBuilder;
|
||||
typedef struct ImFontAtlasPostProcessData ImFontAtlasPostProcessData;
|
||||
typedef struct ImFontAtlasRectEntry ImFontAtlasRectEntry;
|
||||
@@ -310,6 +311,9 @@ typedef enum {
|
||||
ImGuiItemFlags_AutoClosePopups = 1 << 4,
|
||||
ImGuiItemFlags_AllowDuplicateId = 1 << 5,
|
||||
ImGuiItemFlags_Disabled = 1 << 6,
|
||||
ImGuiItemFlags_LiveEditOnInputText = 1 << 7,
|
||||
ImGuiItemFlags_LiveEditOnInputScalar = 1 << 8,
|
||||
ImGuiItemFlags_LiveEditOnInput = ImGuiItemFlags_LiveEditOnInputText | ImGuiItemFlags_LiveEditOnInputScalar,
|
||||
}ImGuiItemFlags_;
|
||||
typedef enum {
|
||||
ImGuiInputTextFlags_None = 0,
|
||||
@@ -719,6 +723,7 @@ typedef enum {
|
||||
ImGuiCol_ScrollbarGrabHovered,
|
||||
ImGuiCol_ScrollbarGrabActive,
|
||||
ImGuiCol_CheckMark,
|
||||
ImGuiCol_CheckboxSelectedBg,
|
||||
ImGuiCol_SliderGrab,
|
||||
ImGuiCol_SliderGrabActive,
|
||||
ImGuiCol_Button,
|
||||
@@ -798,6 +803,9 @@ typedef enum {
|
||||
ImGuiStyleVar_TableAngledHeadersTextAlign,
|
||||
ImGuiStyleVar_TreeLinesSize,
|
||||
ImGuiStyleVar_TreeLinesRounding,
|
||||
ImGuiStyleVar_MenuItemRounding,
|
||||
ImGuiStyleVar_SelectableRounding,
|
||||
ImGuiStyleVar_DragDropTargetRounding,
|
||||
ImGuiStyleVar_ButtonTextAlign,
|
||||
ImGuiStyleVar_SelectableTextAlign,
|
||||
ImGuiStyleVar_SeparatorSize,
|
||||
@@ -840,8 +848,9 @@ typedef enum {
|
||||
ImGuiColorEditFlags_Float = 1 << 24,
|
||||
ImGuiColorEditFlags_PickerHueBar = 1 << 25,
|
||||
ImGuiColorEditFlags_PickerHueWheel = 1 << 26,
|
||||
ImGuiColorEditFlags_InputRGB = 1 << 27,
|
||||
ImGuiColorEditFlags_InputHSV = 1 << 28,
|
||||
ImGuiColorEditFlags_PickerNoRotate = 1 << 27,
|
||||
ImGuiColorEditFlags_InputRGB = 1 << 28,
|
||||
ImGuiColorEditFlags_InputHSV = 1 << 29,
|
||||
ImGuiColorEditFlags_DefaultOptions_ = ImGuiColorEditFlags_Uint8 | ImGuiColorEditFlags_DisplayRGB | ImGuiColorEditFlags_InputRGB | ImGuiColorEditFlags_PickerHueBar,
|
||||
ImGuiColorEditFlags_AlphaMask_ = ImGuiColorEditFlags_NoAlpha | ImGuiColorEditFlags_AlphaOpaque | ImGuiColorEditFlags_AlphaNoBg | ImGuiColorEditFlags_AlphaPreviewHalf,
|
||||
ImGuiColorEditFlags_DisplayMask_ = ImGuiColorEditFlags_DisplayRGB | ImGuiColorEditFlags_DisplayHSV | ImGuiColorEditFlags_DisplayHex,
|
||||
@@ -1036,6 +1045,8 @@ struct ImGuiStyle
|
||||
ImGuiTreeNodeFlags TreeLinesFlags;
|
||||
float TreeLinesSize;
|
||||
float TreeLinesRounding;
|
||||
float MenuItemRounding;
|
||||
float SelectableRounding;
|
||||
float DragDropTargetRounding;
|
||||
float DragDropTargetBorderSize;
|
||||
float DragDropTargetPadding;
|
||||
@@ -1043,6 +1054,7 @@ struct ImGuiStyle
|
||||
ImGuiDir ColorButtonPosition;
|
||||
ImVec2_c ButtonTextAlign;
|
||||
ImVec2_c SelectableTextAlign;
|
||||
float InputTextCursorSize;
|
||||
float SeparatorSize;
|
||||
float SeparatorTextBorderSize;
|
||||
ImVec2_c SeparatorTextAlign;
|
||||
@@ -1094,19 +1106,24 @@ struct ImGuiIO
|
||||
bool ConfigNavEscapeClearFocusWindow;
|
||||
bool ConfigNavCursorVisibleAuto;
|
||||
bool ConfigNavCursorVisibleAlways;
|
||||
bool MouseDrawCursor;
|
||||
bool ConfigMacOSXBehaviors;
|
||||
bool ConfigInputTrickleEventQueue;
|
||||
bool ConfigInputTextCursorBlink;
|
||||
bool ConfigInputTextEnterKeepActive;
|
||||
ImGuiColorEditFlags ConfigColorEditFlags;
|
||||
bool ConfigDragClickToInputText;
|
||||
bool ConfigWindowsResizeFromEdges;
|
||||
bool ConfigWindowsMoveFromTitleBarOnly;
|
||||
bool ConfigWindowsCopyContentsWithCtrlC;
|
||||
bool ConfigScrollbarScrollByPage;
|
||||
bool ConfigIniSettingsSaveLastUsedDate;
|
||||
int ConfigIniSettingsAutoDiscardMonths;
|
||||
bool ConfigDebugIniSettings;
|
||||
bool MouseDrawCursor;
|
||||
float ConfigMemoryCompactTimer;
|
||||
float MouseDoubleClickTime;
|
||||
float MouseDoubleClickMaxDist;
|
||||
float MouseSingleClickDelay;
|
||||
float MouseDragThreshold;
|
||||
float KeyRepeatDelay;
|
||||
float KeyRepeatRate;
|
||||
@@ -1120,7 +1137,6 @@ struct ImGuiIO
|
||||
bool ConfigDebugBeginReturnValueOnce;
|
||||
bool ConfigDebugBeginReturnValueLoop;
|
||||
bool ConfigDebugIgnoreFocusLoss;
|
||||
bool ConfigDebugIniSettings;
|
||||
const char* BackendPlatformName;
|
||||
const char* BackendRendererName;
|
||||
void* BackendPlatformUserData;
|
||||
@@ -1289,6 +1305,7 @@ typedef enum {
|
||||
ImGuiMultiSelectFlags_NavWrapX = 1 << 16,
|
||||
ImGuiMultiSelectFlags_NoSelectOnRightClick = 1 << 17,
|
||||
ImGuiMultiSelectFlags_SelectOnMask_ = ImGuiMultiSelectFlags_SelectOnAuto | ImGuiMultiSelectFlags_SelectOnClickAlways | ImGuiMultiSelectFlags_SelectOnClickRelease,
|
||||
ImGuiMultiSelectFlags_CheckboxMode_ = 1 << 20,
|
||||
}ImGuiMultiSelectFlags_;
|
||||
typedef struct ImVector_ImGuiSelectionRequest {int Size;int Capacity;ImGuiSelectionRequest* Data;} ImVector_ImGuiSelectionRequest;
|
||||
|
||||
@@ -1374,19 +1391,20 @@ struct ImDrawListSplitter
|
||||
};
|
||||
typedef enum {
|
||||
ImDrawFlags_None = 0,
|
||||
ImDrawFlags_Closed = 1 << 0,
|
||||
ImDrawFlags_RoundCornersTopLeft = 1 << 4,
|
||||
ImDrawFlags_RoundCornersTopRight = 1 << 5,
|
||||
ImDrawFlags_RoundCornersBottomLeft = 1 << 6,
|
||||
ImDrawFlags_RoundCornersBottomRight = 1 << 7,
|
||||
ImDrawFlags_RoundCornersNone = 1 << 8,
|
||||
ImDrawFlags_RoundCornersAll = ImDrawFlags_RoundCornersTopLeft | ImDrawFlags_RoundCornersTopRight | ImDrawFlags_RoundCornersBottomLeft | ImDrawFlags_RoundCornersBottomRight,
|
||||
ImDrawFlags_RoundCornersDefault_ = ImDrawFlags_RoundCornersAll,
|
||||
ImDrawFlags_RoundCornersTop = ImDrawFlags_RoundCornersTopLeft | ImDrawFlags_RoundCornersTopRight,
|
||||
ImDrawFlags_RoundCornersBottom = ImDrawFlags_RoundCornersBottomLeft | ImDrawFlags_RoundCornersBottomRight,
|
||||
ImDrawFlags_RoundCornersLeft = ImDrawFlags_RoundCornersBottomLeft | ImDrawFlags_RoundCornersTopLeft,
|
||||
ImDrawFlags_RoundCornersRight = ImDrawFlags_RoundCornersBottomRight | ImDrawFlags_RoundCornersTopRight,
|
||||
ImDrawFlags_RoundCornersAll = ImDrawFlags_RoundCornersTopLeft | ImDrawFlags_RoundCornersTopRight | ImDrawFlags_RoundCornersBottomLeft | ImDrawFlags_RoundCornersBottomRight,
|
||||
ImDrawFlags_RoundCornersDefault_ = ImDrawFlags_RoundCornersAll,
|
||||
ImDrawFlags_RoundCornersMask_ = ImDrawFlags_RoundCornersAll | ImDrawFlags_RoundCornersNone,
|
||||
ImDrawFlags_Closed = 1 << 9,
|
||||
ImDrawFlags_InvalidMask_ = ~0x7FFFFFF0,
|
||||
}ImDrawFlags_;
|
||||
typedef enum {
|
||||
ImDrawListFlags_None = 0,
|
||||
@@ -1394,6 +1412,7 @@ typedef enum {
|
||||
ImDrawListFlags_AntiAliasedLinesUseTex = 1 << 1,
|
||||
ImDrawListFlags_AntiAliasedFill = 1 << 2,
|
||||
ImDrawListFlags_AllowVtxOffset = 1 << 3,
|
||||
ImDrawListFlags_TextNoPixelSnap = 1 << 4,
|
||||
}ImDrawListFlags_;
|
||||
typedef struct ImVector_ImDrawVert {int Size;int Capacity;ImDrawVert* Data;} ImVector_ImDrawVert;
|
||||
|
||||
@@ -1431,7 +1450,7 @@ typedef struct ImVector_ImTextureDataPtr {int Size;int Capacity;ImTextureData**
|
||||
struct ImDrawData
|
||||
{
|
||||
bool Valid;
|
||||
int CmdListsCount;
|
||||
int FrameCount;
|
||||
int TotalIdxCount;
|
||||
int TotalVtxCount;
|
||||
ImVector_ImDrawListPtr CmdLists;
|
||||
@@ -1464,6 +1483,7 @@ struct ImTextureData
|
||||
int UniqueID;
|
||||
ImTextureStatus Status;
|
||||
void* BackendUserData;
|
||||
void* QueueUserData;
|
||||
ImTextureID TexID;
|
||||
ImTextureFormat Format;
|
||||
int Width;
|
||||
@@ -1605,6 +1625,7 @@ typedef enum {
|
||||
ImFontFlags_NoLoadError = 1 << 1,
|
||||
ImFontFlags_NoLoadGlyphs = 1 << 2,
|
||||
ImFontFlags_LockBakedSizes = 1 << 3,
|
||||
ImFontFlags_ImplicitRefSize = 1 << 4,
|
||||
}ImFontFlags_;
|
||||
typedef struct ImVector_ImFontConfigPtr {int Size;int Capacity;ImFontConfig** Data;} ImVector_ImFontConfigPtr;
|
||||
|
||||
@@ -1651,9 +1672,13 @@ struct ImGuiPlatformIO
|
||||
void (*Platform_SetImeDataFn)(ImGuiContext* ctx, ImGuiViewport* viewport, ImGuiPlatformImeData* data);
|
||||
void* Platform_ImeUserData;
|
||||
ImWchar Platform_LocaleDecimalPoint;
|
||||
int Platform_SessionDate;
|
||||
int Renderer_TextureMaxWidth;
|
||||
int Renderer_TextureMaxHeight;
|
||||
void* Renderer_RenderState;
|
||||
ImDrawCallback DrawCallback_ResetRenderState;
|
||||
ImDrawCallback DrawCallback_SetSamplerLinear;
|
||||
ImDrawCallback DrawCallback_SetSamplerNearest;
|
||||
ImVector_ImTextureDataPtr Textures;
|
||||
};
|
||||
struct ImGuiPlatformImeData
|
||||
@@ -1667,6 +1692,7 @@ struct ImGuiPlatformImeData
|
||||
struct ImBitVector;
|
||||
struct ImRect_c;
|
||||
struct ImGuiTextIndex;
|
||||
struct ImGuiPackedDate;
|
||||
struct ImDrawDataBuilder;
|
||||
struct ImDrawListSharedData;
|
||||
struct ImFontAtlasBuilder;
|
||||
@@ -1776,6 +1802,12 @@ struct ImGuiTextIndex
|
||||
ImVector_int Offsets;
|
||||
int EndOffset;
|
||||
};
|
||||
struct ImGuiPackedDate
|
||||
{
|
||||
ImU16 Year : 7;
|
||||
ImU16 Month : 4;
|
||||
ImU16 Day : 5;
|
||||
};
|
||||
struct ImDrawListSharedData
|
||||
{
|
||||
ImVec2_c TexUvWhitePixel;
|
||||
@@ -1785,7 +1817,7 @@ struct ImDrawListSharedData
|
||||
float FontSize;
|
||||
float FontScale;
|
||||
float CurveTessellationTol;
|
||||
float CircleSegmentMaxError;
|
||||
float CircleTessellationMaxError;
|
||||
float InitialFringeScale;
|
||||
ImDrawListFlags InitialFlags;
|
||||
ImVec4_c ClipRectFullscreen;
|
||||
@@ -1851,7 +1883,7 @@ typedef enum {
|
||||
ImGuiItemFlags_Inputable = 1 << 20,
|
||||
ImGuiItemFlags_HasSelectionUserData = 1 << 21,
|
||||
ImGuiItemFlags_IsMultiSelect = 1 << 22,
|
||||
ImGuiItemFlags_Default_ = ImGuiItemFlags_AutoClosePopups,
|
||||
ImGuiItemFlags_Default_ = ImGuiItemFlags_AutoClosePopups | ImGuiItemFlags_LiveEditOnInputText,
|
||||
}ImGuiItemFlagsPrivate_;
|
||||
typedef enum {
|
||||
ImGuiItemStatusFlags_None = 0,
|
||||
@@ -1866,6 +1898,7 @@ typedef enum {
|
||||
ImGuiItemStatusFlags_Visible = 1 << 8,
|
||||
ImGuiItemStatusFlags_HasClipRect = 1 << 9,
|
||||
ImGuiItemStatusFlags_HasShortcut = 1 << 10,
|
||||
ImGuiItemStatusFlags_EditedInternal = 1 << 11,
|
||||
}ImGuiItemStatusFlags_;
|
||||
typedef enum {
|
||||
ImGuiHoveredFlags_DelayMask_ = ImGuiHoveredFlags_DelayNone | ImGuiHoveredFlags_DelayShort | ImGuiHoveredFlags_DelayNormal | ImGuiHoveredFlags_NoSharedDelay,
|
||||
@@ -1980,7 +2013,7 @@ struct ImGuiGroupData
|
||||
ImVec2_c BackupCurrLineSize;
|
||||
float BackupCurrLineTextBaseOffset;
|
||||
ImGuiID BackupActiveIdIsAlive;
|
||||
bool BackupActiveIdHasBeenEditedThisFrame;
|
||||
bool BackupAnyIdHasBeenEditedThisFrame;
|
||||
bool BackupDeactivatedIdIsAlive;
|
||||
bool BackupHoveredIdIsAlive;
|
||||
bool BackupIsSameLine;
|
||||
@@ -2001,6 +2034,7 @@ typedef struct ImGuiInputTextDeactivatedState ImGuiInputTextDeactivatedState;
|
||||
struct ImGuiInputTextDeactivatedState
|
||||
{
|
||||
ImGuiID ID;
|
||||
int ElapseFrame;
|
||||
ImVector_char TextA;
|
||||
}; struct STB_TexteditState;
|
||||
typedef STB_TexteditState ImStbTexteditState;
|
||||
@@ -2087,7 +2121,7 @@ typedef enum {
|
||||
struct ImGuiNextItemData
|
||||
{
|
||||
ImGuiNextItemDataFlags HasFlags;
|
||||
ImGuiItemFlags ItemFlags;
|
||||
ImGuiItemFlags ItemFlagsSet;
|
||||
ImGuiID FocusScopeId;
|
||||
ImGuiSelectionUserData SelectionUserData;
|
||||
float Width;
|
||||
@@ -2339,7 +2373,6 @@ typedef enum {
|
||||
ImGuiNavRenderCursorFlags_None = 0,
|
||||
ImGuiNavRenderCursorFlags_Compact = 1 << 1,
|
||||
ImGuiNavRenderCursorFlags_AlwaysDraw = 1 << 2,
|
||||
ImGuiNavRenderCursorFlags_NoRounding = 1 << 3,
|
||||
}ImGuiNavRenderCursorFlags_;
|
||||
typedef enum {
|
||||
ImGuiNavMoveFlags_None = 0,
|
||||
@@ -2457,6 +2490,7 @@ struct ImGuiBoxSelectState
|
||||
ImGuiWindow* Window;
|
||||
bool UnclipMode;
|
||||
ImRect_c UnclipRect;
|
||||
ImRect_c UnclipRects[2];
|
||||
ImRect_c BoxSelectRectPrev;
|
||||
ImRect_c BoxSelectRectCurr;
|
||||
};
|
||||
@@ -2468,7 +2502,6 @@ struct ImGuiMultiSelectTempData
|
||||
ImGuiMultiSelectFlags Flags;
|
||||
ImVec2_c ScopeRectMin;
|
||||
ImVec2_c BackupCursorMaxPos;
|
||||
ImGuiSelectionUserData LastSubmittedItem;
|
||||
ImGuiID BoxSelectId;
|
||||
ImGuiKeyChord KeyMods;
|
||||
ImS8 LoopRequestSetAll;
|
||||
@@ -2478,6 +2511,7 @@ struct ImGuiMultiSelectTempData
|
||||
bool NavIdPassedBy;
|
||||
bool RangeSrcPassedBy;
|
||||
bool RangeDstPassedBy;
|
||||
bool IsSoleOrUnknownSelectionSize;
|
||||
};
|
||||
struct ImGuiMultiSelectState
|
||||
{
|
||||
@@ -2508,10 +2542,22 @@ struct ImGuiWindowSettings
|
||||
ImGuiID ID;
|
||||
ImVec2ih Pos;
|
||||
ImVec2ih Size;
|
||||
bool Collapsed;
|
||||
bool IsChild;
|
||||
bool WantApply;
|
||||
bool WantDelete;
|
||||
ImGuiPackedDate LastUsedDate;
|
||||
bool Collapsed : 1;
|
||||
bool IsChild : 1;
|
||||
bool WantApply : 1;
|
||||
bool WantDelete : 1;
|
||||
};
|
||||
typedef struct ImGuiSettingsCleanupArgs ImGuiSettingsCleanupArgs;
|
||||
struct ImGuiSettingsCleanupArgs
|
||||
{
|
||||
ImGuiID TypeHashFilter;
|
||||
int DiscardOlderThanMonths;
|
||||
bool DiscardWhenMissingDate;
|
||||
bool DiscardAll;
|
||||
bool SetCurrentSessionDateToAll;
|
||||
bool SetCurrentSessionDateWhenMissingDate;
|
||||
int _DiscardOlderThanDate;
|
||||
};
|
||||
struct ImGuiSettingsHandler
|
||||
{
|
||||
@@ -2530,13 +2576,15 @@ ImGuiLocKey_VersionStr=0,
|
||||
ImGuiLocKey_TableSizeOne=1,
|
||||
ImGuiLocKey_TableSizeAllFit=2,
|
||||
ImGuiLocKey_TableSizeAllDefault=3,
|
||||
ImGuiLocKey_TableResetOrder=4,
|
||||
ImGuiLocKey_WindowingMainMenuBar=5,
|
||||
ImGuiLocKey_WindowingPopup=6,
|
||||
ImGuiLocKey_WindowingUntitled=7,
|
||||
ImGuiLocKey_OpenLink_s=8,
|
||||
ImGuiLocKey_CopyLink=9,
|
||||
ImGuiLocKey_COUNT=10,
|
||||
ImGuiLocKey_TableReset=4,
|
||||
ImGuiLocKey_TableResetOrder=5,
|
||||
ImGuiLocKey_TableResetVisibility=6,
|
||||
ImGuiLocKey_WindowingMainMenuBar=7,
|
||||
ImGuiLocKey_WindowingPopup=8,
|
||||
ImGuiLocKey_WindowingUntitled=9,
|
||||
ImGuiLocKey_OpenLink_s=10,
|
||||
ImGuiLocKey_CopyLink=11,
|
||||
ImGuiLocKey_COUNT=12,
|
||||
}ImGuiLocKey;
|
||||
struct ImGuiLocEntry
|
||||
{
|
||||
@@ -2558,7 +2606,8 @@ typedef enum {
|
||||
ImGuiDebugLogFlags_EventInputRouting = 1 << 9,
|
||||
ImGuiDebugLogFlags_EventDocking = 1 << 10,
|
||||
ImGuiDebugLogFlags_EventViewport = 1 << 11,
|
||||
ImGuiDebugLogFlags_EventMask_ = ImGuiDebugLogFlags_EventError | ImGuiDebugLogFlags_EventActiveId | ImGuiDebugLogFlags_EventFocus | ImGuiDebugLogFlags_EventPopup | ImGuiDebugLogFlags_EventNav | ImGuiDebugLogFlags_EventClipper | ImGuiDebugLogFlags_EventSelection | ImGuiDebugLogFlags_EventIO | ImGuiDebugLogFlags_EventFont | ImGuiDebugLogFlags_EventInputRouting | ImGuiDebugLogFlags_EventDocking | ImGuiDebugLogFlags_EventViewport,
|
||||
ImGuiDebugLogFlags_EventTable = 1 << 12,
|
||||
ImGuiDebugLogFlags_EventMask_ = ImGuiDebugLogFlags_EventError | ImGuiDebugLogFlags_EventActiveId | ImGuiDebugLogFlags_EventFocus | ImGuiDebugLogFlags_EventPopup | ImGuiDebugLogFlags_EventNav | ImGuiDebugLogFlags_EventClipper | ImGuiDebugLogFlags_EventSelection | ImGuiDebugLogFlags_EventTable | ImGuiDebugLogFlags_EventIO | ImGuiDebugLogFlags_EventFont | ImGuiDebugLogFlags_EventInputRouting | ImGuiDebugLogFlags_EventDocking | ImGuiDebugLogFlags_EventViewport,
|
||||
ImGuiDebugLogFlags_OutputToTTY = 1 << 20,
|
||||
ImGuiDebugLogFlags_OutputToDebugger = 1 << 21,
|
||||
ImGuiDebugLogFlags_OutputToTestEngine = 1 << 22,
|
||||
@@ -2593,6 +2642,8 @@ struct ImGuiMetricsConfig
|
||||
int ShowTablesRectsType;
|
||||
int HighlightMonitorIdx;
|
||||
ImGuiID HighlightViewportID;
|
||||
int SettingsDiscardMonths;
|
||||
bool SettingsHighlightOldEntries;
|
||||
bool ShowFontPreview;
|
||||
};
|
||||
typedef struct ImGuiStackLevelInfo ImGuiStackLevelInfo;
|
||||
@@ -2720,6 +2771,7 @@ struct ImGuiContext
|
||||
float CurrentDpiScale;
|
||||
ImDrawListSharedData DrawListSharedData;
|
||||
ImGuiID WithinEndChildID;
|
||||
ImGuiID WithinEndPopupID;
|
||||
void* TestEngine;
|
||||
ImVector_ImGuiInputEvent InputEventsQueue;
|
||||
ImVector_ImGuiInputEvent InputEventsTrail;
|
||||
@@ -2755,10 +2807,13 @@ struct ImGuiContext
|
||||
bool HoveredIdAllowOverlap;
|
||||
bool HoveredIdIsDisabled;
|
||||
bool ItemUnclipByLog;
|
||||
bool AnyIdHasBeenEditedThisFrame;
|
||||
ImGuiID ActiveId;
|
||||
ImGuiID ActiveIdIsAlive;
|
||||
float ActiveIdTimer;
|
||||
bool ActiveIdIsJustActivated;
|
||||
bool ActiveIdWasSelected;
|
||||
bool ActiveIdWasSoleSelected;
|
||||
bool ActiveIdAllowOverlap;
|
||||
bool ActiveIdNoClearOnFocusLoss;
|
||||
bool ActiveIdHasBeenPressedBefore;
|
||||
@@ -2775,6 +2830,8 @@ struct ImGuiContext
|
||||
ImGuiDataTypeStorage ActiveIdValueOnActivation;
|
||||
ImGuiID LastActiveId;
|
||||
float LastActiveIdTimer;
|
||||
bool LastActiveIdWasSelected;
|
||||
bool LastActiveIdWasSoleSelected;
|
||||
double LastKeyModsChangeTime;
|
||||
double LastKeyModsChangeFromNoneTime;
|
||||
double LastKeyboardKeyPressTime;
|
||||
@@ -2926,7 +2983,6 @@ struct ImGuiContext
|
||||
ImGuiDataTypeStorage DataTypeZeroValue;
|
||||
int BeginMenuDepth;
|
||||
int BeginComboDepth;
|
||||
ImGuiColorEditFlags ColorEditOptions;
|
||||
ImGuiID ColorEditCurrentID;
|
||||
ImGuiID ColorEditSavedID;
|
||||
float ColorEditSavedHue;
|
||||
@@ -2954,6 +3010,7 @@ struct ImGuiContext
|
||||
ImGuiPlatformImeData PlatformImeData;
|
||||
ImGuiPlatformImeData PlatformImeDataPrev;
|
||||
ImVector_ImTextureDataPtr UserTextures;
|
||||
ImGuiPackedDate SessionDate;
|
||||
bool SettingsLoaded;
|
||||
float SettingsDirtyTimer;
|
||||
ImGuiTextBuffer SettingsIniData;
|
||||
@@ -3242,7 +3299,8 @@ struct ImGuiTableColumn
|
||||
float StretchWeight;
|
||||
float InitStretchWeightOrWidth;
|
||||
ImRect_c ClipRect;
|
||||
ImGuiID UserID;
|
||||
ImGuiID ID;
|
||||
ImGuiID UserData;
|
||||
float WorkMinX;
|
||||
float WorkMaxX;
|
||||
float ItemWidth;
|
||||
@@ -3266,15 +3324,31 @@ struct ImGuiTableColumn
|
||||
bool IsVisibleY;
|
||||
bool IsRequestOutput;
|
||||
bool IsSkipItems;
|
||||
bool IsPreserveWidthAuto;
|
||||
bool IsPreserveWidthAuto : 1;
|
||||
bool IsJustCreated : 1;
|
||||
bool IsLoadedSettings : 1;
|
||||
bool IsNeedReconcileSrc : 1;
|
||||
bool IsNeedReconcileDst : 1;
|
||||
ImS8 NavLayerCurrent;
|
||||
ImU8 AutoFitQueue;
|
||||
ImU8 CannotSkipItemsQueue;
|
||||
ImU8 AutoFitQueue : 4;
|
||||
ImU8 CannotSkipItemsQueue : 4;
|
||||
ImU8 SortDirection : 2;
|
||||
ImU8 SortDirectionsAvailCount : 2;
|
||||
ImU8 SortDirectionsAvailMask : 4;
|
||||
ImU8 SortDirectionsAvailList;
|
||||
};
|
||||
typedef struct ImGuiTableReconcileColumnData ImGuiTableReconcileColumnData;
|
||||
struct ImGuiTableReconcileColumnData
|
||||
{
|
||||
ImGuiID ID;
|
||||
ImS16 NameOffset;
|
||||
ImGuiTableColumnFlags Flags;
|
||||
float InitWidthOrWeight;
|
||||
ImGuiID UserData;
|
||||
ImGuiTableColumnIdx ColumnNewIdx;
|
||||
ImGuiTableColumnIdx ColumnOldIdx;
|
||||
ImGuiTableColumn ColumnOldData;
|
||||
};
|
||||
typedef struct ImGuiTableCellData ImGuiTableCellData;
|
||||
struct ImGuiTableCellData
|
||||
{
|
||||
@@ -3406,6 +3480,7 @@ struct ImGuiTable
|
||||
bool IsLayoutLocked;
|
||||
bool IsInsideRow;
|
||||
bool IsInitializing;
|
||||
bool IsReconcileMode;
|
||||
bool IsSortSpecsDirty;
|
||||
bool IsUsingHeaders;
|
||||
bool IsContextPopupOpen;
|
||||
@@ -3413,8 +3488,10 @@ struct ImGuiTable
|
||||
bool IsSettingsRequestLoad;
|
||||
bool IsSettingsDirty;
|
||||
bool IsDefaultDisplayOrder;
|
||||
bool IsDefaultVisibility;
|
||||
bool IsResetAllRequest;
|
||||
bool IsResetDisplayOrderRequest;
|
||||
bool IsResetVisibilityRequest;
|
||||
bool IsUnfrozenRows;
|
||||
bool IsDefaultSizingPolicy;
|
||||
bool IsActiveIdAliveBeforeTable;
|
||||
@@ -3426,6 +3503,8 @@ struct ImGuiTable
|
||||
};
|
||||
typedef struct ImVector_ImGuiTableHeaderData {int Size;int Capacity;ImGuiTableHeaderData* Data;} ImVector_ImGuiTableHeaderData;
|
||||
|
||||
typedef struct ImVector_ImGuiTableReconcileColumnData {int Size;int Capacity;ImGuiTableReconcileColumnData* Data;} ImVector_ImGuiTableReconcileColumnData;
|
||||
|
||||
struct ImGuiTableTempData
|
||||
{
|
||||
ImGuiID WindowID;
|
||||
@@ -3433,6 +3512,9 @@ struct ImGuiTableTempData
|
||||
float LastTimeActive;
|
||||
float AngledHeadersExtraWidth;
|
||||
ImVector_ImGuiTableHeaderData AngledHeadersRequests;
|
||||
ImVector_ImGuiTableReconcileColumnData ReconcileColumnsRequests;
|
||||
void* OldColumnsRawData;
|
||||
ImSpan_ImGuiTableColumn OldColumnsData;
|
||||
ImVec2_c UserOuterSize;
|
||||
ImDrawListSplitter DrawSplitter;
|
||||
ImRect_c HostBackupWorkRect;
|
||||
@@ -3448,13 +3530,14 @@ typedef struct ImGuiTableColumnSettings ImGuiTableColumnSettings;
|
||||
struct ImGuiTableColumnSettings
|
||||
{
|
||||
float WidthOrWeight;
|
||||
ImGuiID UserID;
|
||||
ImGuiID ID;
|
||||
ImGuiTableColumnIdx Index;
|
||||
ImGuiTableColumnIdx DisplayOrder;
|
||||
ImGuiTableColumnIdx SortOrder;
|
||||
ImU8 SortDirection : 2;
|
||||
ImS8 IsEnabled : 2;
|
||||
ImU8 IsStretch : 1;
|
||||
bool IsLoaded : 1;
|
||||
};
|
||||
struct ImGuiTableSettings
|
||||
{
|
||||
@@ -3463,7 +3546,8 @@ struct ImGuiTableSettings
|
||||
float RefScale;
|
||||
ImGuiTableColumnIdx ColumnsCount;
|
||||
ImGuiTableColumnIdx ColumnsCountMax;
|
||||
bool WantApply;
|
||||
ImGuiPackedDate LastUsedDate;
|
||||
bool WantApply : 1;
|
||||
};
|
||||
struct ImFontLoader
|
||||
{
|
||||
@@ -3551,8 +3635,6 @@ typedef enum {
|
||||
ImGuiFreeTypeLoaderFlags_Bitmap = 1 << 9,
|
||||
}ImGuiFreeTypeLoaderFlags_;
|
||||
#endif
|
||||
#define ImDrawCallback_ResetRenderState (ImDrawCallback)(-8)
|
||||
|
||||
#define ImTextureID_Invalid ((ImTextureID)0)
|
||||
|
||||
#else
|
||||
@@ -3654,6 +3736,7 @@ typedef ImVector<ImGuiTabItem> ImVector_ImGuiTabItem;
|
||||
typedef ImVector<ImGuiTableColumnSortSpecs> ImVector_ImGuiTableColumnSortSpecs;
|
||||
typedef ImVector<ImGuiTableHeaderData> ImVector_ImGuiTableHeaderData;
|
||||
typedef ImVector<ImGuiTableInstanceData> ImVector_ImGuiTableInstanceData;
|
||||
typedef ImVector<ImGuiTableReconcileColumnData> ImVector_ImGuiTableReconcileColumnData;
|
||||
typedef ImVector<ImGuiTableTempData> ImVector_ImGuiTableTempData;
|
||||
typedef ImVector<ImGuiTextRange> ImVector_ImGuiTextRange;
|
||||
typedef ImVector<ImGuiTreeNodeStackData> ImVector_ImGuiTreeNodeStackData;
|
||||
@@ -3906,7 +3989,6 @@ CIMGUI_API bool igColorEdit4(const char* label,float col[4],ImGuiColorEditFlags
|
||||
CIMGUI_API bool igColorPicker3(const char* label,float col[3],ImGuiColorEditFlags flags);
|
||||
CIMGUI_API bool igColorPicker4(const char* label,float col[4],ImGuiColorEditFlags flags,const float* ref_col);
|
||||
CIMGUI_API bool igColorButton(const char* desc_id,const ImVec4_c col,ImGuiColorEditFlags flags,const ImVec2_c size);
|
||||
CIMGUI_API void igSetColorEditOptions(ImGuiColorEditFlags flags);
|
||||
CIMGUI_API bool igTreeNode_Str(const char* label);
|
||||
CIMGUI_API bool igTreeNode_StrStr(const char* str_id,const char* fmt,...);
|
||||
#ifdef CIMGUI_VARGS0
|
||||
@@ -3980,9 +4062,9 @@ CIMGUI_API void igSetItemTooltipV(const char* fmt,va_list args);
|
||||
CIMGUI_API bool igBeginPopup(const char* str_id,ImGuiWindowFlags flags);
|
||||
CIMGUI_API bool igBeginPopupModal(const char* name,bool* p_open,ImGuiWindowFlags flags);
|
||||
CIMGUI_API void igEndPopup(void);
|
||||
CIMGUI_API void igOpenPopup_Str(const char* str_id,ImGuiPopupFlags popup_flags);
|
||||
CIMGUI_API void igOpenPopup_ID(ImGuiID id,ImGuiPopupFlags popup_flags);
|
||||
CIMGUI_API void igOpenPopupOnItemClick(const char* str_id,ImGuiPopupFlags popup_flags);
|
||||
CIMGUI_API bool igOpenPopup_Str(const char* str_id,ImGuiPopupFlags popup_flags);
|
||||
CIMGUI_API bool igOpenPopup_ID(ImGuiID id,ImGuiPopupFlags popup_flags);
|
||||
CIMGUI_API bool igOpenPopupOnItemClick(const char* str_id,ImGuiPopupFlags popup_flags);
|
||||
CIMGUI_API void igCloseCurrentPopup(void);
|
||||
CIMGUI_API bool igBeginPopupContextItem(const char* str_id,ImGuiPopupFlags popup_flags);
|
||||
CIMGUI_API bool igBeginPopupContextWindow(const char* str_id,ImGuiPopupFlags popup_flags);
|
||||
@@ -3993,7 +4075,7 @@ CIMGUI_API void igEndTable(void);
|
||||
CIMGUI_API void igTableNextRow(ImGuiTableRowFlags row_flags,float min_row_height);
|
||||
CIMGUI_API bool igTableNextColumn(void);
|
||||
CIMGUI_API bool igTableSetColumnIndex(int column_n);
|
||||
CIMGUI_API void igTableSetupColumn(const char* label,ImGuiTableColumnFlags flags,float init_width_or_weight,ImGuiID user_id);
|
||||
CIMGUI_API void igTableSetupColumn(const char* label,ImGuiTableColumnFlags flags,float init_width_or_weight,ImGuiID user_data);
|
||||
CIMGUI_API void igTableSetupScrollFreeze(int cols,int rows);
|
||||
CIMGUI_API void igTableHeader(const char* label);
|
||||
CIMGUI_API void igTableHeadersRow(void);
|
||||
@@ -4064,6 +4146,7 @@ CIMGUI_API ImVec2_c igGetItemRectMin(void);
|
||||
CIMGUI_API ImVec2_c igGetItemRectMax(void);
|
||||
CIMGUI_API ImVec2_c igGetItemRectSize(void);
|
||||
CIMGUI_API ImGuiItemFlags igGetItemFlags(void);
|
||||
CIMGUI_API int igGetItemClickedCountWithSingleClickDelay(ImGuiMouseButton mouse_button,float delay);
|
||||
CIMGUI_API ImGuiViewport* igGetMainViewport(void);
|
||||
CIMGUI_API ImDrawList* igGetBackgroundDrawList_Nil(void);
|
||||
CIMGUI_API ImDrawList* igGetForegroundDrawList_Nil(void);
|
||||
@@ -4089,7 +4172,7 @@ CIMGUI_API const char* igGetKeyName(ImGuiKey key);
|
||||
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 void igSetItemKeyOwner_Nil(ImGuiKey key);
|
||||
CIMGUI_API bool igSetItemKeyOwner_Nil(ImGuiKey key);
|
||||
CIMGUI_API bool igIsMouseDown_Nil(ImGuiMouseButton button);
|
||||
CIMGUI_API bool igIsMouseClicked_Bool(ImGuiMouseButton button,bool repeat);
|
||||
CIMGUI_API bool igIsMouseReleased_Nil(ImGuiMouseButton button);
|
||||
@@ -4257,7 +4340,9 @@ CIMGUI_API void ImDrawList_PopTexture(ImDrawList* self);
|
||||
CIMGUI_API ImVec2_c ImDrawList_GetClipRectMin(ImDrawList* self);
|
||||
CIMGUI_API ImVec2_c ImDrawList_GetClipRectMax(ImDrawList* self);
|
||||
CIMGUI_API void ImDrawList_AddLine(ImDrawList* self,const ImVec2_c p1,const ImVec2_c p2,ImU32 col,float thickness);
|
||||
CIMGUI_API void ImDrawList_AddRect(ImDrawList* self,const ImVec2_c p_min,const ImVec2_c p_max,ImU32 col,float rounding,ImDrawFlags flags,float thickness);
|
||||
CIMGUI_API void ImDrawList_AddLineH(ImDrawList* self,float min_x,float max_x,float y,ImU32 col,float thickness);
|
||||
CIMGUI_API void ImDrawList_AddLineV(ImDrawList* self,float x,float min_y,float max_y,ImU32 col,float thickness);
|
||||
CIMGUI_API void ImDrawList_AddRect(ImDrawList* self,const ImVec2_c p_min,const ImVec2_c p_max,ImU32 col,float rounding,float thickness,ImDrawFlags flags);
|
||||
CIMGUI_API void ImDrawList_AddRectFilled(ImDrawList* self,const ImVec2_c p_min,const ImVec2_c p_max,ImU32 col,float rounding,ImDrawFlags flags);
|
||||
CIMGUI_API void ImDrawList_AddRectFilledMultiColor(ImDrawList* self,const ImVec2_c p_min,const ImVec2_c p_max,ImU32 col_upr_left,ImU32 col_upr_right,ImU32 col_bot_right,ImU32 col_bot_left);
|
||||
CIMGUI_API void ImDrawList_AddQuad(ImDrawList* self,const ImVec2_c p1,const ImVec2_c p2,const ImVec2_c p3,const ImVec2_c p4,ImU32 col,float thickness);
|
||||
@@ -4274,7 +4359,7 @@ CIMGUI_API void ImDrawList_AddText_Vec2(ImDrawList* self,const ImVec2_c pos,ImU3
|
||||
CIMGUI_API void ImDrawList_AddText_FontPtr(ImDrawList* self,ImFont* font,float font_size,const ImVec2_c pos,ImU32 col,const char* text_begin,const char* text_end,float wrap_width,const ImVec4* cpu_fine_clip_rect);
|
||||
CIMGUI_API void ImDrawList_AddBezierCubic(ImDrawList* self,const ImVec2_c p1,const ImVec2_c p2,const ImVec2_c p3,const ImVec2_c p4,ImU32 col,float thickness,int num_segments);
|
||||
CIMGUI_API void ImDrawList_AddBezierQuadratic(ImDrawList* self,const ImVec2_c p1,const ImVec2_c p2,const ImVec2_c p3,ImU32 col,float thickness,int num_segments);
|
||||
CIMGUI_API void ImDrawList_AddPolyline(ImDrawList* self,const ImVec2_c* points,int num_points,ImU32 col,ImDrawFlags flags,float thickness);
|
||||
CIMGUI_API void ImDrawList_AddPolyline(ImDrawList* self,const ImVec2_c* points,int num_points,ImU32 col,float thickness,ImDrawFlags flags);
|
||||
CIMGUI_API void ImDrawList_AddConvexPolyFilled(ImDrawList* self,const ImVec2_c* points,int num_points,ImU32 col);
|
||||
CIMGUI_API void ImDrawList_AddConcavePolyFilled(ImDrawList* self,const ImVec2_c* points,int num_points,ImU32 col);
|
||||
CIMGUI_API void ImDrawList_AddImage(ImDrawList* self,ImTextureRef_c tex_ref,const ImVec2_c p_min,const ImVec2_c p_max,const ImVec2_c uv_min,const ImVec2_c uv_max,ImU32 col);
|
||||
@@ -4285,7 +4370,7 @@ CIMGUI_API void ImDrawList_PathLineTo(ImDrawList* self,const ImVec2_c pos);
|
||||
CIMGUI_API void ImDrawList_PathLineToMergeDuplicate(ImDrawList* self,const ImVec2_c pos);
|
||||
CIMGUI_API void ImDrawList_PathFillConvex(ImDrawList* self,ImU32 col);
|
||||
CIMGUI_API void ImDrawList_PathFillConcave(ImDrawList* self,ImU32 col);
|
||||
CIMGUI_API void ImDrawList_PathStroke(ImDrawList* self,ImU32 col,ImDrawFlags flags,float thickness);
|
||||
CIMGUI_API void ImDrawList_PathStroke(ImDrawList* self,ImU32 col,float thickness,ImDrawFlags flags);
|
||||
CIMGUI_API void ImDrawList_PathArcTo(ImDrawList* self,const ImVec2_c center,float radius,float a_min,float a_max,int num_segments);
|
||||
CIMGUI_API void ImDrawList_PathArcToFast(ImDrawList* self,const ImVec2_c center,float radius,int a_min_of_12,int a_max_of_12);
|
||||
CIMGUI_API void ImDrawList_PathEllipticalArcTo(ImDrawList* self,const ImVec2_c center,const ImVec2_c radius,float rot,float a_min,float a_max,int num_segments);
|
||||
@@ -4362,11 +4447,11 @@ CIMGUI_API ImFont* ImFontAtlas_AddFontFromMemoryTTF(ImFontAtlas* self,void* font
|
||||
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);
|
||||
CIMGUI_API ImFont* ImFontAtlas_AddFontFromMemoryCompressedBase85TTF(ImFontAtlas* self,const char* compressed_font_data_base85,float size_pixels,const ImFontConfig* font_cfg,const ImWchar* glyph_ranges);
|
||||
CIMGUI_API void ImFontAtlas_RemoveFont(ImFontAtlas* self,ImFont* font);
|
||||
CIMGUI_API void ImFontAtlas_Clear(ImFontAtlas* self);
|
||||
CIMGUI_API void ImFontAtlas_CompactCache(ImFontAtlas* self);
|
||||
CIMGUI_API void ImFontAtlas_SetFontLoader(ImFontAtlas* self,const ImFontLoader* font_loader);
|
||||
CIMGUI_API void ImFontAtlas_ClearInputData(ImFontAtlas* self);
|
||||
CIMGUI_API void ImFontAtlas_Clear(ImFontAtlas* self);
|
||||
CIMGUI_API void ImFontAtlas_ClearFonts(ImFontAtlas* self);
|
||||
CIMGUI_API void ImFontAtlas_ClearInputData(ImFontAtlas* self);
|
||||
CIMGUI_API void ImFontAtlas_ClearTexData(ImFontAtlas* self);
|
||||
CIMGUI_API const ImWchar* ImFontAtlas_GetGlyphRangesDefault(ImFontAtlas* self);
|
||||
CIMGUI_API ImFontAtlasRectId ImFontAtlas_AddCustomRect(ImFontAtlas* self,int width,int height,ImFontAtlasRect* out_r);
|
||||
@@ -4494,6 +4579,7 @@ CIMGUI_API float igImFloor_Float(float f);
|
||||
CIMGUI_API ImVec2_c igImFloor_Vec2(const ImVec2_c v);
|
||||
CIMGUI_API float igImTrunc64(float f);
|
||||
CIMGUI_API float igImRound64(float f);
|
||||
CIMGUI_API float igImCeilFast(float f);
|
||||
CIMGUI_API int igImModPositive(int a,int b);
|
||||
CIMGUI_API float igImDot(const ImVec2_c a,const ImVec2_c b);
|
||||
CIMGUI_API ImVec2_c igImRotate(const ImVec2_c v,float cos_a,float sin_a);
|
||||
@@ -4542,6 +4628,8 @@ CIMGUI_API bool ImRect_ContainsWithPad(ImRect* self,const ImVec2_c p,const ImVec
|
||||
CIMGUI_API bool ImRect_Overlaps(ImRect* self,const ImRect_c r);
|
||||
CIMGUI_API void ImRect_Add_Vec2(ImRect* self,const ImVec2_c p);
|
||||
CIMGUI_API void ImRect_Add_Rect(ImRect* self,const ImRect_c r);
|
||||
CIMGUI_API void ImRect_AddX(ImRect* self,float x);
|
||||
CIMGUI_API void ImRect_AddY(ImRect* self,float y);
|
||||
CIMGUI_API void ImRect_Expand_Float(ImRect* self,const float amount);
|
||||
CIMGUI_API void ImRect_Expand_Vec2(ImRect* self,const ImVec2_c amount);
|
||||
CIMGUI_API void ImRect_Translate(ImRect* self,const ImVec2_c d);
|
||||
@@ -4568,6 +4656,12 @@ CIMGUI_API int ImGuiTextIndex_size(ImGuiTextIndex* self);
|
||||
CIMGUI_API const char* ImGuiTextIndex_get_line_begin(ImGuiTextIndex* self,const char* base,int n);
|
||||
CIMGUI_API const char* ImGuiTextIndex_get_line_end(ImGuiTextIndex* self,const char* base,int n);
|
||||
CIMGUI_API void ImGuiTextIndex_append(ImGuiTextIndex* self,const char* base,int old_size,int new_size);
|
||||
CIMGUI_API ImGuiPackedDate* ImGuiPackedDate_ImGuiPackedDate_Nil(void);
|
||||
CIMGUI_API void ImGuiPackedDate_destroy(ImGuiPackedDate* self);
|
||||
CIMGUI_API ImGuiPackedDate* ImGuiPackedDate_ImGuiPackedDate_Int(int yyyymmdd);
|
||||
CIMGUI_API bool ImGuiPackedDate_IsValid(ImGuiPackedDate* self);
|
||||
CIMGUI_API int ImGuiPackedDate_Unpack(ImGuiPackedDate* self);
|
||||
CIMGUI_API void ImGuiPackedDate_SubtractMonths(ImGuiPackedDate* self,int m);
|
||||
CIMGUI_API ImGuiStoragePair* igImLowerBound(ImGuiStoragePair* in_begin,ImGuiStoragePair* in_end,ImGuiID key);
|
||||
CIMGUI_API ImDrawListSharedData* ImDrawListSharedData_ImDrawListSharedData(void);
|
||||
CIMGUI_API void ImDrawListSharedData_destroy(ImDrawListSharedData* self);
|
||||
@@ -4708,6 +4802,76 @@ CIMGUI_API void ImGuiTableColumnSettings_destroy(ImGuiTableColumnSettings* self)
|
||||
CIMGUI_API ImGuiTableSettings* ImGuiTableSettings_ImGuiTableSettings(void);
|
||||
CIMGUI_API void ImGuiTableSettings_destroy(ImGuiTableSettings* self);
|
||||
CIMGUI_API ImGuiTableColumnSettings* ImGuiTableSettings_GetColumnSettings(ImGuiTableSettings* self);
|
||||
CIMGUI_API void igTableOpenContextMenu(int column_n);
|
||||
CIMGUI_API void igTableSetColumnWidth(int column_n,float width);
|
||||
CIMGUI_API void igTableSetColumnSortDirection(int column_n,ImGuiSortDirection sort_direction,bool append_to_sort_specs);
|
||||
CIMGUI_API int igTableGetHoveredRow(void);
|
||||
CIMGUI_API float igTableGetHeaderRowHeight(void);
|
||||
CIMGUI_API float igTableGetHeaderAngledMaxLabelWidth(void);
|
||||
CIMGUI_API void igTablePushBackgroundChannel(void);
|
||||
CIMGUI_API void igTablePopBackgroundChannel(void);
|
||||
CIMGUI_API void igTablePushColumnChannel(int column_n);
|
||||
CIMGUI_API void igTablePopColumnChannel(void);
|
||||
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* igTableFindByID(ImGuiID id);
|
||||
CIMGUI_API bool igBeginTableEx(const char* name,ImGuiID id,int columns_count,ImGuiTableFlags flags,const ImVec2_c outer_size,float inner_width);
|
||||
CIMGUI_API void igTableBeginInitMemory(ImGuiTable* table,int columns_count);
|
||||
CIMGUI_API void igTableApplyQueuedRequests(ImGuiTable* table);
|
||||
CIMGUI_API void igTableSetupDrawChannels(ImGuiTable* table);
|
||||
CIMGUI_API void igTableReconcileColumns(ImGuiTable* table);
|
||||
CIMGUI_API void igTableUpdateLayout(ImGuiTable* table);
|
||||
CIMGUI_API void igTableUpdateBorders(ImGuiTable* table);
|
||||
CIMGUI_API void igTableUpdateColumnsWeightFromWidth(ImGuiTable* table);
|
||||
CIMGUI_API void igTableApplyExternalUnclipRect(ImGuiTable* table,ImRect* rect);
|
||||
CIMGUI_API void igTableDrawBorders(ImGuiTable* table);
|
||||
CIMGUI_API void igTableDrawDefaultContextMenu(ImGuiTable* table,ImGuiTableFlags flags_for_section_to_display);
|
||||
CIMGUI_API bool igTableBeginContextMenuPopup(ImGuiTable* table);
|
||||
CIMGUI_API void igTableMergeDrawChannels(ImGuiTable* table);
|
||||
CIMGUI_API ImGuiTableInstanceData* igTableGetInstanceData(ImGuiTable* table,int instance_no);
|
||||
CIMGUI_API ImGuiID igTableGetInstanceID(ImGuiTable* table,int instance_no);
|
||||
CIMGUI_API void igTableFixDisplayOrder(ImGuiTable* table);
|
||||
CIMGUI_API void igTableSortSpecsSanitize(ImGuiTable* table);
|
||||
CIMGUI_API void igTableSortSpecsBuild(ImGuiTable* table);
|
||||
CIMGUI_API void igTableInitColumnDefaults(ImGuiTable* table,ImGuiTableColumn* column,ImGuiTableColumnFlags init_mask);
|
||||
CIMGUI_API ImGuiSortDirection igTableGetColumnNextSortDirection(ImGuiTableColumn* column);
|
||||
CIMGUI_API void igTableFixColumnSortDirection(ImGuiTable* table,ImGuiTableColumn* column);
|
||||
CIMGUI_API float igTableGetColumnWidthAuto(ImGuiTable* table,ImGuiTableColumn* column);
|
||||
CIMGUI_API void igTableBeginRow(ImGuiTable* table);
|
||||
CIMGUI_API void igTableEndRow(ImGuiTable* table);
|
||||
CIMGUI_API void igTableBeginCell(ImGuiTable* table,int column_n);
|
||||
CIMGUI_API void igTableEndCell(ImGuiTable* table);
|
||||
CIMGUI_API ImRect_c igTableGetCellBgRect(const ImGuiTable* table,int column_n);
|
||||
CIMGUI_API const char* igTableGetColumnName_TablePtr(const ImGuiTable* table,int column_n);
|
||||
CIMGUI_API ImGuiID igTableGetColumnResizeID(ImGuiTable* table,int column_n,int instance_no);
|
||||
CIMGUI_API float igTableCalcMaxColumnWidth(const ImGuiTable* table,int column_n);
|
||||
CIMGUI_API void igTableSetColumnWidthAutoSingle(ImGuiTable* table,int column_n);
|
||||
CIMGUI_API void igTableSetColumnWidthAutoAll(ImGuiTable* table);
|
||||
CIMGUI_API void igTableSetColumnDisplayOrder(ImGuiTable* table,int column_n,int dst_order);
|
||||
CIMGUI_API void igTableQueueSetColumnDisplayOrder(ImGuiTable* table,int column_n,int dst_order);
|
||||
CIMGUI_API void igTableRemove(ImGuiTable* table);
|
||||
CIMGUI_API void igTableGcCompactTransientBuffers_TablePtr(ImGuiTable* table);
|
||||
CIMGUI_API void igTableGcCompactTransientBuffers_TableTempDataPtr(ImGuiTableTempData* table);
|
||||
CIMGUI_API void igTableGcCompactSettings(void);
|
||||
CIMGUI_API void igTableLoadSettings(ImGuiTable* table);
|
||||
CIMGUI_API void igTableLoadSettingsForColumns(ImGuiTable* table);
|
||||
CIMGUI_API void igTableLoadSettingsForColumn(ImGuiTableColumn* column,ImGuiTableColumnSettings* column_settings,ImGuiTableFlags load_flags);
|
||||
CIMGUI_API void igTableSaveSettings(ImGuiTable* table);
|
||||
CIMGUI_API void igTableResetSettings(ImGuiTable* table);
|
||||
CIMGUI_API ImGuiTableSettings* igTableGetBoundSettings(ImGuiTable* table);
|
||||
CIMGUI_API void igTableSettingsAddSettingsHandler(void);
|
||||
CIMGUI_API ImGuiTableSettings* igTableSettingsCreate(ImGuiID id,int columns_count);
|
||||
CIMGUI_API ImGuiTableSettings* igTableSettingsFindByID(ImGuiID id);
|
||||
CIMGUI_API void igSetWindowClipRectBeforeSetChannel(ImGuiWindow* window,const ImRect_c clip_rect);
|
||||
CIMGUI_API void igBeginColumns(const char* str_id,int count,ImGuiOldColumnFlags flags);
|
||||
CIMGUI_API void igEndColumns(void);
|
||||
CIMGUI_API void igPushColumnClipRect(int column_index);
|
||||
CIMGUI_API void igPushColumnsBackground(void);
|
||||
CIMGUI_API void igPopColumnsBackground(void);
|
||||
CIMGUI_API ImGuiID igGetColumnsID(const char* str_id,int count);
|
||||
CIMGUI_API ImGuiOldColumns* igFindOrCreateColumns(ImGuiWindow* window,ImGuiID id);
|
||||
CIMGUI_API float igGetColumnOffsetFromNorm(const ImGuiOldColumns* columns,float offset_norm);
|
||||
CIMGUI_API float igGetColumnNormFromOffset(const ImGuiOldColumns* columns,float offset);
|
||||
CIMGUI_API ImGuiIO* igGetIO_ContextPtr(ImGuiContext* ctx);
|
||||
CIMGUI_API ImGuiPlatformIO* igGetPlatformIO_ContextPtr(ImGuiContext* ctx);
|
||||
CIMGUI_API float igGetScale(void);
|
||||
@@ -4777,6 +4941,7 @@ CIMGUI_API void igSetWindowViewport(ImGuiWindow* window,ImGuiViewportP* viewport
|
||||
CIMGUI_API void igMarkIniSettingsDirty_Nil(void);
|
||||
CIMGUI_API void igMarkIniSettingsDirty_WindowPtr(ImGuiWindow* window);
|
||||
CIMGUI_API void igClearIniSettings(void);
|
||||
CIMGUI_API void igCleanupIniSettings(ImGuiSettingsCleanupArgs* args);
|
||||
CIMGUI_API void igAddSettingsHandler(const ImGuiSettingsHandler* handler);
|
||||
CIMGUI_API void igRemoveSettingsHandler(const char* type_name);
|
||||
CIMGUI_API ImGuiSettingsHandler* igFindSettingsHandler(const char* type_name);
|
||||
@@ -4827,9 +4992,10 @@ CIMGUI_API void igLogToBuffer(int auto_open_depth);
|
||||
CIMGUI_API void igLogRenderedText(const ImVec2_c* ref_pos,const char* text,const char* text_end);
|
||||
CIMGUI_API void igLogSetNextTextDecoration(const char* prefix,const char* suffix);
|
||||
CIMGUI_API bool igBeginChildEx(const char* name,ImGuiID id,const ImVec2_c size_arg,ImGuiChildFlags child_flags,ImGuiWindowFlags window_flags);
|
||||
CIMGUI_API ImGuiWindow* igFindFrontMostVisibleChildWindow(ImGuiWindow* window);
|
||||
CIMGUI_API bool igBeginPopupEx(ImGuiID id,ImGuiWindowFlags extra_window_flags);
|
||||
CIMGUI_API bool igBeginPopupMenuEx(ImGuiID id,const char* label,ImGuiWindowFlags extra_window_flags);
|
||||
CIMGUI_API void igOpenPopupEx(ImGuiID id,ImGuiPopupFlags popup_flags);
|
||||
CIMGUI_API bool igOpenPopupEx(ImGuiID id,ImGuiPopupFlags popup_flags);
|
||||
CIMGUI_API void igClosePopupToLevel(int remaining,bool restore_focus_to_window_under_popup);
|
||||
CIMGUI_API void igClosePopupsOverWindow(ImGuiWindow* ref_window,bool restore_focus_to_window_under_popup);
|
||||
CIMGUI_API void igClosePopupsExceptModals(void);
|
||||
@@ -4895,7 +5061,7 @@ CIMGUI_API bool igIsActiveIdUsingNavDir(ImGuiDir dir);
|
||||
CIMGUI_API ImGuiID igGetKeyOwner(ImGuiKey key);
|
||||
CIMGUI_API void igSetKeyOwner(ImGuiKey key,ImGuiID owner_id,ImGuiInputFlags flags);
|
||||
CIMGUI_API void igSetKeyOwnersForKeyChord(ImGuiKeyChord key,ImGuiID owner_id,ImGuiInputFlags flags);
|
||||
CIMGUI_API void igSetItemKeyOwner_InputFlags(ImGuiKey key,ImGuiInputFlags flags);
|
||||
CIMGUI_API bool igSetItemKeyOwner_InputFlags(ImGuiKey key,ImGuiInputFlags flags);
|
||||
CIMGUI_API bool igTestKeyOwner(ImGuiKey key,ImGuiID owner_id);
|
||||
CIMGUI_API ImGuiKeyOwnerData* igGetKeyOwnerData(ImGuiContext* ctx,ImGuiKey key);
|
||||
CIMGUI_API bool igIsKeyDown_ID(ImGuiKey key,ImGuiID owner_id);
|
||||
@@ -4912,6 +5078,7 @@ CIMGUI_API bool igTestShortcutRouting(ImGuiKeyChord key_chord,ImGuiID owner_id);
|
||||
CIMGUI_API ImGuiKeyRoutingData* igGetShortcutRoutingData(ImGuiKeyChord key_chord);
|
||||
CIMGUI_API void igPushFocusScope(ImGuiID id);
|
||||
CIMGUI_API void igPopFocusScope(void);
|
||||
CIMGUI_API bool igIsInNavFocusRoute(ImGuiID focus_scope_id);
|
||||
CIMGUI_API ImGuiID igGetCurrentFocusScope(void);
|
||||
CIMGUI_API bool igIsDragDropActive(void);
|
||||
CIMGUI_API bool igBeginDragDropTargetCustom(const ImRect_c bb,ImGuiID id);
|
||||
@@ -4919,7 +5086,7 @@ CIMGUI_API bool igBeginDragDropTargetViewport(ImGuiViewport* viewport,const ImRe
|
||||
CIMGUI_API void igClearDragDrop(void);
|
||||
CIMGUI_API bool igIsDragDropPayloadBeingAccepted(void);
|
||||
CIMGUI_API void igRenderDragDropTargetRectForItem(const ImRect_c bb);
|
||||
CIMGUI_API void igRenderDragDropTargetRectEx(ImDrawList* draw_list,const ImRect_c bb);
|
||||
CIMGUI_API void igRenderDragDropTargetRectEx(ImDrawList* draw_list,const ImRect_c bb,float rounding);
|
||||
CIMGUI_API ImGuiTypingSelectRequest* igGetTypingSelectRequest(ImGuiTypingSelectFlags 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);
|
||||
CIMGUI_API int igTypingSelectFindNextSingleCharMatch(ImGuiTypingSelectRequest* req,int items_count,const char*(*get_item_name_func)(void*,int),void* user_data,int nav_item_idx);
|
||||
@@ -4927,76 +5094,11 @@ CIMGUI_API int igTypingSelectFindBestLeadingMatch(ImGuiTypingSelectRequest* req,
|
||||
CIMGUI_API bool igBeginBoxSelect(const ImRect_c scope_rect,ImGuiWindow* window,ImGuiID box_select_id,ImGuiMultiSelectFlags ms_flags);
|
||||
CIMGUI_API void igEndBoxSelect(const ImRect_c scope_rect,ImGuiMultiSelectFlags ms_flags);
|
||||
CIMGUI_API void igMultiSelectItemHeader(ImGuiID id,bool* p_selected,ImGuiButtonFlags* p_button_flags);
|
||||
CIMGUI_API void igMultiSelectItemFooter(ImGuiID id,bool* p_selected,bool* p_pressed);
|
||||
CIMGUI_API void igMultiSelectItemFooter(ImGuiID id,bool* p_selected,bool* p_pressed,ImGuiMultiSelectFlags extra_flags);
|
||||
CIMGUI_API void igMultiSelectAddSetAll(ImGuiMultiSelectTempData* ms,bool selected);
|
||||
CIMGUI_API void igMultiSelectAddSetRange(ImGuiMultiSelectTempData* ms,bool selected,int range_dir,ImGuiSelectionUserData first_item,ImGuiSelectionUserData last_item);
|
||||
CIMGUI_API ImGuiBoxSelectState* igGetBoxSelectState(ImGuiID id);
|
||||
CIMGUI_API ImGuiMultiSelectState* igGetMultiSelectState(ImGuiID id);
|
||||
CIMGUI_API void igSetWindowClipRectBeforeSetChannel(ImGuiWindow* window,const ImRect_c clip_rect);
|
||||
CIMGUI_API void igBeginColumns(const char* str_id,int count,ImGuiOldColumnFlags flags);
|
||||
CIMGUI_API void igEndColumns(void);
|
||||
CIMGUI_API void igPushColumnClipRect(int column_index);
|
||||
CIMGUI_API void igPushColumnsBackground(void);
|
||||
CIMGUI_API void igPopColumnsBackground(void);
|
||||
CIMGUI_API ImGuiID igGetColumnsID(const char* str_id,int count);
|
||||
CIMGUI_API ImGuiOldColumns* igFindOrCreateColumns(ImGuiWindow* window,ImGuiID id);
|
||||
CIMGUI_API float igGetColumnOffsetFromNorm(const ImGuiOldColumns* columns,float offset_norm);
|
||||
CIMGUI_API float igGetColumnNormFromOffset(const ImGuiOldColumns* columns,float offset);
|
||||
CIMGUI_API void igTableOpenContextMenu(int column_n);
|
||||
CIMGUI_API void igTableSetColumnWidth(int column_n,float width);
|
||||
CIMGUI_API void igTableSetColumnSortDirection(int column_n,ImGuiSortDirection sort_direction,bool append_to_sort_specs);
|
||||
CIMGUI_API int igTableGetHoveredRow(void);
|
||||
CIMGUI_API float igTableGetHeaderRowHeight(void);
|
||||
CIMGUI_API float igTableGetHeaderAngledMaxLabelWidth(void);
|
||||
CIMGUI_API void igTablePushBackgroundChannel(void);
|
||||
CIMGUI_API void igTablePopBackgroundChannel(void);
|
||||
CIMGUI_API void igTablePushColumnChannel(int column_n);
|
||||
CIMGUI_API void igTablePopColumnChannel(void);
|
||||
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* igTableFindByID(ImGuiID id);
|
||||
CIMGUI_API bool igBeginTableEx(const char* name,ImGuiID id,int columns_count,ImGuiTableFlags flags,const ImVec2_c outer_size,float inner_width);
|
||||
CIMGUI_API void igTableBeginInitMemory(ImGuiTable* table,int columns_count);
|
||||
CIMGUI_API void igTableBeginApplyRequests(ImGuiTable* table);
|
||||
CIMGUI_API void igTableSetupDrawChannels(ImGuiTable* table);
|
||||
CIMGUI_API void igTableUpdateLayout(ImGuiTable* table);
|
||||
CIMGUI_API void igTableUpdateBorders(ImGuiTable* table);
|
||||
CIMGUI_API void igTableUpdateColumnsWeightFromWidth(ImGuiTable* table);
|
||||
CIMGUI_API void igTableDrawBorders(ImGuiTable* table);
|
||||
CIMGUI_API void igTableDrawDefaultContextMenu(ImGuiTable* table,ImGuiTableFlags flags_for_section_to_display);
|
||||
CIMGUI_API bool igTableBeginContextMenuPopup(ImGuiTable* table);
|
||||
CIMGUI_API void igTableMergeDrawChannels(ImGuiTable* table);
|
||||
CIMGUI_API ImGuiTableInstanceData* igTableGetInstanceData(ImGuiTable* table,int instance_no);
|
||||
CIMGUI_API ImGuiID igTableGetInstanceID(ImGuiTable* table,int instance_no);
|
||||
CIMGUI_API void igTableFixDisplayOrder(ImGuiTable* table);
|
||||
CIMGUI_API void igTableSortSpecsSanitize(ImGuiTable* table);
|
||||
CIMGUI_API void igTableSortSpecsBuild(ImGuiTable* table);
|
||||
CIMGUI_API ImGuiSortDirection igTableGetColumnNextSortDirection(ImGuiTableColumn* column);
|
||||
CIMGUI_API void igTableFixColumnSortDirection(ImGuiTable* table,ImGuiTableColumn* column);
|
||||
CIMGUI_API float igTableGetColumnWidthAuto(ImGuiTable* table,ImGuiTableColumn* column);
|
||||
CIMGUI_API void igTableBeginRow(ImGuiTable* table);
|
||||
CIMGUI_API void igTableEndRow(ImGuiTable* table);
|
||||
CIMGUI_API void igTableBeginCell(ImGuiTable* table,int column_n);
|
||||
CIMGUI_API void igTableEndCell(ImGuiTable* table);
|
||||
CIMGUI_API ImRect_c igTableGetCellBgRect(const ImGuiTable* table,int column_n);
|
||||
CIMGUI_API const char* igTableGetColumnName_TablePtr(const ImGuiTable* table,int column_n);
|
||||
CIMGUI_API ImGuiID igTableGetColumnResizeID(ImGuiTable* table,int column_n,int instance_no);
|
||||
CIMGUI_API float igTableCalcMaxColumnWidth(const ImGuiTable* table,int column_n);
|
||||
CIMGUI_API void igTableSetColumnWidthAutoSingle(ImGuiTable* table,int column_n);
|
||||
CIMGUI_API void igTableSetColumnWidthAutoAll(ImGuiTable* table);
|
||||
CIMGUI_API void igTableSetColumnDisplayOrder(ImGuiTable* table,int column_n,int dst_order);
|
||||
CIMGUI_API void igTableQueueSetColumnDisplayOrder(ImGuiTable* table,int column_n,int dst_order);
|
||||
CIMGUI_API void igTableRemove(ImGuiTable* table);
|
||||
CIMGUI_API void igTableGcCompactTransientBuffers_TablePtr(ImGuiTable* table);
|
||||
CIMGUI_API void igTableGcCompactTransientBuffers_TableTempDataPtr(ImGuiTableTempData* table);
|
||||
CIMGUI_API void igTableGcCompactSettings(void);
|
||||
CIMGUI_API void igTableLoadSettings(ImGuiTable* table);
|
||||
CIMGUI_API void igTableSaveSettings(ImGuiTable* table);
|
||||
CIMGUI_API void igTableResetSettings(ImGuiTable* table);
|
||||
CIMGUI_API ImGuiTableSettings* igTableGetBoundSettings(ImGuiTable* table);
|
||||
CIMGUI_API void igTableSettingsAddSettingsHandler(void);
|
||||
CIMGUI_API ImGuiTableSettings* igTableSettingsCreate(ImGuiID id,int columns_count);
|
||||
CIMGUI_API ImGuiTableSettings* igTableSettingsFindByID(ImGuiID id);
|
||||
CIMGUI_API ImGuiTabBar* igGetCurrentTabBar(void);
|
||||
CIMGUI_API ImGuiTabBar* igTabBarFindByID(ImGuiID id);
|
||||
CIMGUI_API void igTabBarRemove(ImGuiTabBar* tab_bar);
|
||||
@@ -5028,7 +5130,7 @@ CIMGUI_API void igRenderFrame(ImVec2_c p_min,ImVec2_c p_max,ImU32 fill_col,bool
|
||||
CIMGUI_API void igRenderFrameBorder(ImVec2_c p_min,ImVec2_c p_max,float rounding);
|
||||
CIMGUI_API void igRenderColorComponentMarker(const ImRect_c bb,ImU32 col,float 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);
|
||||
CIMGUI_API void igRenderNavCursor(const ImRect_c bb,ImGuiID id,ImGuiNavRenderCursorFlags flags);
|
||||
CIMGUI_API void igRenderNavCursor(const ImRect_c bb,ImGuiID id,ImGuiNavRenderCursorFlags flags,float rounding);
|
||||
CIMGUI_API const char* igFindRenderedTextEnd(const char* text,const char* text_end);
|
||||
CIMGUI_API void igRenderMouseCursor(ImVec2_c pos,float scale,ImGuiMouseCursor mouse_cursor,ImU32 col_fill,ImU32 col_border,ImU32 col_shadow);
|
||||
CIMGUI_API void igRenderArrow(ImDrawList* draw_list,ImVec2_c pos,ImU32 col,ImGuiDir dir,float scale);
|
||||
@@ -5129,7 +5231,7 @@ CIMGUI_API void igDebugNodeTexture(ImTextureData* tex,int int_id,const ImFontAtl
|
||||
CIMGUI_API void igDebugNodeStorage(ImGuiStorage* storage,const char* label);
|
||||
CIMGUI_API void igDebugNodeTabBar(ImGuiTabBar* tab_bar,const char* label);
|
||||
CIMGUI_API void igDebugNodeTable(ImGuiTable* table);
|
||||
CIMGUI_API void igDebugNodeTableSettings(ImGuiTableSettings* settings);
|
||||
CIMGUI_API void igDebugNodeTableSettings(ImGuiTableSettings* settings,ImGuiTable* table);
|
||||
CIMGUI_API void igDebugNodeInputTextState(ImGuiInputTextState* state);
|
||||
CIMGUI_API void igDebugNodeTypingSelectState(ImGuiTypingSelectState* state);
|
||||
CIMGUI_API void igDebugNodeMultiSelectState(ImGuiMultiSelectState* state);
|
||||
@@ -5198,6 +5300,8 @@ CIMGUI_API void igImFontAtlasTextureBlockPostProcessMultiply(ImFontAtlasPostProc
|
||||
CIMGUI_API void igImFontAtlasTextureBlockFill(ImTextureData* dst_tex,int dst_x,int dst_y,int w,int h,ImU32 col);
|
||||
CIMGUI_API void igImFontAtlasTextureBlockCopy(ImTextureData* src_tex,int src_x,int src_y,ImTextureData* dst_tex,int dst_x,int dst_y,int w,int h);
|
||||
CIMGUI_API void igImFontAtlasTextureBlockQueueUpload(ImFontAtlas* atlas,ImTextureData* tex,int x,int y,int w,int h);
|
||||
CIMGUI_API bool igImTextureDataUpdateNewFrame(ImTextureData* tex);
|
||||
CIMGUI_API void igImTextureDataQueueUpload(ImTextureData* tex,int x,int y,int w,int h);
|
||||
CIMGUI_API int igImTextureDataGetFormatBytesPerPixel(ImTextureFormat format);
|
||||
CIMGUI_API const char* igImTextureDataGetStatusName(ImTextureStatus status);
|
||||
CIMGUI_API const char* igImTextureDataGetFormatName(ImTextureFormat format);
|
||||
|
||||
@@ -30,8 +30,20 @@ CIMGUI_API void ImGui_ImplGlfw_WindowFocusCallback(GLFWwindow* window,int focuse
|
||||
|
||||
#endif
|
||||
#ifdef CIMGUI_USE_OPENGL3
|
||||
#ifdef CIMGUI_DEFINE_ENUMS_AND_STRUCTS
|
||||
|
||||
typedef struct ImGui_ImplOpenGL3_RenderState ImGui_ImplOpenGL3_RenderState;
|
||||
struct ImGui_ImplOpenGL3_RenderState
|
||||
{
|
||||
bool UseBindSampler;
|
||||
bool UseTexParameterFilter;
|
||||
unsigned int CurrentSampler;
|
||||
unsigned int CurrentTexParameterFilter;
|
||||
};
|
||||
#endif //CIMGUI_DEFINE_ENUMS_AND_STRUCTS
|
||||
CIMGUI_API bool ImGui_ImplOpenGL3_CreateDeviceObjects(void);
|
||||
CIMGUI_API void ImGui_ImplOpenGL3_DestroyDeviceObjects(void);
|
||||
CIMGUI_API ImGui_ImplOpenGL3_RenderState* ImGui_ImplOpenGL3_GetRenderState(void);
|
||||
CIMGUI_API bool ImGui_ImplOpenGL3_Init(const char* glsl_version);
|
||||
CIMGUI_API void ImGui_ImplOpenGL3_NewFrame(void);
|
||||
CIMGUI_API void ImGui_ImplOpenGL3_RenderDrawData(ImDrawData* draw_data);
|
||||
@@ -196,6 +208,8 @@ typedef ImVector<ImGui_ImplVulkanH_Frame> ImVector_ImGui_ImplVulkanH_Frame;
|
||||
typedef ImVector<ImGui_ImplVulkanH_FrameSemaphores> ImVector_ImGui_ImplVulkanH_FrameSemaphores;
|
||||
typedef ImVector<VkDynamicState> ImVector_VkDynamicState;
|
||||
#endif //CIMGUI_DEFINE_ENUMS_AND_STRUCTS
|
||||
#define IMGUI_IMPL_VULKAN_MINIMUM_SAMPLED_IMAGE_POOL_SIZE (8)
|
||||
#define IMGUI_IMPL_VULKAN_MINIMUM_SAMPLER_POOL_SIZE (2)
|
||||
CIMGUI_API void ImGui_ImplVulkanH_CreateOrResizeWindow(VkInstance instance,VkPhysicalDevice physical_device,VkDevice device,ImGui_ImplVulkanH_Window* wd,uint32_t queue_family,const VkAllocationCallbacks* allocator,int w,int h,uint32_t min_image_count,VkImageUsageFlags image_usage);
|
||||
CIMGUI_API void ImGui_ImplVulkanH_DestroyWindow(VkInstance instance,VkDevice device,ImGui_ImplVulkanH_Window* wd,const VkAllocationCallbacks* allocator);
|
||||
CIMGUI_API int ImGui_ImplVulkanH_GetMinImageCountFromPresentMode(VkPresentModeKHR present_mode);
|
||||
@@ -204,7 +218,7 @@ CIMGUI_API VkPresentModeKHR ImGui_ImplVulkanH_SelectPresentMode(VkPhysicalDevice
|
||||
CIMGUI_API uint32_t ImGui_ImplVulkanH_SelectQueueFamilyIndex(VkPhysicalDevice physical_device);
|
||||
CIMGUI_API VkSurfaceFormatKHR ImGui_ImplVulkanH_SelectSurfaceFormat(VkPhysicalDevice physical_device,VkSurfaceKHR surface,const VkFormat* request_formats,int request_formats_count,VkColorSpaceKHR request_color_space);
|
||||
CIMGUI_API ImGui_ImplVulkanH_Window* ImGui_ImplVulkanH_Window_ImGui_ImplVulkanH_Window(void);
|
||||
CIMGUI_API VkDescriptorSet ImGui_ImplVulkan_AddTexture(VkSampler sampler,VkImageView image_view,VkImageLayout image_layout);
|
||||
CIMGUI_API VkDescriptorSet ImGui_ImplVulkan_AddTexture(VkImageView image_view,VkImageLayout image_layout);
|
||||
CIMGUI_API void ImGui_ImplVulkan_CreateMainPipeline(const ImGui_ImplVulkan_PipelineInfo* info);
|
||||
CIMGUI_API bool ImGui_ImplVulkan_Init(ImGui_ImplVulkan_InitInfo* info);
|
||||
CIMGUI_API bool ImGui_ImplVulkan_LoadFunctions(uint32_t api_version,PFN_vkVoidFunction(*loader_func)(const char* function_name,void* user_data),void* user_data);
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -120,10 +120,13 @@ local save_data = cpp2ffi.save_data
|
||||
local copyfile = cpp2ffi.copyfile
|
||||
local serializeTableF = cpp2ffi.serializeTableF
|
||||
|
||||
local function func_header_impl_generate(FP)
|
||||
local function func_header_impl_generate(FP, defines)
|
||||
|
||||
local outtab = {}
|
||||
|
||||
--may be key sorting is not enough and declaration order needed
|
||||
cpp2ffi.table_do_sorted(defines, function(k,v)
|
||||
table.insert(outtab,"#define "..k.." "..v.."\n")
|
||||
end)
|
||||
-- for _,t in ipairs(FP.funcdefs) do
|
||||
-- if t.cimguiname then
|
||||
-- local cimf = FP.defsT[t.cimguiname]
|
||||
@@ -286,6 +289,7 @@ local function cimgui_generation(parser)
|
||||
|
||||
|
||||
local tdt = parser:generate_templates()
|
||||
cpp2ffi.prtable("generate_templates",tdt)
|
||||
local cstructsstr = outpre..tdt..outpost
|
||||
|
||||
if gdefines.IMGUI_HAS_DOCK then
|
||||
@@ -379,16 +383,15 @@ end
|
||||
local function parseImGuiHeader(header,names)
|
||||
--prepare parser
|
||||
local parser = cpp2ffi.Parser()
|
||||
|
||||
parser.modulename = "cimgui"
|
||||
parser.getCname = function(stname,funcname,namespace)
|
||||
local pre = (stname == "") and (namespace and (namespace=="ImGui" and "ig" or namespace.."_") or "ig") or stname.."_"
|
||||
return pre..funcname
|
||||
end
|
||||
parser.cname_overloads = cimgui_overloads
|
||||
--parser.manuals = cimgui_manuals
|
||||
parser:set_manuals(cimgui_manuals, "cimgui")
|
||||
parser.skipped = cimgui_skipped
|
||||
parser.UDTs = {"ImVec2","ImVec4","ImColor","ImRect"}
|
||||
--parser.UDTs = {"ImVec2","ImVec4","ImColor","ImRect"}
|
||||
--parser.gen_template_typedef = gen_template_typedef --use auto
|
||||
parser.COMMENTS_GENERATION = COMMENTS_GENERATION
|
||||
parser.CONSTRUCTORS_GENERATION = CONSTRUCTORS_GENERATION
|
||||
@@ -457,7 +460,11 @@ if ff then
|
||||
else
|
||||
backends_folder = IMGUI_PATH .. "/backends/"
|
||||
end
|
||||
|
||||
local function getCname(stname,funcname, namespace)
|
||||
if #stname == 0 then return funcname end --top level
|
||||
local pre = stname.."_"
|
||||
return pre..funcname
|
||||
end
|
||||
local parser2
|
||||
|
||||
if #implementations > 0 then
|
||||
@@ -489,13 +496,15 @@ if #implementations > 0 then
|
||||
end
|
||||
end
|
||||
parser2.cimgui_inherited = dofile([[./output/structs_and_enums.lua]])
|
||||
parser2.getCname = getCname
|
||||
local defines = parser2:take_lines(CPRE..extra_defines..extra_includes..source, {locati}, COMPILER)
|
||||
|
||||
|
||||
local parser3 = cpp2ffi.Parser()
|
||||
parser3.getCname = getCname
|
||||
parser3.cimgui_inherited = dofile([[./output/structs_and_enums.lua]])
|
||||
parser3:take_lines(CPRE..extra_defines..extra_includes..source, {locati}, COMPILER)
|
||||
local defines = parser3:take_lines(CPRE..extra_defines..extra_includes..source, {locati}, COMPILER)
|
||||
parser3:do_parse()
|
||||
local cfuncsstr = func_header_impl_generate(parser3)
|
||||
local cfuncsstr = func_header_impl_generate(parser3, defines)
|
||||
local cstructstr1,cstructstr2 = parser3.structs_and_enums[1], parser3.structs_and_enums[2]
|
||||
local cstru = cstructstr1 .. cstructstr2
|
||||
if cstru ~="" then
|
||||
@@ -547,9 +556,5 @@ if parser2 then
|
||||
save_data("./output/impl_definitions.json",json.encode(json_prepare(parser2.defsT),{dict_on_empty={defaults=true}}))
|
||||
end
|
||||
--]]
|
||||
-------------------copy C files to repo root
|
||||
copyfile("./output/cimgui.h", "../cimgui.h")
|
||||
copyfile("./output/cimgui.cpp", "../cimgui.cpp")
|
||||
os.remove("./output/cimgui.h")
|
||||
os.remove("./output/cimgui.cpp")
|
||||
|
||||
print"all done!!"
|
||||
|
||||
@@ -11,6 +11,7 @@
|
||||
"IMGUI_DEBUG_LOG_NAV(...)": "do { if (g.DebugLogFlags & ImGuiDebugLogFlags_EventNav) IMGUI_DEBUG_LOG(__VA_ARGS__); } while (0)",
|
||||
"IMGUI_DEBUG_LOG_POPUP(...)": "do { if (g.DebugLogFlags & ImGuiDebugLogFlags_EventPopup) IMGUI_DEBUG_LOG(__VA_ARGS__); } while (0)",
|
||||
"IMGUI_DEBUG_LOG_SELECTION(...)": "do { if (g.DebugLogFlags & ImGuiDebugLogFlags_EventSelection) IMGUI_DEBUG_LOG(__VA_ARGS__); } while (0)",
|
||||
"IMGUI_DEBUG_LOG_TABLE(...)": "do { if (g.DebugLogFlags & ImGuiDebugLogFlags_EventTable) IMGUI_DEBUG_LOG(__VA_ARGS__); } while (0)",
|
||||
"IMGUI_DEBUG_PRINTF(_FMT,...)": "printf(_FMT, __VA_ARGS__)",
|
||||
"IMGUI_FONT_SIZE_MAX": "(512.0f)",
|
||||
"IMGUI_FONT_SIZE_THRESHOLD_FOR_LOADADVANCEXONLYMODE": "(128.0f)",
|
||||
@@ -19,8 +20,8 @@
|
||||
"IMGUI_TABLE_MAX_COLUMNS": "512",
|
||||
"IMGUI_TEST_ENGINE_ITEM_ADD(_ID,_BB,_ITEM_DATA)": "((void)0)",
|
||||
"IMGUI_TEST_ENGINE_ITEM_INFO(_ID,_LABEL,_FLAGS)": "((void)g)",
|
||||
"IMGUI_VERSION": "\"1.92.7\"",
|
||||
"IMGUI_VERSION_NUM": "19270",
|
||||
"IMGUI_VERSION": "\"1.92.9\"",
|
||||
"IMGUI_VERSION_NUM": "19290",
|
||||
"IMGUI_WINDOW_HARD_MIN_SIZE": "4.0f",
|
||||
"IMSTB_TEXTEDIT_CHARTYPE": "char",
|
||||
"IMSTB_TEXTEDIT_GETWIDTH_NEWLINE": "(-1.0f)",
|
||||
@@ -83,7 +84,6 @@
|
||||
"ImAtof(STR)": "atof(STR)",
|
||||
"ImCeil(X)": "ceilf(X)",
|
||||
"ImCos(X)": "cosf(X)",
|
||||
"ImDrawCallback_ResetRenderState": "(ImDrawCallback)(-8)",
|
||||
"ImFabs(X)": "fabsf(X)",
|
||||
"ImFmod(X,Y)": "fmodf((X), (Y))",
|
||||
"ImFontAtlasRectId_GenerationMask_": "(0x3FF00000)",
|
||||
|
||||
@@ -11,6 +11,7 @@ local t={
|
||||
["IMGUI_DEBUG_LOG_NAV(...)"]="do { if (g.DebugLogFlags & ImGuiDebugLogFlags_EventNav) IMGUI_DEBUG_LOG(__VA_ARGS__); } while (0)",
|
||||
["IMGUI_DEBUG_LOG_POPUP(...)"]="do { if (g.DebugLogFlags & ImGuiDebugLogFlags_EventPopup) IMGUI_DEBUG_LOG(__VA_ARGS__); } while (0)",
|
||||
["IMGUI_DEBUG_LOG_SELECTION(...)"]="do { if (g.DebugLogFlags & ImGuiDebugLogFlags_EventSelection) IMGUI_DEBUG_LOG(__VA_ARGS__); } while (0)",
|
||||
["IMGUI_DEBUG_LOG_TABLE(...)"]="do { if (g.DebugLogFlags & ImGuiDebugLogFlags_EventTable) IMGUI_DEBUG_LOG(__VA_ARGS__); } while (0)",
|
||||
["IMGUI_DEBUG_PRINTF(_FMT,...)"]="printf(_FMT, __VA_ARGS__)",
|
||||
IMGUI_FONT_SIZE_MAX="(512.0f)",
|
||||
IMGUI_FONT_SIZE_THRESHOLD_FOR_LOADADVANCEXONLYMODE="(128.0f)",
|
||||
@@ -19,8 +20,8 @@ local t={
|
||||
IMGUI_TABLE_MAX_COLUMNS="512",
|
||||
["IMGUI_TEST_ENGINE_ITEM_ADD(_ID,_BB,_ITEM_DATA)"]="((void)0)",
|
||||
["IMGUI_TEST_ENGINE_ITEM_INFO(_ID,_LABEL,_FLAGS)"]="((void)g)",
|
||||
IMGUI_VERSION="\"1.92.7\"",
|
||||
IMGUI_VERSION_NUM="19270",
|
||||
IMGUI_VERSION="\"1.92.9\"",
|
||||
IMGUI_VERSION_NUM="19290",
|
||||
IMGUI_WINDOW_HARD_MIN_SIZE="4.0f",
|
||||
IMSTB_TEXTEDIT_CHARTYPE="char",
|
||||
IMSTB_TEXTEDIT_GETWIDTH_NEWLINE="(-1.0f)",
|
||||
@@ -83,7 +84,6 @@ local t={
|
||||
["ImAtof(STR)"]="atof(STR)",
|
||||
["ImCeil(X)"]="ceilf(X)",
|
||||
["ImCos(X)"]="cosf(X)",
|
||||
ImDrawCallback_ResetRenderState="(ImDrawCallback)(-8)",
|
||||
["ImFabs(X)"]="fabsf(X)",
|
||||
["ImFmod(X,Y)"]="fmodf((X), (Y))",
|
||||
ImFontAtlasRectId_GenerationMask_="(0x3FF00000)",
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@@ -489,7 +489,7 @@
|
||||
"cimguiname": "ImGui_ImplOpenGL2_CreateDeviceObjects",
|
||||
"defaults": {},
|
||||
"funcname": "ImGui_ImplOpenGL2_CreateDeviceObjects",
|
||||
"location": "imgui_impl_opengl2:37",
|
||||
"location": "imgui_impl_opengl2:38",
|
||||
"ov_cimguiname": "ImGui_ImplOpenGL2_CreateDeviceObjects",
|
||||
"ret": "bool",
|
||||
"signature": "()",
|
||||
@@ -506,7 +506,7 @@
|
||||
"cimguiname": "ImGui_ImplOpenGL2_DestroyDeviceObjects",
|
||||
"defaults": {},
|
||||
"funcname": "ImGui_ImplOpenGL2_DestroyDeviceObjects",
|
||||
"location": "imgui_impl_opengl2:38",
|
||||
"location": "imgui_impl_opengl2:39",
|
||||
"ov_cimguiname": "ImGui_ImplOpenGL2_DestroyDeviceObjects",
|
||||
"ret": "void",
|
||||
"signature": "()",
|
||||
@@ -523,7 +523,7 @@
|
||||
"cimguiname": "ImGui_ImplOpenGL2_Init",
|
||||
"defaults": {},
|
||||
"funcname": "ImGui_ImplOpenGL2_Init",
|
||||
"location": "imgui_impl_opengl2:31",
|
||||
"location": "imgui_impl_opengl2:32",
|
||||
"ov_cimguiname": "ImGui_ImplOpenGL2_Init",
|
||||
"ret": "bool",
|
||||
"signature": "()",
|
||||
@@ -540,7 +540,7 @@
|
||||
"cimguiname": "ImGui_ImplOpenGL2_NewFrame",
|
||||
"defaults": {},
|
||||
"funcname": "ImGui_ImplOpenGL2_NewFrame",
|
||||
"location": "imgui_impl_opengl2:33",
|
||||
"location": "imgui_impl_opengl2:34",
|
||||
"ov_cimguiname": "ImGui_ImplOpenGL2_NewFrame",
|
||||
"ret": "void",
|
||||
"signature": "()",
|
||||
@@ -562,7 +562,7 @@
|
||||
"cimguiname": "ImGui_ImplOpenGL2_RenderDrawData",
|
||||
"defaults": {},
|
||||
"funcname": "ImGui_ImplOpenGL2_RenderDrawData",
|
||||
"location": "imgui_impl_opengl2:34",
|
||||
"location": "imgui_impl_opengl2:35",
|
||||
"ov_cimguiname": "ImGui_ImplOpenGL2_RenderDrawData",
|
||||
"ret": "void",
|
||||
"signature": "(ImDrawData*)",
|
||||
@@ -579,7 +579,7 @@
|
||||
"cimguiname": "ImGui_ImplOpenGL2_Shutdown",
|
||||
"defaults": {},
|
||||
"funcname": "ImGui_ImplOpenGL2_Shutdown",
|
||||
"location": "imgui_impl_opengl2:32",
|
||||
"location": "imgui_impl_opengl2:33",
|
||||
"ov_cimguiname": "ImGui_ImplOpenGL2_Shutdown",
|
||||
"ret": "void",
|
||||
"signature": "()",
|
||||
@@ -601,7 +601,7 @@
|
||||
"cimguiname": "ImGui_ImplOpenGL2_UpdateTexture",
|
||||
"defaults": {},
|
||||
"funcname": "ImGui_ImplOpenGL2_UpdateTexture",
|
||||
"location": "imgui_impl_opengl2:41",
|
||||
"location": "imgui_impl_opengl2:42",
|
||||
"ov_cimguiname": "ImGui_ImplOpenGL2_UpdateTexture",
|
||||
"ret": "void",
|
||||
"signature": "(ImTextureData*)",
|
||||
@@ -642,6 +642,23 @@
|
||||
"stname": ""
|
||||
}
|
||||
],
|
||||
"ImGui_ImplOpenGL3_GetRenderState": [
|
||||
{
|
||||
"args": "()",
|
||||
"argsT": [],
|
||||
"argsoriginal": "()",
|
||||
"call_args": "()",
|
||||
"call_args_old": "()",
|
||||
"cimguiname": "ImGui_ImplOpenGL3_GetRenderState",
|
||||
"defaults": {},
|
||||
"funcname": "ImGui_ImplOpenGL3_GetRenderState",
|
||||
"location": "imgui_impl_opengl3:79",
|
||||
"ov_cimguiname": "ImGui_ImplOpenGL3_GetRenderState",
|
||||
"ret": "ImGui_ImplOpenGL3_RenderState*",
|
||||
"signature": "()",
|
||||
"stname": ""
|
||||
}
|
||||
],
|
||||
"ImGui_ImplOpenGL3_Init": [
|
||||
{
|
||||
"args": "(const char* glsl_version)",
|
||||
@@ -1363,7 +1380,7 @@
|
||||
"cimguiname": "ImGui_ImplVulkanH_CreateOrResizeWindow",
|
||||
"defaults": {},
|
||||
"funcname": "ImGui_ImplVulkanH_CreateOrResizeWindow",
|
||||
"location": "imgui_impl_vulkan:200",
|
||||
"location": "imgui_impl_vulkan:204",
|
||||
"ov_cimguiname": "ImGui_ImplVulkanH_CreateOrResizeWindow",
|
||||
"ret": "void",
|
||||
"signature": "(VkInstance,VkPhysicalDevice,VkDevice,ImGui_ImplVulkanH_Window*,uint32_t,const VkAllocationCallbacks*,int,int,uint32_t,VkImageUsageFlags)",
|
||||
@@ -1397,7 +1414,7 @@
|
||||
"cimguiname": "ImGui_ImplVulkanH_DestroyWindow",
|
||||
"defaults": {},
|
||||
"funcname": "ImGui_ImplVulkanH_DestroyWindow",
|
||||
"location": "imgui_impl_vulkan:201",
|
||||
"location": "imgui_impl_vulkan:205",
|
||||
"ov_cimguiname": "ImGui_ImplVulkanH_DestroyWindow",
|
||||
"ret": "void",
|
||||
"signature": "(VkInstance,VkDevice,ImGui_ImplVulkanH_Window*,const VkAllocationCallbacks*)",
|
||||
@@ -1419,7 +1436,7 @@
|
||||
"cimguiname": "ImGui_ImplVulkanH_GetMinImageCountFromPresentMode",
|
||||
"defaults": {},
|
||||
"funcname": "ImGui_ImplVulkanH_GetMinImageCountFromPresentMode",
|
||||
"location": "imgui_impl_vulkan:206",
|
||||
"location": "imgui_impl_vulkan:210",
|
||||
"ov_cimguiname": "ImGui_ImplVulkanH_GetMinImageCountFromPresentMode",
|
||||
"ret": "int",
|
||||
"signature": "(VkPresentModeKHR)",
|
||||
@@ -1441,7 +1458,7 @@
|
||||
"cimguiname": "ImGui_ImplVulkanH_SelectPhysicalDevice",
|
||||
"defaults": {},
|
||||
"funcname": "ImGui_ImplVulkanH_SelectPhysicalDevice",
|
||||
"location": "imgui_impl_vulkan:204",
|
||||
"location": "imgui_impl_vulkan:208",
|
||||
"ov_cimguiname": "ImGui_ImplVulkanH_SelectPhysicalDevice",
|
||||
"ret": "VkPhysicalDevice",
|
||||
"signature": "(VkInstance)",
|
||||
@@ -1475,7 +1492,7 @@
|
||||
"cimguiname": "ImGui_ImplVulkanH_SelectPresentMode",
|
||||
"defaults": {},
|
||||
"funcname": "ImGui_ImplVulkanH_SelectPresentMode",
|
||||
"location": "imgui_impl_vulkan:203",
|
||||
"location": "imgui_impl_vulkan:207",
|
||||
"ov_cimguiname": "ImGui_ImplVulkanH_SelectPresentMode",
|
||||
"ret": "VkPresentModeKHR",
|
||||
"signature": "(VkPhysicalDevice,VkSurfaceKHR,const VkPresentModeKHR*,int)",
|
||||
@@ -1497,7 +1514,7 @@
|
||||
"cimguiname": "ImGui_ImplVulkanH_SelectQueueFamilyIndex",
|
||||
"defaults": {},
|
||||
"funcname": "ImGui_ImplVulkanH_SelectQueueFamilyIndex",
|
||||
"location": "imgui_impl_vulkan:205",
|
||||
"location": "imgui_impl_vulkan:209",
|
||||
"ov_cimguiname": "ImGui_ImplVulkanH_SelectQueueFamilyIndex",
|
||||
"ret": "uint32_t",
|
||||
"signature": "(VkPhysicalDevice)",
|
||||
@@ -1535,7 +1552,7 @@
|
||||
"cimguiname": "ImGui_ImplVulkanH_SelectSurfaceFormat",
|
||||
"defaults": {},
|
||||
"funcname": "ImGui_ImplVulkanH_SelectSurfaceFormat",
|
||||
"location": "imgui_impl_vulkan:202",
|
||||
"location": "imgui_impl_vulkan:206",
|
||||
"ov_cimguiname": "ImGui_ImplVulkanH_SelectSurfaceFormat",
|
||||
"ret": "VkSurfaceFormatKHR",
|
||||
"signature": "(VkPhysicalDevice,VkSurfaceKHR,const VkFormat*,int,VkColorSpaceKHR)",
|
||||
@@ -1553,7 +1570,8 @@
|
||||
"constructor": true,
|
||||
"defaults": {},
|
||||
"funcname": "ImGui_ImplVulkanH_Window",
|
||||
"location": "imgui_impl_vulkan:252",
|
||||
"location": "imgui_impl_vulkan:256",
|
||||
"namespace": "ImGui_ImplVulkanH_Window",
|
||||
"ov_cimguiname": "ImGui_ImplVulkanH_Window_ImGui_ImplVulkanH_Window",
|
||||
"signature": "()",
|
||||
"stname": "ImGui_ImplVulkanH_Window"
|
||||
@@ -1572,7 +1590,7 @@
|
||||
"cimguiname": "ImGui_ImplVulkanH_Window_destroy",
|
||||
"defaults": {},
|
||||
"destructor": true,
|
||||
"location": "imgui_impl_vulkan:252",
|
||||
"location": "imgui_impl_vulkan:256",
|
||||
"ov_cimguiname": "ImGui_ImplVulkanH_Window_destroy",
|
||||
"ret": "void",
|
||||
"signature": "(ImGui_ImplVulkanH_Window*)",
|
||||
@@ -1581,12 +1599,8 @@
|
||||
],
|
||||
"ImGui_ImplVulkan_AddTexture": [
|
||||
{
|
||||
"args": "(VkSampler sampler,VkImageView image_view,VkImageLayout image_layout)",
|
||||
"args": "(VkImageView image_view,VkImageLayout image_layout)",
|
||||
"argsT": [
|
||||
{
|
||||
"name": "sampler",
|
||||
"type": "VkSampler"
|
||||
},
|
||||
{
|
||||
"name": "image_view",
|
||||
"type": "VkImageView"
|
||||
@@ -1596,16 +1610,16 @@
|
||||
"type": "VkImageLayout"
|
||||
}
|
||||
],
|
||||
"argsoriginal": "(VkSampler sampler,VkImageView image_view,VkImageLayout image_layout)",
|
||||
"call_args": "(sampler,image_view,image_layout)",
|
||||
"call_args_old": "(sampler,image_view,image_layout)",
|
||||
"argsoriginal": "(VkImageView image_view,VkImageLayout image_layout)",
|
||||
"call_args": "(image_view,image_layout)",
|
||||
"call_args_old": "(image_view,image_layout)",
|
||||
"cimguiname": "ImGui_ImplVulkan_AddTexture",
|
||||
"defaults": {},
|
||||
"funcname": "ImGui_ImplVulkan_AddTexture",
|
||||
"location": "imgui_impl_vulkan:158",
|
||||
"location": "imgui_impl_vulkan:157",
|
||||
"ov_cimguiname": "ImGui_ImplVulkan_AddTexture",
|
||||
"ret": "VkDescriptorSet",
|
||||
"signature": "(VkSampler,VkImageView,VkImageLayout)",
|
||||
"signature": "(VkImageView,VkImageLayout)",
|
||||
"stname": ""
|
||||
}
|
||||
],
|
||||
@@ -1624,7 +1638,7 @@
|
||||
"cimguiname": "ImGui_ImplVulkan_CreateMainPipeline",
|
||||
"defaults": {},
|
||||
"funcname": "ImGui_ImplVulkan_CreateMainPipeline",
|
||||
"location": "imgui_impl_vulkan:150",
|
||||
"location": "imgui_impl_vulkan:151",
|
||||
"ov_cimguiname": "ImGui_ImplVulkan_CreateMainPipeline",
|
||||
"ret": "void",
|
||||
"signature": "(const ImGui_ImplVulkan_PipelineInfo*)",
|
||||
@@ -1646,7 +1660,7 @@
|
||||
"cimguiname": "ImGui_ImplVulkan_Init",
|
||||
"defaults": {},
|
||||
"funcname": "ImGui_ImplVulkan_Init",
|
||||
"location": "imgui_impl_vulkan:141",
|
||||
"location": "imgui_impl_vulkan:142",
|
||||
"ov_cimguiname": "ImGui_ImplVulkan_Init",
|
||||
"ret": "bool",
|
||||
"signature": "(ImGui_ImplVulkan_InitInfo*)",
|
||||
@@ -1678,7 +1692,7 @@
|
||||
"user_data": "nullptr"
|
||||
},
|
||||
"funcname": "ImGui_ImplVulkan_LoadFunctions",
|
||||
"location": "imgui_impl_vulkan:163",
|
||||
"location": "imgui_impl_vulkan:166",
|
||||
"ov_cimguiname": "ImGui_ImplVulkan_LoadFunctions",
|
||||
"ret": "bool",
|
||||
"signature": "(uint32_t,PFN_vkVoidFunction(*loader_func)(const char* function_name,void*,void*)",
|
||||
@@ -1695,7 +1709,7 @@
|
||||
"cimguiname": "ImGui_ImplVulkan_NewFrame",
|
||||
"defaults": {},
|
||||
"funcname": "ImGui_ImplVulkan_NewFrame",
|
||||
"location": "imgui_impl_vulkan:143",
|
||||
"location": "imgui_impl_vulkan:144",
|
||||
"ov_cimguiname": "ImGui_ImplVulkan_NewFrame",
|
||||
"ret": "void",
|
||||
"signature": "()",
|
||||
@@ -1717,7 +1731,7 @@
|
||||
"cimguiname": "ImGui_ImplVulkan_RemoveTexture",
|
||||
"defaults": {},
|
||||
"funcname": "ImGui_ImplVulkan_RemoveTexture",
|
||||
"location": "imgui_impl_vulkan:159",
|
||||
"location": "imgui_impl_vulkan:158",
|
||||
"ov_cimguiname": "ImGui_ImplVulkan_RemoveTexture",
|
||||
"ret": "void",
|
||||
"signature": "(VkDescriptorSet)",
|
||||
@@ -1749,7 +1763,7 @@
|
||||
"pipeline": "0ULL"
|
||||
},
|
||||
"funcname": "ImGui_ImplVulkan_RenderDrawData",
|
||||
"location": "imgui_impl_vulkan:144",
|
||||
"location": "imgui_impl_vulkan:145",
|
||||
"ov_cimguiname": "ImGui_ImplVulkan_RenderDrawData",
|
||||
"ret": "void",
|
||||
"signature": "(ImDrawData*,VkCommandBuffer,VkPipeline)",
|
||||
@@ -1771,7 +1785,7 @@
|
||||
"cimguiname": "ImGui_ImplVulkan_SetMinImageCount",
|
||||
"defaults": {},
|
||||
"funcname": "ImGui_ImplVulkan_SetMinImageCount",
|
||||
"location": "imgui_impl_vulkan:145",
|
||||
"location": "imgui_impl_vulkan:146",
|
||||
"ov_cimguiname": "ImGui_ImplVulkan_SetMinImageCount",
|
||||
"ret": "void",
|
||||
"signature": "(uint32_t)",
|
||||
@@ -1788,7 +1802,7 @@
|
||||
"cimguiname": "ImGui_ImplVulkan_Shutdown",
|
||||
"defaults": {},
|
||||
"funcname": "ImGui_ImplVulkan_Shutdown",
|
||||
"location": "imgui_impl_vulkan:142",
|
||||
"location": "imgui_impl_vulkan:143",
|
||||
"ov_cimguiname": "ImGui_ImplVulkan_Shutdown",
|
||||
"ret": "void",
|
||||
"signature": "()",
|
||||
@@ -1810,7 +1824,7 @@
|
||||
"cimguiname": "ImGui_ImplVulkan_UpdateTexture",
|
||||
"defaults": {},
|
||||
"funcname": "ImGui_ImplVulkan_UpdateTexture",
|
||||
"location": "imgui_impl_vulkan:153",
|
||||
"location": "imgui_impl_vulkan:154",
|
||||
"ov_cimguiname": "ImGui_ImplVulkan_UpdateTexture",
|
||||
"ret": "void",
|
||||
"signature": "(ImTextureData*)",
|
||||
|
||||
@@ -418,7 +418,7 @@ local t={
|
||||
cimguiname="ImGui_ImplOpenGL2_CreateDeviceObjects",
|
||||
defaults={},
|
||||
funcname="ImGui_ImplOpenGL2_CreateDeviceObjects",
|
||||
location="imgui_impl_opengl2:37",
|
||||
location="imgui_impl_opengl2:38",
|
||||
ov_cimguiname="ImGui_ImplOpenGL2_CreateDeviceObjects",
|
||||
ret="bool",
|
||||
signature="()",
|
||||
@@ -434,7 +434,7 @@ local t={
|
||||
cimguiname="ImGui_ImplOpenGL2_DestroyDeviceObjects",
|
||||
defaults={},
|
||||
funcname="ImGui_ImplOpenGL2_DestroyDeviceObjects",
|
||||
location="imgui_impl_opengl2:38",
|
||||
location="imgui_impl_opengl2:39",
|
||||
ov_cimguiname="ImGui_ImplOpenGL2_DestroyDeviceObjects",
|
||||
ret="void",
|
||||
signature="()",
|
||||
@@ -450,7 +450,7 @@ local t={
|
||||
cimguiname="ImGui_ImplOpenGL2_Init",
|
||||
defaults={},
|
||||
funcname="ImGui_ImplOpenGL2_Init",
|
||||
location="imgui_impl_opengl2:31",
|
||||
location="imgui_impl_opengl2:32",
|
||||
ov_cimguiname="ImGui_ImplOpenGL2_Init",
|
||||
ret="bool",
|
||||
signature="()",
|
||||
@@ -466,7 +466,7 @@ local t={
|
||||
cimguiname="ImGui_ImplOpenGL2_NewFrame",
|
||||
defaults={},
|
||||
funcname="ImGui_ImplOpenGL2_NewFrame",
|
||||
location="imgui_impl_opengl2:33",
|
||||
location="imgui_impl_opengl2:34",
|
||||
ov_cimguiname="ImGui_ImplOpenGL2_NewFrame",
|
||||
ret="void",
|
||||
signature="()",
|
||||
@@ -485,7 +485,7 @@ local t={
|
||||
cimguiname="ImGui_ImplOpenGL2_RenderDrawData",
|
||||
defaults={},
|
||||
funcname="ImGui_ImplOpenGL2_RenderDrawData",
|
||||
location="imgui_impl_opengl2:34",
|
||||
location="imgui_impl_opengl2:35",
|
||||
ov_cimguiname="ImGui_ImplOpenGL2_RenderDrawData",
|
||||
ret="void",
|
||||
signature="(ImDrawData*)",
|
||||
@@ -501,7 +501,7 @@ local t={
|
||||
cimguiname="ImGui_ImplOpenGL2_Shutdown",
|
||||
defaults={},
|
||||
funcname="ImGui_ImplOpenGL2_Shutdown",
|
||||
location="imgui_impl_opengl2:32",
|
||||
location="imgui_impl_opengl2:33",
|
||||
ov_cimguiname="ImGui_ImplOpenGL2_Shutdown",
|
||||
ret="void",
|
||||
signature="()",
|
||||
@@ -520,7 +520,7 @@ local t={
|
||||
cimguiname="ImGui_ImplOpenGL2_UpdateTexture",
|
||||
defaults={},
|
||||
funcname="ImGui_ImplOpenGL2_UpdateTexture",
|
||||
location="imgui_impl_opengl2:41",
|
||||
location="imgui_impl_opengl2:42",
|
||||
ov_cimguiname="ImGui_ImplOpenGL2_UpdateTexture",
|
||||
ret="void",
|
||||
signature="(ImTextureData*)",
|
||||
@@ -558,6 +558,22 @@ local t={
|
||||
signature="()",
|
||||
stname=""},
|
||||
["()"]=nil},
|
||||
ImGui_ImplOpenGL3_GetRenderState={
|
||||
[1]={
|
||||
args="()",
|
||||
argsT={},
|
||||
argsoriginal="()",
|
||||
call_args="()",
|
||||
call_args_old="()",
|
||||
cimguiname="ImGui_ImplOpenGL3_GetRenderState",
|
||||
defaults={},
|
||||
funcname="ImGui_ImplOpenGL3_GetRenderState",
|
||||
location="imgui_impl_opengl3:79",
|
||||
ov_cimguiname="ImGui_ImplOpenGL3_GetRenderState",
|
||||
ret="ImGui_ImplOpenGL3_RenderState*",
|
||||
signature="()",
|
||||
stname=""},
|
||||
["()"]=nil},
|
||||
ImGui_ImplOpenGL3_Init={
|
||||
[1]={
|
||||
args="(const char* glsl_version)",
|
||||
@@ -1179,7 +1195,7 @@ local t={
|
||||
cimguiname="ImGui_ImplVulkanH_CreateOrResizeWindow",
|
||||
defaults={},
|
||||
funcname="ImGui_ImplVulkanH_CreateOrResizeWindow",
|
||||
location="imgui_impl_vulkan:200",
|
||||
location="imgui_impl_vulkan:204",
|
||||
ov_cimguiname="ImGui_ImplVulkanH_CreateOrResizeWindow",
|
||||
ret="void",
|
||||
signature="(VkInstance,VkPhysicalDevice,VkDevice,ImGui_ImplVulkanH_Window*,uint32_t,const VkAllocationCallbacks*,int,int,uint32_t,VkImageUsageFlags)",
|
||||
@@ -1207,7 +1223,7 @@ local t={
|
||||
cimguiname="ImGui_ImplVulkanH_DestroyWindow",
|
||||
defaults={},
|
||||
funcname="ImGui_ImplVulkanH_DestroyWindow",
|
||||
location="imgui_impl_vulkan:201",
|
||||
location="imgui_impl_vulkan:205",
|
||||
ov_cimguiname="ImGui_ImplVulkanH_DestroyWindow",
|
||||
ret="void",
|
||||
signature="(VkInstance,VkDevice,ImGui_ImplVulkanH_Window*,const VkAllocationCallbacks*)",
|
||||
@@ -1226,7 +1242,7 @@ local t={
|
||||
cimguiname="ImGui_ImplVulkanH_GetMinImageCountFromPresentMode",
|
||||
defaults={},
|
||||
funcname="ImGui_ImplVulkanH_GetMinImageCountFromPresentMode",
|
||||
location="imgui_impl_vulkan:206",
|
||||
location="imgui_impl_vulkan:210",
|
||||
ov_cimguiname="ImGui_ImplVulkanH_GetMinImageCountFromPresentMode",
|
||||
ret="int",
|
||||
signature="(VkPresentModeKHR)",
|
||||
@@ -1245,7 +1261,7 @@ local t={
|
||||
cimguiname="ImGui_ImplVulkanH_SelectPhysicalDevice",
|
||||
defaults={},
|
||||
funcname="ImGui_ImplVulkanH_SelectPhysicalDevice",
|
||||
location="imgui_impl_vulkan:204",
|
||||
location="imgui_impl_vulkan:208",
|
||||
ov_cimguiname="ImGui_ImplVulkanH_SelectPhysicalDevice",
|
||||
ret="VkPhysicalDevice",
|
||||
signature="(VkInstance)",
|
||||
@@ -1273,7 +1289,7 @@ local t={
|
||||
cimguiname="ImGui_ImplVulkanH_SelectPresentMode",
|
||||
defaults={},
|
||||
funcname="ImGui_ImplVulkanH_SelectPresentMode",
|
||||
location="imgui_impl_vulkan:203",
|
||||
location="imgui_impl_vulkan:207",
|
||||
ov_cimguiname="ImGui_ImplVulkanH_SelectPresentMode",
|
||||
ret="VkPresentModeKHR",
|
||||
signature="(VkPhysicalDevice,VkSurfaceKHR,const VkPresentModeKHR*,int)",
|
||||
@@ -1292,7 +1308,7 @@ local t={
|
||||
cimguiname="ImGui_ImplVulkanH_SelectQueueFamilyIndex",
|
||||
defaults={},
|
||||
funcname="ImGui_ImplVulkanH_SelectQueueFamilyIndex",
|
||||
location="imgui_impl_vulkan:205",
|
||||
location="imgui_impl_vulkan:209",
|
||||
ov_cimguiname="ImGui_ImplVulkanH_SelectQueueFamilyIndex",
|
||||
ret="uint32_t",
|
||||
signature="(VkPhysicalDevice)",
|
||||
@@ -1323,7 +1339,7 @@ local t={
|
||||
cimguiname="ImGui_ImplVulkanH_SelectSurfaceFormat",
|
||||
defaults={},
|
||||
funcname="ImGui_ImplVulkanH_SelectSurfaceFormat",
|
||||
location="imgui_impl_vulkan:202",
|
||||
location="imgui_impl_vulkan:206",
|
||||
ov_cimguiname="ImGui_ImplVulkanH_SelectSurfaceFormat",
|
||||
ret="VkSurfaceFormatKHR",
|
||||
signature="(VkPhysicalDevice,VkSurfaceKHR,const VkFormat*,int,VkColorSpaceKHR)",
|
||||
@@ -1340,7 +1356,8 @@ local t={
|
||||
constructor=true,
|
||||
defaults={},
|
||||
funcname="ImGui_ImplVulkanH_Window",
|
||||
location="imgui_impl_vulkan:252",
|
||||
location="imgui_impl_vulkan:256",
|
||||
namespace="ImGui_ImplVulkanH_Window",
|
||||
ov_cimguiname="ImGui_ImplVulkanH_Window_ImGui_ImplVulkanH_Window",
|
||||
signature="()",
|
||||
stname="ImGui_ImplVulkanH_Window"},
|
||||
@@ -1356,7 +1373,7 @@ local t={
|
||||
cimguiname="ImGui_ImplVulkanH_Window_destroy",
|
||||
defaults={},
|
||||
destructor=true,
|
||||
location="imgui_impl_vulkan:252",
|
||||
location="imgui_impl_vulkan:256",
|
||||
ov_cimguiname="ImGui_ImplVulkanH_Window_destroy",
|
||||
ret="void",
|
||||
signature="(ImGui_ImplVulkanH_Window*)",
|
||||
@@ -1364,29 +1381,26 @@ local t={
|
||||
["(ImGui_ImplVulkanH_Window*)"]=nil},
|
||||
ImGui_ImplVulkan_AddTexture={
|
||||
[1]={
|
||||
args="(VkSampler sampler,VkImageView image_view,VkImageLayout image_layout)",
|
||||
args="(VkImageView image_view,VkImageLayout image_layout)",
|
||||
argsT={
|
||||
[1]={
|
||||
name="sampler",
|
||||
type="VkSampler"},
|
||||
[2]={
|
||||
name="image_view",
|
||||
type="VkImageView"},
|
||||
[3]={
|
||||
[2]={
|
||||
name="image_layout",
|
||||
type="VkImageLayout"}},
|
||||
argsoriginal="(VkSampler sampler,VkImageView image_view,VkImageLayout image_layout)",
|
||||
call_args="(sampler,image_view,image_layout)",
|
||||
call_args_old="(sampler,image_view,image_layout)",
|
||||
argsoriginal="(VkImageView image_view,VkImageLayout image_layout)",
|
||||
call_args="(image_view,image_layout)",
|
||||
call_args_old="(image_view,image_layout)",
|
||||
cimguiname="ImGui_ImplVulkan_AddTexture",
|
||||
defaults={},
|
||||
funcname="ImGui_ImplVulkan_AddTexture",
|
||||
location="imgui_impl_vulkan:158",
|
||||
location="imgui_impl_vulkan:157",
|
||||
ov_cimguiname="ImGui_ImplVulkan_AddTexture",
|
||||
ret="VkDescriptorSet",
|
||||
signature="(VkSampler,VkImageView,VkImageLayout)",
|
||||
signature="(VkImageView,VkImageLayout)",
|
||||
stname=""},
|
||||
["(VkSampler,VkImageView,VkImageLayout)"]=nil},
|
||||
["(VkImageView,VkImageLayout)"]=nil},
|
||||
ImGui_ImplVulkan_CreateMainPipeline={
|
||||
[1]={
|
||||
args="(const ImGui_ImplVulkan_PipelineInfo* info)",
|
||||
@@ -1400,7 +1414,7 @@ local t={
|
||||
cimguiname="ImGui_ImplVulkan_CreateMainPipeline",
|
||||
defaults={},
|
||||
funcname="ImGui_ImplVulkan_CreateMainPipeline",
|
||||
location="imgui_impl_vulkan:150",
|
||||
location="imgui_impl_vulkan:151",
|
||||
ov_cimguiname="ImGui_ImplVulkan_CreateMainPipeline",
|
||||
ret="void",
|
||||
signature="(const ImGui_ImplVulkan_PipelineInfo*)",
|
||||
@@ -1419,7 +1433,7 @@ local t={
|
||||
cimguiname="ImGui_ImplVulkan_Init",
|
||||
defaults={},
|
||||
funcname="ImGui_ImplVulkan_Init",
|
||||
location="imgui_impl_vulkan:141",
|
||||
location="imgui_impl_vulkan:142",
|
||||
ov_cimguiname="ImGui_ImplVulkan_Init",
|
||||
ret="bool",
|
||||
signature="(ImGui_ImplVulkan_InitInfo*)",
|
||||
@@ -1445,7 +1459,7 @@ local t={
|
||||
defaults={
|
||||
user_data="nullptr"},
|
||||
funcname="ImGui_ImplVulkan_LoadFunctions",
|
||||
location="imgui_impl_vulkan:163",
|
||||
location="imgui_impl_vulkan:166",
|
||||
ov_cimguiname="ImGui_ImplVulkan_LoadFunctions",
|
||||
ret="bool",
|
||||
signature="(uint32_t,PFN_vkVoidFunction(*loader_func)(const char* function_name,void*,void*)",
|
||||
@@ -1461,7 +1475,7 @@ local t={
|
||||
cimguiname="ImGui_ImplVulkan_NewFrame",
|
||||
defaults={},
|
||||
funcname="ImGui_ImplVulkan_NewFrame",
|
||||
location="imgui_impl_vulkan:143",
|
||||
location="imgui_impl_vulkan:144",
|
||||
ov_cimguiname="ImGui_ImplVulkan_NewFrame",
|
||||
ret="void",
|
||||
signature="()",
|
||||
@@ -1480,7 +1494,7 @@ local t={
|
||||
cimguiname="ImGui_ImplVulkan_RemoveTexture",
|
||||
defaults={},
|
||||
funcname="ImGui_ImplVulkan_RemoveTexture",
|
||||
location="imgui_impl_vulkan:159",
|
||||
location="imgui_impl_vulkan:158",
|
||||
ov_cimguiname="ImGui_ImplVulkan_RemoveTexture",
|
||||
ret="void",
|
||||
signature="(VkDescriptorSet)",
|
||||
@@ -1506,7 +1520,7 @@ local t={
|
||||
defaults={
|
||||
pipeline="0ULL"},
|
||||
funcname="ImGui_ImplVulkan_RenderDrawData",
|
||||
location="imgui_impl_vulkan:144",
|
||||
location="imgui_impl_vulkan:145",
|
||||
ov_cimguiname="ImGui_ImplVulkan_RenderDrawData",
|
||||
ret="void",
|
||||
signature="(ImDrawData*,VkCommandBuffer,VkPipeline)",
|
||||
@@ -1525,7 +1539,7 @@ local t={
|
||||
cimguiname="ImGui_ImplVulkan_SetMinImageCount",
|
||||
defaults={},
|
||||
funcname="ImGui_ImplVulkan_SetMinImageCount",
|
||||
location="imgui_impl_vulkan:145",
|
||||
location="imgui_impl_vulkan:146",
|
||||
ov_cimguiname="ImGui_ImplVulkan_SetMinImageCount",
|
||||
ret="void",
|
||||
signature="(uint32_t)",
|
||||
@@ -1541,7 +1555,7 @@ local t={
|
||||
cimguiname="ImGui_ImplVulkan_Shutdown",
|
||||
defaults={},
|
||||
funcname="ImGui_ImplVulkan_Shutdown",
|
||||
location="imgui_impl_vulkan:142",
|
||||
location="imgui_impl_vulkan:143",
|
||||
ov_cimguiname="ImGui_ImplVulkan_Shutdown",
|
||||
ret="void",
|
||||
signature="()",
|
||||
@@ -1560,7 +1574,7 @@ local t={
|
||||
cimguiname="ImGui_ImplVulkan_UpdateTexture",
|
||||
defaults={},
|
||||
funcname="ImGui_ImplVulkan_UpdateTexture",
|
||||
location="imgui_impl_vulkan:153",
|
||||
location="imgui_impl_vulkan:154",
|
||||
ov_cimguiname="ImGui_ImplVulkan_UpdateTexture",
|
||||
ret="void",
|
||||
signature="(ImTextureData*)",
|
||||
@@ -1594,6 +1608,7 @@ t.ImGui_ImplOpenGL2_Shutdown["()"]=t.ImGui_ImplOpenGL2_Shutdown[1]
|
||||
t.ImGui_ImplOpenGL2_UpdateTexture["(ImTextureData*)"]=t.ImGui_ImplOpenGL2_UpdateTexture[1]
|
||||
t.ImGui_ImplOpenGL3_CreateDeviceObjects["()"]=t.ImGui_ImplOpenGL3_CreateDeviceObjects[1]
|
||||
t.ImGui_ImplOpenGL3_DestroyDeviceObjects["()"]=t.ImGui_ImplOpenGL3_DestroyDeviceObjects[1]
|
||||
t.ImGui_ImplOpenGL3_GetRenderState["()"]=t.ImGui_ImplOpenGL3_GetRenderState[1]
|
||||
t.ImGui_ImplOpenGL3_Init["(const char*)"]=t.ImGui_ImplOpenGL3_Init[1]
|
||||
t.ImGui_ImplOpenGL3_NewFrame["()"]=t.ImGui_ImplOpenGL3_NewFrame[1]
|
||||
t.ImGui_ImplOpenGL3_RenderDrawData["(ImDrawData*)"]=t.ImGui_ImplOpenGL3_RenderDrawData[1]
|
||||
@@ -1633,7 +1648,7 @@ t.ImGui_ImplVulkanH_SelectQueueFamilyIndex["(VkPhysicalDevice)"]=t.ImGui_ImplVul
|
||||
t.ImGui_ImplVulkanH_SelectSurfaceFormat["(VkPhysicalDevice,VkSurfaceKHR,const VkFormat*,int,VkColorSpaceKHR)"]=t.ImGui_ImplVulkanH_SelectSurfaceFormat[1]
|
||||
t.ImGui_ImplVulkanH_Window_ImGui_ImplVulkanH_Window["()"]=t.ImGui_ImplVulkanH_Window_ImGui_ImplVulkanH_Window[1]
|
||||
t.ImGui_ImplVulkanH_Window_destroy["(ImGui_ImplVulkanH_Window*)"]=t.ImGui_ImplVulkanH_Window_destroy[1]
|
||||
t.ImGui_ImplVulkan_AddTexture["(VkSampler,VkImageView,VkImageLayout)"]=t.ImGui_ImplVulkan_AddTexture[1]
|
||||
t.ImGui_ImplVulkan_AddTexture["(VkImageView,VkImageLayout)"]=t.ImGui_ImplVulkan_AddTexture[1]
|
||||
t.ImGui_ImplVulkan_CreateMainPipeline["(const ImGui_ImplVulkan_PipelineInfo*)"]=t.ImGui_ImplVulkan_CreateMainPipeline[1]
|
||||
t.ImGui_ImplVulkan_Init["(ImGui_ImplVulkan_InitInfo*)"]=t.ImGui_ImplVulkan_Init[1]
|
||||
t.ImGui_ImplVulkan_LoadFunctions["(uint32_t,PFN_vkVoidFunction(*loader_func)(const char* function_name,void*,void*)"]=t.ImGui_ImplVulkan_LoadFunctions[1]
|
||||
|
||||
@@ -8,6 +8,9 @@ ImColor_ImColor 5
|
||||
ImDrawList_AddText 2
|
||||
1 void ImDrawList_AddText_Vec2 (const ImVec2,ImU32,const char*,const char*)
|
||||
2 void ImDrawList_AddText_FontPtr (ImFont*,float,const ImVec2,ImU32,const char*,const char*,float,const ImVec4*)
|
||||
ImGuiPackedDate_ImGuiPackedDate 2
|
||||
1 nil ImGuiPackedDate_ImGuiPackedDate_Nil ()
|
||||
2 nil ImGuiPackedDate_ImGuiPackedDate_Int (int)
|
||||
ImGuiPtrOrIndex_ImGuiPtrOrIndex 2
|
||||
1 nil ImGuiPtrOrIndex_ImGuiPtrOrIndex_Ptr (void*)
|
||||
2 nil ImGuiPtrOrIndex_ImGuiPtrOrIndex_Int (int)
|
||||
@@ -217,8 +220,8 @@ igMenuItem 2
|
||||
1 bool igMenuItem_Bool (const char*,const char*,bool,bool)
|
||||
2 bool igMenuItem_BoolPtr (const char*,const char*,bool*,bool)
|
||||
igOpenPopup 2
|
||||
1 void igOpenPopup_Str (const char*,ImGuiPopupFlags)
|
||||
2 void igOpenPopup_ID (ImGuiID,ImGuiPopupFlags)
|
||||
1 bool igOpenPopup_Str (const char*,ImGuiPopupFlags)
|
||||
2 bool igOpenPopup_ID (ImGuiID,ImGuiPopupFlags)
|
||||
igPlotHistogram 2
|
||||
1 void igPlotHistogram_FloatPtr (const char*,const float*,int,int,const char*,float,float,ImVec2,int)
|
||||
2 void igPlotHistogram_FnFloatPtr (const char*,float(*)(void*,int),void*,int,int,const char*,float,float,ImVec2)
|
||||
@@ -243,8 +246,8 @@ igSelectable 2
|
||||
1 bool igSelectable_Bool (const char*,bool,ImGuiSelectableFlags,const ImVec2)
|
||||
2 bool igSelectable_BoolPtr (const char*,bool*,ImGuiSelectableFlags,const ImVec2)
|
||||
igSetItemKeyOwner 2
|
||||
1 void igSetItemKeyOwner_Nil (ImGuiKey)
|
||||
2 void igSetItemKeyOwner_InputFlags (ImGuiKey,ImGuiInputFlags)
|
||||
1 bool igSetItemKeyOwner_Nil (ImGuiKey)
|
||||
2 bool igSetItemKeyOwner_InputFlags (ImGuiKey,ImGuiInputFlags)
|
||||
igSetScrollFromPosX 2
|
||||
1 void igSetScrollFromPosX_Float (float,float)
|
||||
2 void igSetScrollFromPosX_WindowPtr (ImGuiWindow*,float,float)
|
||||
@@ -309,4 +312,4 @@ igValue 4
|
||||
2 void igValue_Int (const char*,int)
|
||||
3 void igValue_Uint (const char*,unsigned int)
|
||||
4 void igValue_Float (const char*,float,const char*)
|
||||
216 overloaded
|
||||
218 overloaded
|
||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@@ -120,6 +120,7 @@
|
||||
"ImGuiOldColumnFlags": "int",
|
||||
"ImGuiOldColumns": "struct ImGuiOldColumns",
|
||||
"ImGuiOnceUponAFrame": "struct ImGuiOnceUponAFrame",
|
||||
"ImGuiPackedDate": "struct ImGuiPackedDate",
|
||||
"ImGuiPayload": "struct ImGuiPayload",
|
||||
"ImGuiPlatformIO": "struct ImGuiPlatformIO",
|
||||
"ImGuiPlatformImeData": "struct ImGuiPlatformImeData",
|
||||
@@ -133,6 +134,7 @@
|
||||
"ImGuiSelectionRequest": "struct ImGuiSelectionRequest",
|
||||
"ImGuiSelectionUserData": "ImS64",
|
||||
"ImGuiSeparatorFlags": "int",
|
||||
"ImGuiSettingsCleanupArgs": "struct ImGuiSettingsCleanupArgs",
|
||||
"ImGuiSettingsHandler": "struct ImGuiSettingsHandler",
|
||||
"ImGuiShrinkWidthItem": "struct ImGuiShrinkWidthItem",
|
||||
"ImGuiSizeCallback": "void (*)(ImGuiSizeCallbackData* data);",
|
||||
@@ -162,6 +164,7 @@
|
||||
"ImGuiTableFlags": "int",
|
||||
"ImGuiTableHeaderData": "struct ImGuiTableHeaderData",
|
||||
"ImGuiTableInstanceData": "struct ImGuiTableInstanceData",
|
||||
"ImGuiTableReconcileColumnData": "struct ImGuiTableReconcileColumnData",
|
||||
"ImGuiTableRowFlags": "int",
|
||||
"ImGuiTableSettings": "struct ImGuiTableSettings",
|
||||
"ImGuiTableSortSpecs": "struct ImGuiTableSortSpecs",
|
||||
|
||||
@@ -120,6 +120,7 @@ local t={
|
||||
ImGuiOldColumnFlags="int",
|
||||
ImGuiOldColumns="struct ImGuiOldColumns",
|
||||
ImGuiOnceUponAFrame="struct ImGuiOnceUponAFrame",
|
||||
ImGuiPackedDate="struct ImGuiPackedDate",
|
||||
ImGuiPayload="struct ImGuiPayload",
|
||||
ImGuiPlatformIO="struct ImGuiPlatformIO",
|
||||
ImGuiPlatformImeData="struct ImGuiPlatformImeData",
|
||||
@@ -133,6 +134,7 @@ local t={
|
||||
ImGuiSelectionRequest="struct ImGuiSelectionRequest",
|
||||
ImGuiSelectionUserData="ImS64",
|
||||
ImGuiSeparatorFlags="int",
|
||||
ImGuiSettingsCleanupArgs="struct ImGuiSettingsCleanupArgs",
|
||||
ImGuiSettingsHandler="struct ImGuiSettingsHandler",
|
||||
ImGuiShrinkWidthItem="struct ImGuiShrinkWidthItem",
|
||||
ImGuiSizeCallback="void (*)(ImGuiSizeCallbackData* data);",
|
||||
@@ -162,6 +164,7 @@ local t={
|
||||
ImGuiTableFlags="int",
|
||||
ImGuiTableHeaderData="struct ImGuiTableHeaderData",
|
||||
ImGuiTableInstanceData="struct ImGuiTableInstanceData",
|
||||
ImGuiTableReconcileColumnData="struct ImGuiTableReconcileColumnData",
|
||||
ImGuiTableRowFlags="int",
|
||||
ImGuiTableSettings="struct ImGuiTableSettings",
|
||||
ImGuiTableSortSpecs="struct ImGuiTableSortSpecs",
|
||||
|
||||
2
imgui
2
imgui
Submodule imgui updated: dac07199cf...a9e7a8c880
Reference in New Issue
Block a user