Table of Contents

Class StatusBarBuilder

Namespace
MiniTui
Assembly
MiniTui.dll

A one-row bar with left- and right-aligned text.

public class StatusBarBuilder
Inheritance
StatusBarBuilder
Inherited Members

Methods

Draw(Buffer, Rect)

Draw the status bar: on the area's only row if it is one row high, otherwise on its bottom row.

public void Draw(Buffer buf, Rect area)

Parameters

buf Buffer
area Rect

Left(Line)

Set the left-aligned text. It's truncated when there isn't room for both sides.

public StatusBarBuilder Left(Line text)

Parameters

text Line

Returns

StatusBarBuilder

Message(TimedMessage, string)

Set left text from a timed message with fallback.

public StatusBarBuilder Message(TimedMessage message, string defaultText)

Parameters

message TimedMessage
defaultText string

Returns

StatusBarBuilder

Right(Line)

Set the right-aligned text.

public StatusBarBuilder Right(Line text)

Parameters

text Line

Returns

StatusBarBuilder

Style(Style)

A style patched over the theme's status bar style.

public StatusBarBuilder Style(Style style)

Parameters

style Style

Returns

StatusBarBuilder