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

@@ -16,6 +16,7 @@ type LabelInterface interface {
Coord() (int,int)
Size() (int,int)
NewCoord(x,y int)
NewSize(w,h int)
SetColor(col *color.Color )
GetText() string
SetText(text string)
@@ -23,10 +24,7 @@ type LabelInterface interface {
}
type Label struct {
PosX int
PosY int
Width int
Height int
Widget
Text string
FontObj *ttf.Font
Color *color.Color