TerminalWindowChrome

roguelikestarterkit.ui.window.TerminalWindowChrome
See theTerminalWindowChrome companion object
final case class TerminalWindowChrome[ReferenceData](parentWindowId: WindowId, charSheet: CharSheet, title: Option[String], isResizable: Boolean, isDraggable: Boolean, isClosable: Boolean, isScrollable: Boolean)

Provides simple terminal window chrome with a title, close button, resize button, and vertical scroll bar.

Attributes

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

Members list

Value members

Concrete methods

def build(content: ComponentGroup[ReferenceData]): ComponentGroup[ReferenceData]
def closable: TerminalWindowChrome[ReferenceData]
def draggable: TerminalWindowChrome[ReferenceData]
def noClose: TerminalWindowChrome[ReferenceData]
def noDrag: TerminalWindowChrome[ReferenceData]
def noResize: TerminalWindowChrome[ReferenceData]
def noScroll: TerminalWindowChrome[ReferenceData]
def noTitle: TerminalWindowChrome[ReferenceData]
def resizable: TerminalWindowChrome[ReferenceData]
def scrollable: TerminalWindowChrome[ReferenceData]
def withCharSheet(charSheet: CharSheet): TerminalWindowChrome[ReferenceData]
def withClosable(value: Boolean): TerminalWindowChrome[ReferenceData]
def withDraggable(value: Boolean): TerminalWindowChrome[ReferenceData]
def withParent(parentWindowId: WindowId): TerminalWindowChrome[ReferenceData]
def withResizable(value: Boolean): TerminalWindowChrome[ReferenceData]
def withScrollable(value: Boolean): TerminalWindowChrome[ReferenceData]
def withTitle(newTitle: String): TerminalWindowChrome[ReferenceData]

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product