Show More
Commit Description:
Add little ponds and improve water status messages....
Commit Description:
Add little ponds and improve water status messages.
No longer render water cells as "Water Oak." (Oak is the value of the enum when
set to zero.)
References:
File last commit:
Show/Diff file:
Action:
ImGui.NET/Generated/ImDrawListSplitter.gen.cs
53 lines | 2.4 KiB | text/x-csharp | CSharpLexer
53 lines | 2.4 KiB | text/x-csharp | CSharpLexer
r16 | using System; | |||
using System.Numerics; | ||||
using System.Runtime.CompilerServices; | ||||
using System.Text; | ||||
namespace ImGuiNET | ||||
{ | ||||
public unsafe partial struct ImDrawListSplitter | ||||
{ | ||||
public int _Current; | ||||
public int _Count; | ||||
public ImVector _Channels; | ||||
} | ||||
public unsafe partial struct ImDrawListSplitterPtr | ||||
{ | ||||
public ImDrawListSplitter* NativePtr { get; } | ||||
public ImDrawListSplitterPtr(ImDrawListSplitter* nativePtr) => NativePtr = nativePtr; | ||||
public ImDrawListSplitterPtr(IntPtr nativePtr) => NativePtr = (ImDrawListSplitter*)nativePtr; | ||||
public static implicit operator ImDrawListSplitterPtr(ImDrawListSplitter* nativePtr) => new ImDrawListSplitterPtr(nativePtr); | ||||
public static implicit operator ImDrawListSplitter* (ImDrawListSplitterPtr wrappedPtr) => wrappedPtr.NativePtr; | ||||
public static implicit operator ImDrawListSplitterPtr(IntPtr nativePtr) => new ImDrawListSplitterPtr(nativePtr); | ||||
public ref int _Current => ref Unsafe.AsRef<int>(&NativePtr->_Current); | ||||
public ref int _Count => ref Unsafe.AsRef<int>(&NativePtr->_Count); | ||||
public ImPtrVector<ImDrawChannelPtr> _Channels => new ImPtrVector<ImDrawChannelPtr>(NativePtr->_Channels, Unsafe.SizeOf<ImDrawChannel>()); | ||||
public void Clear() | ||||
{ | ||||
ImGuiNative.ImDrawListSplitter_Clear((ImDrawListSplitter*)(NativePtr)); | ||||
} | ||||
public void ClearFreeMemory() | ||||
{ | ||||
ImGuiNative.ImDrawListSplitter_ClearFreeMemory((ImDrawListSplitter*)(NativePtr)); | ||||
} | ||||
public void Destroy() | ||||
{ | ||||
ImGuiNative.ImDrawListSplitter_destroy((ImDrawListSplitter*)(NativePtr)); | ||||
} | ||||
public void Merge(ImDrawListPtr draw_list) | ||||
{ | ||||
ImDrawList* native_draw_list = draw_list.NativePtr; | ||||
ImGuiNative.ImDrawListSplitter_Merge((ImDrawListSplitter*)(NativePtr), native_draw_list); | ||||
} | ||||
public void SetCurrentChannel(ImDrawListPtr draw_list, int channel_idx) | ||||
{ | ||||
ImDrawList* native_draw_list = draw_list.NativePtr; | ||||
ImGuiNative.ImDrawListSplitter_SetCurrentChannel((ImDrawListSplitter*)(NativePtr), native_draw_list, channel_idx); | ||||
} | ||||
public void Split(ImDrawListPtr draw_list, int count) | ||||
{ | ||||
ImDrawList* native_draw_list = draw_list.NativePtr; | ||||
ImGuiNative.ImDrawListSplitter_Split((ImDrawListSplitter*)(NativePtr), native_draw_list, count); | ||||
} | ||||
} | ||||
} | ||||