mirror of
https://github.com/cimgui/cimgui.git
synced 2025-08-15 22:18:29 +01:00
add igGetIDRange to overloads table
This commit is contained in:
@@ -477,7 +477,7 @@ CIMGUI_API ImGuiID igGetIDStr(const char* str_id)
|
|||||||
{
|
{
|
||||||
return ImGui::GetID(str_id);
|
return ImGui::GetID(str_id);
|
||||||
}
|
}
|
||||||
CIMGUI_API ImGuiID igGetIDStrStr(const char* str_id_begin,const char* str_id_end)
|
CIMGUI_API ImGuiID igGetIDRange(const char* str_id_begin,const char* str_id_end)
|
||||||
{
|
{
|
||||||
return ImGui::GetID(str_id_begin,str_id_end);
|
return ImGui::GetID(str_id_begin,str_id_end);
|
||||||
}
|
}
|
||||||
|
2
cimgui.h
2
cimgui.h
@@ -954,7 +954,7 @@ CIMGUI_API void igPushIDPtr(const void* ptr_id);
|
|||||||
CIMGUI_API void igPushIDInt(int int_id);
|
CIMGUI_API void igPushIDInt(int int_id);
|
||||||
CIMGUI_API void igPopID(void);
|
CIMGUI_API void igPopID(void);
|
||||||
CIMGUI_API ImGuiID igGetIDStr(const char* str_id);
|
CIMGUI_API ImGuiID igGetIDStr(const char* str_id);
|
||||||
CIMGUI_API ImGuiID igGetIDStrStr(const char* str_id_begin,const char* str_id_end);
|
CIMGUI_API ImGuiID igGetIDRange(const char* str_id_begin,const char* str_id_end);
|
||||||
CIMGUI_API ImGuiID igGetIDPtr(const void* ptr_id);
|
CIMGUI_API ImGuiID igGetIDPtr(const void* ptr_id);
|
||||||
CIMGUI_API void igTextUnformatted(const char* text,const char* text_end);
|
CIMGUI_API void igTextUnformatted(const char* text,const char* text_end);
|
||||||
CIMGUI_API void igText(const char* fmt,...);
|
CIMGUI_API void igText(const char* fmt,...);
|
||||||
|
@@ -62,6 +62,9 @@ local cimgui_overloads = {
|
|||||||
--["(const void*)"] = "igPushIDPtr",
|
--["(const void*)"] = "igPushIDPtr",
|
||||||
--["(int)"] = "igPushIDInt"
|
--["(int)"] = "igPushIDInt"
|
||||||
},
|
},
|
||||||
|
igGetID = {
|
||||||
|
["(const char*,const char*)"] = "igGetIDRange",
|
||||||
|
},
|
||||||
ImDrawList_AddText = {
|
ImDrawList_AddText = {
|
||||||
["(const ImVec2,ImU32,const char*,const char*)"] = "ImDrawList_AddText",
|
["(const ImVec2,ImU32,const char*,const char*)"] = "ImDrawList_AddText",
|
||||||
},
|
},
|
||||||
|
@@ -477,7 +477,7 @@ CIMGUI_API ImGuiID igGetIDStr(const char* str_id)
|
|||||||
{
|
{
|
||||||
return ImGui::GetID(str_id);
|
return ImGui::GetID(str_id);
|
||||||
}
|
}
|
||||||
CIMGUI_API ImGuiID igGetIDStrStr(const char* str_id_begin,const char* str_id_end)
|
CIMGUI_API ImGuiID igGetIDRange(const char* str_id_begin,const char* str_id_end)
|
||||||
{
|
{
|
||||||
return ImGui::GetID(str_id_begin,str_id_end);
|
return ImGui::GetID(str_id_begin,str_id_end);
|
||||||
}
|
}
|
||||||
|
@@ -954,7 +954,7 @@ CIMGUI_API void igPushIDPtr(const void* ptr_id);
|
|||||||
CIMGUI_API void igPushIDInt(int int_id);
|
CIMGUI_API void igPushIDInt(int int_id);
|
||||||
CIMGUI_API void igPopID(void);
|
CIMGUI_API void igPopID(void);
|
||||||
CIMGUI_API ImGuiID igGetIDStr(const char* str_id);
|
CIMGUI_API ImGuiID igGetIDStr(const char* str_id);
|
||||||
CIMGUI_API ImGuiID igGetIDStrStr(const char* str_id_begin,const char* str_id_end);
|
CIMGUI_API ImGuiID igGetIDRange(const char* str_id_begin,const char* str_id_end);
|
||||||
CIMGUI_API ImGuiID igGetIDPtr(const void* ptr_id);
|
CIMGUI_API ImGuiID igGetIDPtr(const void* ptr_id);
|
||||||
CIMGUI_API void igTextUnformatted(const char* text,const char* text_end);
|
CIMGUI_API void igTextUnformatted(const char* text,const char* text_end);
|
||||||
CIMGUI_API void igText(const char* fmt,...);
|
CIMGUI_API void igText(const char* fmt,...);
|
||||||
|
File diff suppressed because one or more lines are too long
@@ -4135,7 +4135,7 @@ defs["igGetID"][2]["argsT"][1]["name"] = "str_id_begin"
|
|||||||
defs["igGetID"][2]["argsT"][2] = {}
|
defs["igGetID"][2]["argsT"][2] = {}
|
||||||
defs["igGetID"][2]["argsT"][2]["type"] = "const char*"
|
defs["igGetID"][2]["argsT"][2]["type"] = "const char*"
|
||||||
defs["igGetID"][2]["argsT"][2]["name"] = "str_id_end"
|
defs["igGetID"][2]["argsT"][2]["name"] = "str_id_end"
|
||||||
defs["igGetID"][2]["ov_cimguiname"] = "igGetIDStrStr"
|
defs["igGetID"][2]["ov_cimguiname"] = "igGetIDRange"
|
||||||
defs["igGetID"][2]["defaults"] = {}
|
defs["igGetID"][2]["defaults"] = {}
|
||||||
defs["igGetID"][2]["signature"] = "(const char*,const char*)"
|
defs["igGetID"][2]["signature"] = "(const char*,const char*)"
|
||||||
defs["igGetID"][2]["cimguiname"] = "igGetID"
|
defs["igGetID"][2]["cimguiname"] = "igGetID"
|
||||||
|
@@ -43,7 +43,7 @@ igMenuItem 2
|
|||||||
2 bool igMenuItemBoolPtr (const char*,const char*,bool*,bool)
|
2 bool igMenuItemBoolPtr (const char*,const char*,bool*,bool)
|
||||||
igGetID 3
|
igGetID 3
|
||||||
1 ImGuiID igGetIDStr (const char*)
|
1 ImGuiID igGetIDStr (const char*)
|
||||||
2 ImGuiID igGetIDStrStr (const char*,const char*)
|
2 ImGuiID igGetIDRange (const char*,const char*)
|
||||||
3 ImGuiID igGetIDPtr (const void*)
|
3 ImGuiID igGetIDPtr (const void*)
|
||||||
igListBoxHeader 2
|
igListBoxHeader 2
|
||||||
1 bool igListBoxHeaderVec2 (const char*,const ImVec2)
|
1 bool igListBoxHeaderVec2 (const char*,const ImVec2)
|
||||||
|
Reference in New Issue
Block a user