mirror of
https://github.com/cimgui/cimgui.git
synced 2025-08-15 14:08:30 +01:00
adjusted some pointer and ref usages
This commit is contained in:
@@ -20,10 +20,10 @@ CIMGUI_API void ig_ShowMetricsWindow(bool* opened = NULL);
|
||||
|
||||
// Window
|
||||
CIMGUI_API bool ig_Begin(const char* name = "Debug", bool* p_opened = NULL, ImGuiWindowFlags flags = 0);
|
||||
CIMGUI_API bool ig_Begin2(const char* name, bool* p_opened, const ImVec2& size_on_first_use, float bg_alpha = -1.0f, ImGuiWindowFlags flags = 0);
|
||||
CIMGUI_API bool ig_Begin2(const char* name, bool* p_opened, const ImVec2 size_on_first_use, float bg_alpha = -1.0f, ImGuiWindowFlags flags = 0);
|
||||
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 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);
|
||||
@@ -37,15 +37,15 @@ CIMGUI_API void ig_GetWindowSize(ImVec2& out);
|
||||
CIMGUI_API float ig_GetWindowWidth();
|
||||
CIMGUI_API bool ig_GetWindowCollapsed();
|
||||
|
||||
CIMGUI_API void ig_SetNextWindowPos(const ImVec2& pos, ImGuiSetCond cond = 0);
|
||||
CIMGUI_API void ig_SetNextWindowSize(const ImVec2& size, ImGuiSetCond cond = 0);
|
||||
CIMGUI_API void ig_SetNextWindowPos(const ImVec2 pos, ImGuiSetCond cond = 0);
|
||||
CIMGUI_API void ig_SetNextWindowSize(const ImVec2 size, ImGuiSetCond cond = 0);
|
||||
CIMGUI_API void ig_SetNextWindowCollapsed(bool collapsed, ImGuiSetCond cond = 0);
|
||||
CIMGUI_API void ig_SetNextWindowFocus();
|
||||
CIMGUI_API void ig_SetWindowPos(const ImVec2& pos, ImGuiSetCond cond = 0);
|
||||
CIMGUI_API void ig_SetWindowSize(const ImVec2& size, ImGuiSetCond cond = 0);
|
||||
CIMGUI_API void ig_SetWindowPos(const ImVec2 pos, ImGuiSetCond cond = 0);
|
||||
CIMGUI_API void ig_SetWindowSize(const ImVec2 size, ImGuiSetCond cond = 0);
|
||||
CIMGUI_API void ig_SetWindowCollapsed(bool collapsed, ImGuiSetCond cond = 0);
|
||||
CIMGUI_API void ig_SetWindowFocus();
|
||||
CIMGUI_API void ig_SetWindowPos2(const char* name, const ImVec2& pos, ImGuiSetCond cond = 0);
|
||||
CIMGUI_API void ig_SetWindowSize2(const char* name, const ImVec2& size, ImGuiSetCond cond = 0);
|
||||
CIMGUI_API void ig_SetWindowPos2(const char* name, const ImVec2 pos, ImGuiSetCond cond = 0);
|
||||
CIMGUI_API void ig_SetWindowSize2(const char* name, const ImVec2 size, ImGuiSetCond cond = 0);
|
||||
CIMGUI_API void ig_SetWindowCollapsed2(const char* name, bool collapsed, ImGuiSetCond cond = 0);
|
||||
CIMGUI_API void ig_SetWindowFocus2(const char* name);
|
Reference in New Issue
Block a user