move menu and playground to konstructor
This commit is contained in:
18
konstructor/menu.go
Executable file
18
konstructor/menu.go
Executable file
@@ -0,0 +1,18 @@
|
||||
package konstructor
|
||||
|
||||
type MenuMap map[string]Menu
|
||||
|
||||
type MenuLayout struct {
|
||||
Background string
|
||||
}
|
||||
|
||||
type MenuItem struct {
|
||||
ID string
|
||||
Label string
|
||||
Handler func()
|
||||
}
|
||||
|
||||
type Menu struct {
|
||||
MenuLayout MenuLayout
|
||||
MenuItems []MenuItem
|
||||
}
|
||||
Reference in New Issue
Block a user