From 62dcdf8b48b5dd5c02146158f4f8d8772699aebd Mon Sep 17 00:00:00 2001 From: Eric Mellino Date: Wed, 27 Apr 2016 18:39:21 -0700 Subject: [PATCH] SetNextTreeOpened() and rename ShowTooltip->SetTooltip Conflicts: .gitignore src/ImGui.NET/ImGui.cs --- .gitignore | 2 +- src/ImGui.NET/ImGui.cs | 9 ++++++--- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/.gitignore b/.gitignore index 8db521c..7297ca2 100644 --- a/.gitignore +++ b/.gitignore @@ -253,4 +253,4 @@ Session.vim .vscode # MSVC Stuff -*.VC.db \ No newline at end of file +*.VC.db diff --git a/src/ImGui.NET/ImGui.cs b/src/ImGui.NET/ImGui.cs index 34a083a..3addc6b 100644 --- a/src/ImGui.NET/ImGui.cs +++ b/src/ImGui.NET/ImGui.cs @@ -788,7 +788,6 @@ namespace ImGuiNET ImGuiNative.igNextColumn(); } - public static int GetColumnIndex() { return ImGuiNative.igGetColumnIndex(); @@ -814,7 +813,6 @@ namespace ImGuiNET return ImGuiNative.igGetColumnsCount(); } - public static void OpenPopup(string id) { ImGuiNative.igOpenPopup(id); @@ -860,7 +858,7 @@ namespace ImGuiNET return ImGuiNative.igIsAnyItemActive(); } - public static void ShowTooltip(string text) + public static void SetTooltip(string text) { ImGuiNative.igSetTooltip(text); } @@ -870,6 +868,11 @@ namespace ImGuiNET ImGuiNative.igSetNextTreeNodeOpened(opened, SetCondition.Always); } + public static void SetNextTreeNodeOpened(bool opened, SetCondition setCondition) + { + ImGuiNative.igSetNextTreeNodeOpened(opened, setCondition); + } + public static bool TreeNode(string label) { return ImGuiNative.igTreeNode(label);