Documentation ¶
Index ¶
Constants ¶
View Source
const ( InitialWindowHeight = 600 InitialWindowWidth = 1000 MinWindowHeight = 420 MinWindowWidth = 840 AppTitle = "GAUL - Ground Station" )
Variables ¶
View Source
var ( Theme = material.NewTheme(append(dejavu(), append(liberation(), gofont.Collection()...)...)) Window = app.NewWindow( app.Title(AppTitle), app.MinSize(unit.Dp(MinWindowWidth), unit.Dp(MinWindowHeight)), app.Size(unit.Dp(InitialWindowWidth), unit.Dp(InitialWindowHeight)), ) DataRoller *data.Roller )
View Source
var DarkColors = []color.Color{
rgb(238, 46, 47),
rgb(0, 140, 72),
rgb(24, 90, 169),
rgb(244, 125, 35),
rgb(102, 44, 145),
rgb(162, 29, 33),
rgb(180, 56, 148),
}
View Source
var DefaultColors = DarkColors
DefaultColors is a set of colors used by the Color function.
View Source
var SoftColors = []color.Color{
rgb(241, 90, 96),
rgb(122, 195, 106),
rgb(90, 155, 212),
rgb(250, 167, 91),
rgb(158, 103, 171),
rgb(206, 112, 88),
rgb(215, 127, 180),
}
Functions ¶
func Color ¶
Color returns the ith default color, wrapping if i is less than zero or greater than the max number of colors in the DefaultColors slice.
func Initialize ¶
func Initialize()
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.