TerminalLabel

roguelikestarterkit.ui.components.TerminalLabel
object TerminalLabel

TerminalLabel is a simple Component s that renders text using a Terminal.

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Type members

Classlikes

final case class Theme(charSheet: CharSheet, colors: TerminalTileColors)

Attributes

Companion
object
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
object Theme

Attributes

Companion
class
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
Theme.type

Value members

Concrete methods

def apply[ReferenceData](text: String, theme: Theme): Label[ReferenceData]

Creates a Label rendered using the RogueTerminalEmulator based on a Label.Theme, with bounds based on the text length.

Creates a Label rendered using the RogueTerminalEmulator based on a Label.Theme, with bounds based on the text length.

Attributes

def apply[ReferenceData](text: UIContext[ReferenceData] => String, theme: Theme): Label[ReferenceData]

Creates a Label with dynamic text, rendered using the RogueTerminalEmulator based on a Label.Theme, with bounds based on the text length.

Creates a Label with dynamic text, rendered using the RogueTerminalEmulator based on a Label.Theme, with bounds based on the text length.

Attributes