playground header, font scaling

This commit is contained in:
2023-07-08 10:59:46 +02:00
parent 09959a8932
commit 3947c34b4c
9 changed files with 78 additions and 32 deletions

View File

@@ -1,5 +1,7 @@
package konstructor
import "image/color"
type KeyMap struct {
Up any
Down any
@@ -16,9 +18,15 @@ type ScreenConfig struct {
Height int
Scale int
}
type HeaderConfig struct {
BackgroundColor color.Color
Height int
FontLayout FontLayout
}
type Config struct {
Name string
Screen *ScreenConfig
Header *HeaderConfig
KeyMap KeyMap
}