|
@@ -288,7 +288,6 @@ namespace ImGui
|
|
// - Those functions are bound to be redesigned soon (they are confusing, incomplete and return values in local window coordinates which increases confusion)
|
|
// - Those functions are bound to be redesigned soon (they are confusing, incomplete and return values in local window coordinates which increases confusion)
|
|
IMGUI_API ImVec2 GetContentRegionMax(); // current content boundaries (typically window boundaries including scrolling, or current column boundaries), in windows coordinates
|
|
IMGUI_API ImVec2 GetContentRegionMax(); // current content boundaries (typically window boundaries including scrolling, or current column boundaries), in windows coordinates
|
|
IMGUI_API ImVec2 GetContentRegionAvail(); // == GetContentRegionMax() - GetCursorPos()
|
|
IMGUI_API ImVec2 GetContentRegionAvail(); // == GetContentRegionMax() - GetCursorPos()
|
|
- IMGUI_API float GetContentRegionAvailWidth(); // == GetContentRegionAvail().x
|
|
|
|
IMGUI_API ImVec2 GetWindowContentRegionMin(); // content boundaries min (roughly (0,0)-Scroll), in window coordinates
|
|
IMGUI_API ImVec2 GetWindowContentRegionMin(); // content boundaries min (roughly (0,0)-Scroll), in window coordinates
|
|
IMGUI_API ImVec2 GetWindowContentRegionMax(); // content boundaries max (roughly (0,0)+Size-Scroll) where Size can be override with SetNextWindowContentSize(), in window coordinates
|
|
IMGUI_API ImVec2 GetWindowContentRegionMax(); // content boundaries max (roughly (0,0)+Size-Scroll) where Size can be override with SetNextWindowContentSize(), in window coordinates
|
|
IMGUI_API float GetWindowContentRegionWidth(); //
|
|
IMGUI_API float GetWindowContentRegionWidth(); //
|
|
@@ -1529,6 +1528,8 @@ struct ImGuiPayload
|
|
#ifndef IMGUI_DISABLE_OBSOLETE_FUNCTIONS
|
|
#ifndef IMGUI_DISABLE_OBSOLETE_FUNCTIONS
|
|
namespace ImGui
|
|
namespace ImGui
|
|
{
|
|
{
|
|
|
|
+ // OBSOLETED in 1.70 (from May 2019)
|
|
|
|
+ static inline float GetContentRegionAvailWidth() { return GetContentRegionAvail().x; }
|
|
// OBSOLETED in 1.69 (from Mar 2019)
|
|
// OBSOLETED in 1.69 (from Mar 2019)
|
|
static inline ImDrawList* GetOverlayDrawList() { return GetForegroundDrawList(); }
|
|
static inline ImDrawList* GetOverlayDrawList() { return GetForegroundDrawList(); }
|
|
// OBSOLETED in 1.66 (from Sep 2018)
|
|
// OBSOLETED in 1.66 (from Sep 2018)
|