mirror of
https://github.com/AynaLivePlayer/AynaLivePlayer.git
synced 2026-03-15 22:13:17 +08:00
make width height configurable
This commit is contained in:
@@ -10,7 +10,7 @@ import (
|
||||
|
||||
const (
|
||||
ProgramName = "卡西米尔唱片机"
|
||||
Version uint32 = 0x00090b
|
||||
Version uint32 = 0x010000
|
||||
)
|
||||
|
||||
const (
|
||||
|
||||
@@ -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,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user