mirror of
https://github.com/ahwootech/BRUTAL.git
synced 2026-11-25 12:38:24 +01:00
133 lines
5.5 KiB
C#
133 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 ImPlotPlotExtensions
|
|
{
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L1059">implot_internal.h:1059</see>
|
|
/// <br/><c>inline bool IsInputLocked() const</c>
|
|
/// </para>
|
|
/// </summary>
|
|
public static unsafe bool IsInputLocked(this ImPlotPlotPtr target) =>
|
|
PInvoke.ImPlotPlot_IsInputLocked_internal(target);
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L1071">implot_internal.h:1071</see>
|
|
/// <br/><c>inline void ClearTextBuffer()</c>
|
|
/// </para>
|
|
/// </summary>
|
|
public static unsafe void ClearTextBuffer(this ImPlotPlotPtr target) =>
|
|
PInvoke.ImPlotPlot_ClearTextBuffer_internal(target);
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L1073">implot_internal.h:1073</see>
|
|
/// <br/><c>inline void SetTitle(const char* title)</c>
|
|
/// </para>
|
|
/// </summary>
|
|
public static unsafe void SetTitle(this ImPlotPlotPtr target, ImString title)
|
|
{
|
|
fixed (byte* title_fixed = title)
|
|
{
|
|
PInvoke.ImPlotPlot_SetTitle_internal(target, title_fixed);
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L1082">implot_internal.h:1082</see>
|
|
/// <br/><c>inline bool HasTitle() const</c>
|
|
/// </para>
|
|
/// </summary>
|
|
public static unsafe bool HasTitle(this ImPlotPlotPtr target) => PInvoke.ImPlotPlot_HasTitle_internal(target);
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L1083">implot_internal.h:1083</see>
|
|
/// <br/><c>inline const char* GetTitle() const</c>
|
|
/// </para>
|
|
/// </summary>
|
|
public static unsafe Ptr<byte> GetTitle(this ImPlotPlotPtr target) =>
|
|
PInvoke.ImPlotPlot_GetTitle_internal(target);
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L1085">implot_internal.h:1085</see>
|
|
/// <br/><c>inline ImPlotAxis& XAxis(int i)</c>
|
|
/// </para>
|
|
/// </summary>
|
|
public static unsafe ImPlotAxisPtr XAxis(this ImPlotPlotPtr target, int i) =>
|
|
PInvoke.ImPlotPlot_XAxis_internal_0(target, i);
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L1087">implot_internal.h:1087</see>
|
|
/// <br/><c>inline ImPlotAxis& YAxis(int i)</c>
|
|
/// </para>
|
|
/// </summary>
|
|
public static unsafe ImPlotAxisPtr YAxis(this ImPlotPlotPtr target, int i) =>
|
|
PInvoke.ImPlotPlot_YAxis_internal_0(target, i);
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L1090">implot_internal.h:1090</see>
|
|
/// <br/><c>inline int EnabledAxesX()</c>
|
|
/// </para>
|
|
/// </summary>
|
|
public static unsafe int EnabledAxesX(this ImPlotPlotPtr target) =>
|
|
PInvoke.ImPlotPlot_EnabledAxesX_internal(target);
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L1097">implot_internal.h:1097</see>
|
|
/// <br/><c>inline int EnabledAxesY()</c>
|
|
/// </para>
|
|
/// </summary>
|
|
public static unsafe int EnabledAxesY(this ImPlotPlotPtr target) =>
|
|
PInvoke.ImPlotPlot_EnabledAxesY_internal(target);
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L1104">implot_internal.h:1104</see>
|
|
/// <br/><c>inline void SetAxisLabel(ImPlotAxis& axis, const char* label)</c>
|
|
/// </para>
|
|
/// </summary>
|
|
public static unsafe void SetAxisLabel(this ImPlotPlotPtr target, ImPlotAxisPtr axis, ImString label)
|
|
{
|
|
fixed (byte* label_fixed = label)
|
|
{
|
|
PInvoke.ImPlotPlot_SetAxisLabel_internal(target, axis, label_fixed);
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L1114">implot_internal.h:1114</see>
|
|
/// <br/><c>inline const char* GetAxisLabel(const ImPlotAxis& axis) const</c>
|
|
/// </para>
|
|
/// </summary>
|
|
public static unsafe Ptr<byte> GetAxisLabel(this ImPlotPlotPtr target, in ImPlotAxis axis)
|
|
{
|
|
fixed (ImPlotAxis* axis_fixed = &axis)
|
|
{
|
|
return PInvoke.ImPlotPlot_GetAxisLabel_internal(target, axis_fixed);
|
|
}
|
|
}
|
|
}
|
|
}
|