make width height configurable

This commit is contained in:
aynakeya
2024-04-10 00:52:59 -07:00
parent 084050fcf7
commit d52f97429d
4 changed files with 11 additions and 5 deletions

View File

@@ -10,7 +10,7 @@ import (
const (
ProgramName = "卡西米尔唱片机"
Version uint32 = 0x00090b
Version uint32 = 0x010000
)
const (

View File

@@ -2,6 +2,8 @@ package config
type _GeneralConfig struct {
BaseConfig
Width float32
Height float32
Language string
AutoCheckUpdate bool
}
@@ -13,4 +15,6 @@ func (c *_GeneralConfig) Name() string {
var General = &_GeneralConfig{
Language: "zh-CN",
AutoCheckUpdate: true,
Width: 960,
Height: 480,
}