mirror of
https://github.com/ahwootech/BRUTAL.git
synced 2026-11-25 12:38:24 +01:00
129 lines
5.5 KiB
C#
129 lines
5.5 KiB
C#
// <auto-generated/>
|
|
// Generated by Brutal.ImGui.Generator; do not edit by hand.
|
|
#nullable enable
|
|
|
|
namespace Brutal.ImPlotApi.Internal
|
|
{
|
|
public static partial class ImPlotItemGroupExtensions
|
|
{
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L999">implot_internal.h:999</see>
|
|
/// <br/><c>int GetItemCount() const</c>
|
|
/// </para>
|
|
/// </summary>
|
|
public static unsafe int GetItemCount(this ImPlotItemGroupPtr target) =>
|
|
PInvoke.ImPlotItemGroup_GetItemCount_internal(target);
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L1000">implot_internal.h:1000</see>
|
|
/// <br/><c>ImGuiID GetItemID(const char* label_id)</c>
|
|
/// </para>
|
|
/// </summary>
|
|
public static unsafe ImGuiID GetItemID(this ImPlotItemGroupPtr target, ImString labelId)
|
|
{
|
|
fixed (byte* labelId_fixed = labelId)
|
|
{
|
|
return PInvoke.ImPlotItemGroup_GetItemID_internal(target, labelId_fixed);
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L1001">implot_internal.h:1001</see>
|
|
/// <br/><c>ImPlotItem* GetItem(ImGuiID id)</c>
|
|
/// </para>
|
|
/// </summary>
|
|
public static unsafe ImPlotItemPtr GetItem(this ImPlotItemGroupPtr target, ImGuiID id) =>
|
|
PInvoke.ImPlotItemGroup_GetItem_internal_0(target, id);
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L1002">implot_internal.h:1002</see>
|
|
/// <br/><c>ImPlotItem* GetItem(const char* label_id)</c>
|
|
/// </para>
|
|
/// </summary>
|
|
public static unsafe ImPlotItemPtr GetItem(this ImPlotItemGroupPtr target, ImString labelId)
|
|
{
|
|
fixed (byte* labelId_fixed = labelId)
|
|
{
|
|
return PInvoke.ImPlotItemGroup_GetItem_internal_1(target, labelId_fixed);
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L1003">implot_internal.h:1003</see>
|
|
/// <br/><c>ImPlotItem* GetOrAddItem(ImGuiID id)</c>
|
|
/// </para>
|
|
/// </summary>
|
|
public static unsafe ImPlotItemPtr GetOrAddItem(this ImPlotItemGroupPtr target, ImGuiID id) =>
|
|
PInvoke.ImPlotItemGroup_GetOrAddItem_internal(target, id);
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L1004">implot_internal.h:1004</see>
|
|
/// <br/><c>ImPlotItem* GetItemByIndex(int i)</c>
|
|
/// </para>
|
|
/// </summary>
|
|
public static unsafe ImPlotItemPtr GetItemByIndex(this ImPlotItemGroupPtr target, int i) =>
|
|
PInvoke.ImPlotItemGroup_GetItemByIndex_internal(target, i);
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L1005">implot_internal.h:1005</see>
|
|
/// <br/><c>int GetItemIndex(ImPlotItem* item)</c>
|
|
/// </para>
|
|
/// </summary>
|
|
public static unsafe int GetItemIndex(this ImPlotItemGroupPtr target, ImPlotItemPtr item) =>
|
|
PInvoke.ImPlotItemGroup_GetItemIndex_internal(target, item);
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L1006">implot_internal.h:1006</see>
|
|
/// <br/><c>int GetLegendCount() const</c>
|
|
/// </para>
|
|
/// </summary>
|
|
public static unsafe int GetLegendCount(this ImPlotItemGroupPtr target) =>
|
|
PInvoke.ImPlotItemGroup_GetLegendCount_internal(target);
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L1007">implot_internal.h:1007</see>
|
|
/// <br/><c>ImPlotItem* GetLegendItem(int i)</c>
|
|
/// </para>
|
|
/// </summary>
|
|
public static unsafe ImPlotItemPtr GetLegendItem(this ImPlotItemGroupPtr target, int i) =>
|
|
PInvoke.ImPlotItemGroup_GetLegendItem_internal(target, i);
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L1008">implot_internal.h:1008</see>
|
|
/// <br/><c>const char* GetLegendLabel(int i)</c>
|
|
/// </para>
|
|
/// </summary>
|
|
public static unsafe Ptr<byte> GetLegendLabel(this ImPlotItemGroupPtr target, int i) =>
|
|
PInvoke.ImPlotItemGroup_GetLegendLabel_internal(target, i);
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L1009">implot_internal.h:1009</see>
|
|
/// <br/><c>void Reset()</c>
|
|
/// </para>
|
|
/// </summary>
|
|
public static unsafe void Reset(this ImPlotItemGroupPtr target) =>
|
|
PInvoke.ImPlotItemGroup_Reset_internal(target);
|
|
}
|
|
}
|