mirror of
https://github.com/ahwootech/BRUTAL.git
synced 2026-11-26 21:18:24 +01:00
first
This commit is contained in:
parent
bd62d51ec9
commit
b578433e37
1 changed files with 784842 additions and 0 deletions
53
Brutal.NotCurses/Generated/Handles/NcReelHandle.gen.cs
Normal file
53
Brutal.NotCurses/Generated/Handles/NcReelHandle.gen.cs
Normal file
|
|
@ -0,0 +1,53 @@
|
|||
using System.Runtime.InteropServices.Marshalling;
|
||||
using Brutal;
|
||||
using Brutal.Interop;
|
||||
using Brutal.Numerics;
|
||||
using Brutal.Pointers;
|
||||
using Brutal.Strings;
|
||||
namespace Brutal.NotCursesApi
|
||||
{
|
||||
[InteropHandle]
|
||||
public unsafe readonly partial struct NcReelHandle
|
||||
{
|
||||
}
|
||||
public unsafe readonly partial struct NcReelHandle
|
||||
{
|
||||
public NcTabletHandle Add(NcTabletHandle after, NcTabletHandle before, delegate* unmanaged[Cdecl]<NcTabletHandle, Bool8, int> cb, Ptr opaque)
|
||||
=> global::Brutal.NotCursesApi.NotCurses.PInvoke.ncreel_add(this, after, before, cb, opaque);
|
||||
public void Del(NcTabletHandle t)
|
||||
{
|
||||
var __r = global::Brutal.NotCursesApi.NotCurses.PInvoke.ncreel_del(this, t);
|
||||
if (__r != 0) throw new NcResultException("ncreel_del", __r);
|
||||
}
|
||||
public void Destroy()
|
||||
=> global::Brutal.NotCursesApi.NotCurses.PInvoke.ncreel_destroy(this);
|
||||
public NcTabletHandle Focused()
|
||||
=> global::Brutal.NotCursesApi.NotCurses.PInvoke.ncreel_focused(this);
|
||||
public NcTabletHandle Next()
|
||||
=> global::Brutal.NotCursesApi.NotCurses.PInvoke.ncreel_next(this);
|
||||
public Bool8 OfferInput(Ptr<NcInput> ni)
|
||||
=> global::Brutal.NotCursesApi.NotCurses.PInvoke.ncreel_offer_input(this, ni);
|
||||
public Bool8 OfferInput(out NcInput ni)
|
||||
{
|
||||
ni = default;
|
||||
fixed (NcInput* niPtr = &ni)
|
||||
{
|
||||
return global::Brutal.NotCursesApi.NotCurses.PInvoke.ncreel_offer_input(this, new Ptr<NcInput>(niPtr));
|
||||
}
|
||||
}
|
||||
public NcPlaneHandle Plane()
|
||||
=> global::Brutal.NotCursesApi.NotCurses.PInvoke.ncreel_plane(this);
|
||||
public NcTabletHandle Prev()
|
||||
=> global::Brutal.NotCursesApi.NotCurses.PInvoke.ncreel_prev(this);
|
||||
public void Redraw()
|
||||
{
|
||||
var __r = global::Brutal.NotCursesApi.NotCurses.PInvoke.ncreel_redraw(this);
|
||||
if (__r != 0) throw new NcResultException("ncreel_redraw", __r);
|
||||
}
|
||||
public void TabletCount()
|
||||
{
|
||||
var __r = global::Brutal.NotCursesApi.NotCurses.PInvoke.ncreel_tabletcount(this);
|
||||
if (__r != 0) throw new NcResultException("ncreel_tabletcount", __r);
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Reference in a new issue