overload names for Selectable and BeginChild according to cimgui standard

This commit is contained in:
sonoro1234
2018-06-16 21:04:15 +02:00
parent 567261806c
commit 946a568a99
3 changed files with 10 additions and 4 deletions

View File

@@ -92,7 +92,7 @@ CIMGUI_API void igEnd()
{
return ImGui::End();
}
CIMGUI_API bool igBeginChildStr(const char* str_id,const ImVec2 size,bool border,ImGuiWindowFlags flags)
CIMGUI_API bool igBeginChild(const char* str_id,const ImVec2 size,bool border,ImGuiWindowFlags flags)
{
return ImGui::BeginChild(str_id,size,border,flags);
}
@@ -870,7 +870,7 @@ CIMGUI_API bool igCollapsingHeaderBoolPtr(const char* label,bool* p_op
{
return ImGui::CollapsingHeader(label,p_open,flags);
}
CIMGUI_API bool igSelectableBool(const char* label,bool selected,ImGuiSelectableFlags flags,const ImVec2 size)
CIMGUI_API bool igSelectable(const char* label,bool selected,ImGuiSelectableFlags flags,const ImVec2 size)
{
return ImGui::Selectable(label,selected,flags,size);
}