Rework the UI framework
Interface is now Driver, and Widget is now a set of interfaces with a struct per widget type. This should make it easier to add other types.
This commit is contained in:
@@ -15,7 +15,7 @@ type MenuType int
|
||||
const (
|
||||
TypeStatic MenuType = 0
|
||||
TypeMenu MenuType = 1
|
||||
TypeButton MenuType = 3
|
||||
TypeSimpleButton MenuType = 3
|
||||
TypeInvokeButton MenuType = 50
|
||||
TypeOverlay MenuType = 61
|
||||
TypeHypertext MenuType = 70
|
||||
|
Reference in New Issue
Block a user