mirror of
https://github.com/ahwootech/BRUTAL.git
synced 2026-11-26 04:58:24 +01:00
SOURCE DUMP v1
This commit is contained in:
parent
bd62d51ec9
commit
fb20299e9d
1 changed files with 768360 additions and 0 deletions
|
|
@ -0,0 +1,42 @@
|
|||
using System.Runtime.InteropServices.Marshalling;
|
||||
using Brutal;
|
||||
using Brutal.Interop;
|
||||
using Brutal.Pointers;
|
||||
namespace Brutal.NotCursesApi
|
||||
{
|
||||
/// Configuration for notcurses_init().
|
||||
public unsafe partial struct NotCursesOptions
|
||||
{
|
||||
/// The name of the terminfo database entry describing this terminal. If NULL,
|
||||
/// the environment variable TERM is used. Failure to open the terminal
|
||||
/// definition will result in failure to initialize notcurses.
|
||||
public Ptr<byte> Termtype;
|
||||
/// Progressively higher log levels result in more logging to stderr. By
|
||||
/// default, nothing is printed to stderr once fullscreen service begins.
|
||||
public NcLogLevel Loglevel;
|
||||
/// Desirable margins. If all are 0 (default), we will render to the entirety
|
||||
/// of the screen. If the screen is too small, we do what we can--this is
|
||||
/// strictly best-effort. Absolute coordinates are relative to the rendering
|
||||
/// area ((0, 0) is always the origin of the rendering area).
|
||||
public uint MarginT;
|
||||
/// Desirable margins. If all are 0 (default), we will render to the entirety
|
||||
/// of the screen. If the screen is too small, we do what we can--this is
|
||||
/// strictly best-effort. Absolute coordinates are relative to the rendering
|
||||
/// area ((0, 0) is always the origin of the rendering area).
|
||||
public uint MarginR;
|
||||
/// Desirable margins. If all are 0 (default), we will render to the entirety
|
||||
/// of the screen. If the screen is too small, we do what we can--this is
|
||||
/// strictly best-effort. Absolute coordinates are relative to the rendering
|
||||
/// area ((0, 0) is always the origin of the rendering area).
|
||||
public uint MarginB;
|
||||
/// Desirable margins. If all are 0 (default), we will render to the entirety
|
||||
/// of the screen. If the screen is too small, we do what we can--this is
|
||||
/// strictly best-effort. Absolute coordinates are relative to the rendering
|
||||
/// area ((0, 0) is always the origin of the rendering area).
|
||||
public uint MarginL;
|
||||
/// General flags; see NCOPTION_*. This is expressed as a bitfield so that
|
||||
/// future options can be added without reshaping the struct. Undefined bits
|
||||
/// must be set to 0.
|
||||
public NotCursesOption Flags;
|
||||
}
|
||||
}
|
||||
Loading…
Reference in a new issue