Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Palette ¶
type Palette struct { Game tortuga.Console component.Coordinate MessageBus message.MessageBus Width int ElementSize int CurrentColor uint8 }
func (Palette) AlternateSelectElement ¶
func (p Palette) AlternateSelectElement(coordinate component.Coordinate)
SelectElement will Set the element at the passed in coordinates to the active element.
func (Palette) IsWithinBounds ¶
func (p Palette) IsWithinBounds(coordinate component.Coordinate) bool
IsWithinBounds will determine if a coordinate exists within the widget.
func (Palette) SelectElement ¶
func (p Palette) SelectElement(coordinate component.Coordinate)
SelectElement will Set the element at the passed in coordinates to the active element.
Click to show internal directories.
Click to hide internal directories.