Compare commits
No commits in common. "guimaster" and "v1.1.28" have entirely different histories.
21
action.go
21
action.go
|
@ -42,9 +42,6 @@ type Action struct {
|
|||
|
||||
// Make widgets fill up the space available
|
||||
Expand bool
|
||||
|
||||
TablePB []byte // a table protobuf
|
||||
WidgetPB []byte // a tree of widgets
|
||||
}
|
||||
|
||||
type ActionType int // Add, SetText, Click, Hide, Append, Delete, etc
|
||||
|
@ -112,22 +109,6 @@ func (s ActionType) String() string {
|
|||
return "Move"
|
||||
case 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"
|
||||
}
|
||||
|
|
|
@ -33,7 +33,6 @@ const (
|
|||
Textbox // is this a Label with edit=true
|
||||
Slider // like a progress bar
|
||||
Spinner // like setting the oven temperature
|
||||
Table // a full window & table
|
||||
Separator // TODO
|
||||
Image // TODO
|
||||
Area // TODO
|
||||
|
@ -80,8 +79,6 @@ func (s WidgetType) String() string {
|
|||
return "Spinner"
|
||||
case Separator:
|
||||
return "Separator"
|
||||
case Table:
|
||||
return "Table"
|
||||
case Image:
|
||||
return "Image"
|
||||
case Area:
|
||||
|
|
Loading…
Reference in New Issue