mirror of
https://github.com/cimgui/cimgui.git
synced 2025-08-10 11:58:30 +01:00
try to get rid of reference semantic
This commit is contained in:
@@ -82,19 +82,19 @@ CIMGUI_API void ig_EndChild()
|
||||
ImGui::EndChild();
|
||||
}
|
||||
|
||||
CIMGUI_API void ig_GetContentRegionMax(ImVec2& out)
|
||||
CIMGUI_API void ig_GetContentRegionMax(ImVec2* out)
|
||||
{
|
||||
out = ImGui::GetContentRegionMax();
|
||||
*out = ImGui::GetContentRegionMax();
|
||||
}
|
||||
|
||||
CIMGUI_API void ig_GetWindowContentRegionMin(ImVec2& out)
|
||||
CIMGUI_API void ig_GetWindowContentRegionMin(ImVec2* out)
|
||||
{
|
||||
out = ImGui::GetWindowContentRegionMin();
|
||||
*out = ImGui::GetWindowContentRegionMin();
|
||||
}
|
||||
|
||||
CIMGUI_API void ig_GetWindowContentRegionMax(ImVec2& out)
|
||||
CIMGUI_API void ig_GetWindowContentRegionMax(ImVec2* out)
|
||||
{
|
||||
out = ImGui::GetWindowContentRegionMax();
|
||||
*out = ImGui::GetWindowContentRegionMax();
|
||||
}
|
||||
|
||||
CIMGUI_API ImDrawList* ig_GetWindowDrawList()
|
||||
@@ -117,14 +117,14 @@ CIMGUI_API void ig_SetWindowFontScale(float scale)
|
||||
ImGui::SetWindowFontScale(scale);
|
||||
}
|
||||
|
||||
CIMGUI_API void ig_GetWindowPos(ImVec2& out)
|
||||
CIMGUI_API void ig_GetWindowPos(ImVec2* out)
|
||||
{
|
||||
out = ImGui::GetWindowPos();
|
||||
*out = ImGui::GetWindowPos();
|
||||
}
|
||||
|
||||
CIMGUI_API void ig_GetWindowSize(ImVec2& out)
|
||||
CIMGUI_API void ig_GetWindowSize(ImVec2* out)
|
||||
{
|
||||
out = ImGui::GetWindowSize();
|
||||
*out = ImGui::GetWindowSize();
|
||||
}
|
||||
|
||||
CIMGUI_API float ig_GetWindowWidth()
|
||||
|
@@ -25,15 +25,15 @@ CIMGUI_API void ig_End();
|
||||
CIMGUI_API bool ig_BeginChild(const char* str_id, const ImVec2 size = ImVec2(0, 0), bool border = false, ImGuiWindowFlags extra_flags = 0);
|
||||
CIMGUI_API bool ig_BeginChild2(ImGuiID id, const ImVec2 size = ImVec2(0, 0), bool border = false, ImGuiWindowFlags extra_flags = 0);
|
||||
CIMGUI_API void ig_EndChild();
|
||||
CIMGUI_API void ig_GetContentRegionMax(ImVec2& out);
|
||||
CIMGUI_API void ig_GetWindowContentRegionMin(ImVec2& out);
|
||||
CIMGUI_API void ig_GetWindowContentRegionMax(ImVec2& out);
|
||||
CIMGUI_API void ig_GetContentRegionMax(ImVec2* out);
|
||||
CIMGUI_API void ig_GetWindowContentRegionMin(ImVec2* out);
|
||||
CIMGUI_API void ig_GetWindowContentRegionMax(ImVec2* out);
|
||||
CIMGUI_API ImDrawList* ig_GetWindowDrawList();
|
||||
CIMGUI_API ImFont* ig_GetWindowFont();
|
||||
CIMGUI_API float ig_GetWindowFontSize();
|
||||
CIMGUI_API void ig_SetWindowFontScale(float scale);
|
||||
CIMGUI_API void ig_GetWindowPos(ImVec2& out);
|
||||
CIMGUI_API void ig_GetWindowSize(ImVec2& out);
|
||||
CIMGUI_API void ig_GetWindowPos(ImVec2* out);
|
||||
CIMGUI_API void ig_GetWindowSize(ImVec2* out);
|
||||
CIMGUI_API float ig_GetWindowWidth();
|
||||
CIMGUI_API bool ig_GetWindowCollapsed();
|
||||
|
||||
|
Reference in New Issue
Block a user