mirror of
https://github.com/clockworkpi/LauncherGoDev.git
synced 2025-12-12 16:08:52 +01:00
countrscreen bug fix
This commit is contained in:
parent
bb9be95924
commit
c624d42977
@ -39,6 +39,9 @@ type CounterScreen struct {
|
||||
|
||||
func NewCounterScreen() *CounterScreen {
|
||||
p := &CounterScreen{}
|
||||
p.Width = Width
|
||||
p.Height = Height
|
||||
|
||||
p.Number = 10
|
||||
p.CounterFont = Fonts["varela120"]
|
||||
p.TextFont1 = Fonts["varela15"]
|
||||
@ -148,7 +151,7 @@ func (self *CounterScreen) Init() {
|
||||
}
|
||||
|
||||
func (self *CounterScreen) Draw() {
|
||||
surface.Fill(self.CanvasHWND, self.FGColor)
|
||||
surface.Fill(self.CanvasHWND, self.BGColor)
|
||||
|
||||
self.TopLabel.NewCoord(Width/2,15)
|
||||
self.TopLabel.DrawCenter(false)
|
||||
|
||||
@ -18,6 +18,8 @@ type FullScreen struct {
|
||||
|
||||
func NewFullScreen() *FullScreen {
|
||||
p := &FullScreen{}
|
||||
p.Width = Width
|
||||
p.Height = Height
|
||||
|
||||
return p
|
||||
|
||||
|
||||
@ -22,7 +22,7 @@ var (
|
||||
SKIN="default"
|
||||
|
||||
//load from dot files
|
||||
CurPowerLevel= "performance"
|
||||
CurPowerLevel= "supersaving"//"performance"
|
||||
Lang = "English"
|
||||
|
||||
)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user