This commit is contained in:
cuu
2018-09-10 14:03:18 +08:00
parent 91d573573f
commit 3c0884c2d7
7 changed files with 31 additions and 20 deletions

View File

@@ -190,6 +190,7 @@ type PageInterface interface {
DrawIcons()
GetName() string
SetName(n string)
GetFootMsg() [5]string
KeyDown( ev *event.Event)
@@ -979,6 +980,10 @@ func (self *Page) GetName() string {
return self.Name
}
func (self *Page) SetName(n string) {
self.Name = n
}
func (self *Page) SetIndex(idx int) {
self.Index = idx
}