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
Left(Line)
Set the left-aligned text. It's truncated when there isn't room for both sides.
public StatusBarBuilder Left(Line text)
Parameters
textLine
Returns
Message(TimedMessage, string)
Set left text from a timed message with fallback.
public StatusBarBuilder Message(TimedMessage message, string defaultText)
Parameters
messageTimedMessagedefaultTextstring
Returns
Right(Line)
Set the right-aligned text.
public StatusBarBuilder Right(Line text)
Parameters
textLine
Returns
Style(Style)
A style patched over the theme's status bar style.
public StatusBarBuilder Style(Style style)
Parameters
styleStyle