|
@@ -496,7 +496,6 @@ namespace ImGui
|
|
IMGUI_API void TreePush(const char* str_id); // ~ Indent()+PushId(). Already called by TreeNode() when returning true, but you can call TreePush/TreePop yourself if desired.
|
|
IMGUI_API void TreePush(const char* str_id); // ~ Indent()+PushId(). Already called by TreeNode() when returning true, but you can call TreePush/TreePop yourself if desired.
|
|
IMGUI_API void TreePush(const void* ptr_id = NULL); // "
|
|
IMGUI_API void TreePush(const void* ptr_id = NULL); // "
|
|
IMGUI_API void TreePop(); // ~ Unindent()+PopId()
|
|
IMGUI_API void TreePop(); // ~ Unindent()+PopId()
|
|
- IMGUI_API void TreeAdvanceToLabelPos(); // advance cursor x position by GetTreeNodeToLabelSpacing()
|
|
|
|
IMGUI_API float GetTreeNodeToLabelSpacing(); // horizontal distance preceding label when using TreeNode*() or Bullet() == (g.FontSize + style.FramePadding.x*2) for a regular unframed TreeNode
|
|
IMGUI_API float GetTreeNodeToLabelSpacing(); // horizontal distance preceding label when using TreeNode*() or Bullet() == (g.FontSize + style.FramePadding.x*2) for a regular unframed TreeNode
|
|
IMGUI_API bool CollapsingHeader(const char* label, ImGuiTreeNodeFlags flags = 0); // if returning 'true' the header is open. doesn't indent nor push on ID stack. user doesn't have to call TreePop().
|
|
IMGUI_API bool CollapsingHeader(const char* label, ImGuiTreeNodeFlags flags = 0); // if returning 'true' the header is open. doesn't indent nor push on ID stack. user doesn't have to call TreePop().
|
|
IMGUI_API bool CollapsingHeader(const char* label, bool* p_open, ImGuiTreeNodeFlags flags = 0); // when 'p_open' isn't NULL, display an additional small close button on upper right of the header
|
|
IMGUI_API bool CollapsingHeader(const char* label, bool* p_open, ImGuiTreeNodeFlags flags = 0); // when 'p_open' isn't NULL, display an additional small close button on upper right of the header
|
|
@@ -1531,8 +1530,10 @@ struct ImGuiPayload
|
|
#ifndef IMGUI_DISABLE_OBSOLETE_FUNCTIONS
|
|
#ifndef IMGUI_DISABLE_OBSOLETE_FUNCTIONS
|
|
namespace ImGui
|
|
namespace ImGui
|
|
{
|
|
{
|
|
|
|
+ // OBSOLETED in 1.72 (from July 2019)
|
|
|
|
+ static inline void TreeAdvanceToLabelPos() { SetCursorPosX(GetCursorPosX() + GetTreeNodeToLabelSpacing()); }
|
|
// OBSOLETED in 1.71 (from June 2019)
|
|
// OBSOLETED in 1.71 (from June 2019)
|
|
- static inline void SetNextTreeNodeOpen(bool open, ImGuiCond cond = 0) { SetNextItemOpen(open, cond); }
|
|
|
|
|
|
+ static inline void SetNextTreeNodeOpen(bool open, ImGuiCond cond = 0) { SetNextItemOpen(open, cond); }
|
|
// OBSOLETED in 1.70 (from May 2019)
|
|
// OBSOLETED in 1.70 (from May 2019)
|
|
static inline float GetContentRegionAvailWidth() { return GetContentRegionAvail().x; }
|
|
static inline float GetContentRegionAvailWidth() { return GetContentRegionAvail().x; }
|
|
// OBSOLETED in 1.69 (from Mar 2019)
|
|
// OBSOLETED in 1.69 (from Mar 2019)
|