standard message window
Signed-off-by: Jeff Carr <jcarr@wit.com>
This commit is contained in:
parent
2c1db72a6f
commit
83e8db1aac
5
gui.go
5
gui.go
|
@ -28,6 +28,7 @@ type GuiDataStructure struct {
|
||||||
Version string
|
Version string
|
||||||
GitCommit string
|
GitCommit string
|
||||||
GoVersion string
|
GoVersion string
|
||||||
|
Buildtime string
|
||||||
HomeDir string
|
HomeDir string
|
||||||
Debug bool
|
Debug bool
|
||||||
|
|
||||||
|
@ -295,6 +296,10 @@ func SocketError() {
|
||||||
"More detailed information can be shown here.")
|
"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) {
|
func ErrorWindow(msg1 string, msg2 string) {
|
||||||
ui.MsgBoxError(Data.cloudWindow, msg1, msg2)
|
ui.MsgBoxError(Data.cloudWindow, msg1, msg2)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue