summaryrefslogtreecommitdiff
path: root/action.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2024-01-17 21:05:52 -0600
committerJeff Carr <[email protected]>2024-01-17 21:05:52 -0600
commitd91e80a9eabf79cc376c725aaf3a877856faa6b9 (patch)
treeda31050456b7c6f53de8e8a5748f94ee85343605 /action.go
parent38595e75f2f35ecce9cc6a8d887f393d34975957 (diff)
works with new toolkit and gui changesv1.1.4
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'action.go')
-rw-r--r--action.go9
1 files changed, 7 insertions, 2 deletions
diff --git a/action.go b/action.go
index 9dfb6c8..7db5371 100644
--- a/action.go
+++ b/action.go
@@ -7,6 +7,8 @@ type Action struct {
WidgetId int
ParentId int
+ State State
+
// Text string // what is visable to the user
ProgName string // a name useful for programming
@@ -67,8 +69,11 @@ const (
Move
Dump
User // the user did something (mouse, keyboard, etc)
- InitToolkit // initializes the toolkit
- CloseToolkit // closes the toolkit
+ ToolkitLoad // attempts to load a new toolkit
+ ToolkitInit // initializes the toolkit
+ ToolkitClose // closes the toolkit
+ ToolkitPanic
+ CloseWindow
UserQuit // the user closed the GUI
EnableDebug // open the debugging window
)