mirror of https://github.com/OrbTools/OrbCommon
gui builder definitions
parent
404091065c
commit
d053349a5c
@ -0,0 +1,28 @@
|
||||
package common
|
||||
|
||||
type PageType int
|
||||
|
||||
const (
|
||||
//PGrid Grid type (keypads)
|
||||
PGrid PageType = iota
|
||||
//PCircle type (joysticks)
|
||||
PCircle
|
||||
//PList List Type
|
||||
PList
|
||||
)
|
||||
|
||||
type GUI struct {
|
||||
Pages []Page
|
||||
}
|
||||
|
||||
type Page struct {
|
||||
Hive string
|
||||
Name string
|
||||
Keys []Key
|
||||
Type PageType
|
||||
}
|
||||
|
||||
type Key struct {
|
||||
KeyID int
|
||||
KeyName string
|
||||
}
|
Loading…
Reference in New Issue