Settings,about

This commit is contained in:
cuu
2018-09-21 04:42:39 +08:00
parent 74723955d9
commit c0f57bd88c
25 changed files with 531 additions and 60 deletions

View File

@@ -14,10 +14,7 @@ import (
)
type ListScroller struct{
PosX int
PosY int
Width int
Height int
Widget
MinHeight int
Parent PageInterface
Color *color.Color
@@ -40,6 +37,8 @@ func NewListScroller() *ListScroller {
func (self *ListScroller) Init() {
//just set the CanvasHWND
cav_ := self.Parent.GetCanvasHWND()
self.SetCanvasHWND(cav_)
}
func (self *ListScroller) SetCanvasHWND( canvas *sdl.Surface) {