mirror of
https://github.com/ahwootech/BRUTAL.git
synced 2026-11-25 12:38:24 +01:00
164 lines
5.5 KiB
C#
164 lines
5.5 KiB
C#
// <auto-generated/>
|
|
// Generated by Brutal.ImGui.Generator; do not edit by hand.
|
|
#nullable enable
|
|
|
|
using System.Runtime.CompilerServices;
|
|
|
|
namespace Brutal.ImPlotApi.Internal
|
|
{
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L278">implot_internal.h:278</see>
|
|
/// <br/><c>struct ImPlotDateTimeSpec {</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Combined date/time format spec
|
|
/// </para>
|
|
/// </remarks>
|
|
[StructLayout(LayoutKind.Explicit, Size = 12)]
|
|
public partial struct ImPlotDateTimeSpec
|
|
{
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L286">implot_internal.h:286</see>
|
|
/// <br/><c>ImPlotDateFmt Date</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Combined date/time format spec
|
|
/// </para>
|
|
/// </remarks>
|
|
[FieldOffset(0)]
|
|
public ImPlotDateFmt Date;
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L287">implot_internal.h:287</see>
|
|
/// <br/><c>ImPlotTimeFmt Time</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Combined date/time format spec
|
|
/// </para>
|
|
/// </remarks>
|
|
[FieldOffset(4)]
|
|
public ImPlotTimeFmt Time;
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L288">implot_internal.h:288</see>
|
|
/// <br/><c>bool UseISO8601</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Combined date/time format spec
|
|
/// </para>
|
|
/// </remarks>
|
|
[FieldOffset(8)]
|
|
public Bool8 UseISO8601;
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L289">implot_internal.h:289</see>
|
|
/// <br/><c>bool Use24HourClock</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Combined date/time format spec
|
|
/// </para>
|
|
/// </remarks>
|
|
[FieldOffset(9)]
|
|
public Bool8 Use24HourClock;
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L278">implot_internal.h:278</see>
|
|
/// <br/><c>struct ImPlotDateTimeSpec {</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Combined date/time format spec
|
|
/// </para>
|
|
/// </remarks>
|
|
public unsafe partial struct ImPlotDateTimeSpecPtr(ImPlotDateTimeSpec* ptr) : INullable
|
|
{
|
|
private ImPlotDateTimeSpec* _ptr = ptr;
|
|
public ImPlotDateTimeSpec* Ptr => _ptr;
|
|
|
|
public bool IsNull() => _ptr is null;
|
|
|
|
public static implicit operator ImPlotDateTimeSpecPtr(ImPlotDateTimeSpec* ptr) => new(ptr);
|
|
|
|
public static implicit operator ImPlotDateTimeSpec*(ImPlotDateTimeSpecPtr wrapper) => wrapper.Ptr;
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L286">implot_internal.h:286</see>
|
|
/// <br/><c>ImPlotDateFmt Date</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Combined date/time format spec
|
|
/// </para>
|
|
/// </remarks>
|
|
public ref ImPlotDateFmt Date => ref Unsafe.AsRef<ImPlotDateFmt>(&_ptr->Date);
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L287">implot_internal.h:287</see>
|
|
/// <br/><c>ImPlotTimeFmt Time</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Combined date/time format spec
|
|
/// </para>
|
|
/// </remarks>
|
|
public ref ImPlotTimeFmt Time => ref Unsafe.AsRef<ImPlotTimeFmt>(&_ptr->Time);
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L288">implot_internal.h:288</see>
|
|
/// <br/><c>bool UseISO8601</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Combined date/time format spec
|
|
/// </para>
|
|
/// </remarks>
|
|
public ref bool UseISO8601 => ref Unsafe.AsRef<bool>(&_ptr->UseISO8601);
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L289">implot_internal.h:289</see>
|
|
/// <br/><c>bool Use24HourClock</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Combined date/time format spec
|
|
/// </para>
|
|
/// </remarks>
|
|
public ref bool Use24HourClock => ref Unsafe.AsRef<bool>(&_ptr->Use24HourClock);
|
|
}
|
|
}
|