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 (
//MultiLabel is also a LabelInterface
type MultiLabel struct {
PosX int
PosY int
Width int
Height int
Widget
Text string
FontObj *ttf.Font
Color *color.Color
@@ -52,19 +49,6 @@ func (self *MultiLabel) SetCanvasHWND( canvas *sdl.Surface) {
self.CanvasHWND = canvas
}
func (self *MultiLabel) Coord() (int,int) {
return self.PosX,self.PosY
}
func (self *MultiLabel) Size() (int,int) {
return self.Width,self.Height
}
func (self *MultiLabel) NewCoord(x,y int) {
self.PosX = x
self.PosY = y
}
func (self *MultiLabel) SetColor(col *color.Color){
if col != nil {