Initial commit
This commit is contained in:
commit
0245a5cb43
22 changed files with 610 additions and 0 deletions
20
game/draw/theme.go
Normal file
20
game/draw/theme.go
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
package draw
|
||||
|
||||
import (
|
||||
"image/color"
|
||||
)
|
||||
|
||||
// Theme holds the different colors used when rendering.
|
||||
type Theme struct {
|
||||
// Frame colors
|
||||
FrameBG color.RGBA
|
||||
FrameBorder color.RGBA
|
||||
|
||||
// Text colors
|
||||
TextHeader color.RGBA
|
||||
Text color.RGBA
|
||||
|
||||
// Grid Colors
|
||||
GridBackground color.RGBA
|
||||
GridEmptyCell color.RGBA
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue