LauncherGoDev/sysgo/UI/keyboard.go
2018-10-04 22:19:33 +08:00

49 lines
632 B
Go

package UI
import (
"github.com/cuu/gogame/color"
)
//sysgo/UI/keyboard_keys.layout
type KeyboardIcon struct {
IconItem
Color *color.Color
Str string
}
func NewKeyboardIcon() *KeyboardIcon {
p := &KeyboardIcon{}
p.MyType = ICON_TYPES["NAV"]
return p
}
type KeyboardSelector struct {
PageSelector
Parent *Keyboard
}
func NewKeyboardSelector() * KeyboardSelector {
p := &KeyboardSelector{}
return p
}
func (self *KeyboardSelector) Draw() {
}
type Keyboard {
Page
SectionNumbers int
SectionIndex int
Icons map[string]UI.IconItemInterface
KeyboardLayoutFile string ///sysgo/UI/keyboard_keys.layout
}