mirror of
https://github.com/clockworkpi/LauncherGoDev.git
synced 2026-03-19 10:22:41 +01:00
countrscreen bug fix
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user