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

@@ -37,10 +37,10 @@ type IconItemInterface interface {
Coord() (int,int)
NewCoord(x,y int)
Size() (int,int)
NewSize(w,h int)
TotalWidth() int
Size() (int,int)
AddLabel(text string, fontobj *ttf.Font)
GetLinkPage() PageInterface
@@ -59,10 +59,7 @@ type IconItemInterface interface {
}
type IconItem struct {
PosX int
PosY int
Width int
Height int
Widget
ImageName string
ImgSurf *sdl.Surface
Parent PageInterface