Compare commits

..

No commits in common. "guimaster" and "v1.1.29" have entirely different histories.

1 changed files with 2 additions and 19 deletions

View File

@ -43,8 +43,7 @@ type Action struct {
// Make widgets fill up the space available // Make widgets fill up the space available
Expand bool Expand bool
TablePB []byte // a table protobuf TablePB []byte // a table protobuf
WidgetPB []byte // a tree of widgets
} }
type ActionType int // Add, SetText, Click, Hide, Append, Delete, etc type ActionType int // Add, SetText, Click, Hide, Append, Delete, etc
@ -112,22 +111,6 @@ func (s ActionType) String() string {
return "Move" return "Move"
case Dump: case Dump:
return "Dump" return "Dump"
case User:
return "User"
case ToolkitLoad:
return "ToolkitLoad"
case ToolkitInit:
return "ToolkitInit"
case ToolkitClose:
return "ToolkitClose"
case ToolkitPanic:
return "ToolkitPanic"
case Heartbeat:
return "Heartbeat"
case UserQuit:
return "UserQuit"
case EnableDebug:
return "EnableDebug"
} }
return "gui ActionType.String() Error. must be missing something in the code here" return "ActionType.String() Error"
} }