standard message window

Signed-off-by: Jeff Carr <jcarr@wit.com>
This commit is contained in:
Jeff Carr 2019-05-24 00:18:42 -07:00
parent 2c1db72a6f
commit 83e8db1aac
1 changed files with 5 additions and 0 deletions

5
gui.go
View File

@ -28,6 +28,7 @@ type GuiDataStructure struct {
Version string
GitCommit string
GoVersion string
Buildtime string
HomeDir string
Debug bool
@ -295,6 +296,10 @@ func SocketError() {
"More detailed information can be shown here.")
}
func MessageWindow(msg1 string, msg2 string) {
ui.MsgBox(Data.cloudWindow, msg1, msg2)
}
func ErrorWindow(msg1 string, msg2 string) {
ui.MsgBoxError(Data.cloudWindow, msg1, msg2)
}