mirror of
https://github.com/clockworkpi/LauncherGoDev.git
synced 2026-03-20 02:42:50 +01:00
then titlebar and footbar
This commit is contained in:
@@ -158,8 +158,9 @@ type PageInterface interface {
|
||||
// UpdateIconNumbers
|
||||
// GetIconNumbers
|
||||
// SetOnShow
|
||||
|
||||
|
||||
// AppendIcon
|
||||
// GetName()
|
||||
// GetFootMsg
|
||||
|
||||
}
|
||||
|
||||
@@ -764,6 +765,10 @@ func (self *Page) ClearCanvas() {
|
||||
surface.Fill(self.CanvasHWND, self.Screen.SkinManager.GiveColor("White"))
|
||||
}
|
||||
|
||||
func (self *Page) AppendIcon( it interface{} ) {
|
||||
self.Icons = append(self.Icons, it)
|
||||
}
|
||||
|
||||
func (self *Page) ClearIcons() {
|
||||
for i:=0;i<self.IconNumbers; i++ {
|
||||
self.Icons[i].Clear()
|
||||
@@ -830,6 +835,7 @@ func (self *Page) KeyDown( ev *event.Event) {
|
||||
|
||||
}
|
||||
|
||||
|
||||
func (self *Page) OnLoadCb() {
|
||||
|
||||
}
|
||||
@@ -838,6 +844,10 @@ func (self *Page) OnReturnBackCb() {
|
||||
|
||||
}
|
||||
|
||||
func (self *Page) OnExitCb() {
|
||||
|
||||
}
|
||||
|
||||
func (self *Page) Draw() {
|
||||
self.ClearCanvas()
|
||||
self.DrawIcons()
|
||||
|
||||
Reference in New Issue
Block a user