Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ButtonTheme ¶
type LabelTheme ¶
type MapTheme ¶
type MapTheme struct {
// If true, a border will be present around cells.
// If config.Config.ZoomMin equals config.ZOOM_MIN_LIMIT,
// border is always disabled.
Border bool
// Background color - essentially, border color
Background *color.RGBA
// Color of the alive cell
CellAlive *color.RGBA
// Color of the dead cell
CellDead *color.RGBA
}
type PanelTheme ¶
type TextInputTheme ¶
type Theme ¶
type Theme struct {
// Map theme: cells and border
MapTheme *MapTheme
// User interface theme
UITheme *UITheme
}
Represents the color theme of the game.
type UITheme ¶
type UITheme struct {
InfoPanel *PanelTheme
CtrlPanel *PanelTheme
Generation *LabelTheme
Speed *LabelTheme
Zoom *LabelTheme
PlayToggle *ButtonTheme
SlowDown *ButtonTheme
SpeedUp *ButtonTheme
ResetState *ButtonTheme
RandomState *ButtonTheme
FF_I *ButtonTheme
FF_X *ButtonTheme
FF_L *ButtonTheme
FF_C *ButtonTheme
FF_M *ButtonTheme
Rules *TextInputTheme
}
User Interface theme.
Click to show internal directories.
Click to hide internal directories.