diff --git a/src/ImGui.NET/ImGui.cs b/src/ImGui.NET/ImGui.cs index ed1b3f9..34a083a 100644 --- a/src/ImGui.NET/ImGui.cs +++ b/src/ImGui.NET/ImGui.cs @@ -778,6 +778,43 @@ namespace ImGuiNET ImGuiNative.igSpacing(); } + public static void Columns(int count, string id, bool border) + { + ImGuiNative.igColumns(count, id, border); + } + + public static void NextColumn() + { + ImGuiNative.igNextColumn(); + } + + + public static int GetColumnIndex() + { + return ImGuiNative.igGetColumnIndex(); + } + + public static float GetColumnOffset(int columnIndex) + { + return ImGuiNative.igGetColumnOffset(columnIndex); + } + + public static void SetColumnOffset(int columnIndex, float offsetX) + { + ImGuiNative.igSetColumnOffset(columnIndex, offsetX); + } + + public static float GetColumnWidth(int columnIndex) + { + return ImGuiNative.igGetColumnWidth(columnIndex); + } + + public static int GetColumnsCount() + { + return ImGuiNative.igGetColumnsCount(); + } + + public static void OpenPopup(string id) { ImGuiNative.igOpenPopup(id); @@ -798,6 +835,31 @@ namespace ImGuiNET return ImGuiNative.igIsItemHovered(); } + public static bool IsLastItemHoveredRect() + { + return ImGuiNative.igIsItemHoveredRect(); + } + + public static bool IsLastItemActive() + { + return ImGuiNative.igIsItemActive(); + } + + public static bool IsLastItemVisible() + { + return ImGuiNative.igIsItemVisible(); + } + + public static bool IsAnyItemHovered() + { + return ImGuiNative.igIsAnyItemHovered(); + } + + public static bool IsAnyItemActive() + { + return ImGuiNative.igIsAnyItemActive(); + } + public static void ShowTooltip(string text) { ImGuiNative.igSetTooltip(text);