Table of Contents

Class TuiScrollingScreenInteractive

Namespace
AshConsoleGraphics.Interactive
Assembly
AshConsoleGraphics.dll

Interactive screen that scrolls if items are out of bounds

public class TuiScrollingScreenInteractive : TuiScreenInteractive, IEnumerable<TuiElement>, IEnumerable
Inheritance
TuiScrollingScreenInteractive
Implements
Inherited Members

Constructors

TuiScrollingScreenInteractive(int, int, TuiSelectable[,], uint, uint, Placement, int, int, CharFormat?, params TuiElement[])

Initializes a new interactive screen

public TuiScrollingScreenInteractive(int xs, int ys, TuiSelectable[,] sm, uint startX, uint startY, Placement p, int x, int y, CharFormat? f, params TuiElement[] e)

Parameters

xs int

The x size

ys int

The y size

sm TuiSelectable[,]

Selectable matrix

startX uint

Start X index in the selectable matrix

startY uint

Start Y index in the selectable matrix

p Placement
x int
y int
f CharFormat

The default format

e TuiElement[]

Additional elements

TuiScrollingScreenInteractive(int, int, TuiSelectable[,], uint, uint, CharFormat?, params TuiElement[])

Initializes a new interactive screen

public TuiScrollingScreenInteractive(int xs, int ys, TuiSelectable[,] sm, uint startX, uint startY, CharFormat? f, params TuiElement[] e)

Parameters

xs int

The x size

ys int

The y size

sm TuiSelectable[,]

Selectable matrix

startX uint

Start X index in the selectable matrix

startY uint

Start Y index in the selectable matrix

f CharFormat

The default format

e TuiElement[]

Additional elements

Properties

MatrixPointerX

X index of the selected element in the matrix

public override uint MatrixPointerX { get; set; }

Property Value

uint

MatrixPointerY

Y index of the selected element in the matrix

public override uint MatrixPointerY { get; set; }

Property Value

uint

ScrollX

public int ScrollX { get; }

Property Value

int

ScrollY

public int ScrollY { get; }

Property Value

int

Methods

GenerateBuffer()

The method that generates the element's buffer

protected override Buffer GenerateBuffer()

Returns

Buffer