sound_page,brightness_page,struct inherited bug,Draw

This commit is contained in:
cuu
2018-12-05 22:31:42 +08:00
parent 9261a1ae27
commit 947cfae038
5 changed files with 151 additions and 3 deletions

View File

@@ -98,6 +98,8 @@ func NewUpdatePage() *UpdatePage {
p.Align = UI.ALIGN["SLeft"]
p.ListFontObj = UI.Fonts["varela15"]
p.AList = make( map[string]map[string]string )
return p
}
@@ -124,7 +126,10 @@ func (self *UpdatePage) GenList() {
li.Init(self.AList[k]["key"] )
}
li.Flag = self.AList[k]["value"]
li.Flag = self.AList[k]["key"]
li.SetSmallText( self.AList[k]["value"])
self.MyList = append(self.MyList,li)
i+=1