summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--stddialogs.go16
1 files changed, 16 insertions, 0 deletions
diff --git a/stddialogs.go b/stddialogs.go
new file mode 100644
index 0000000..ba8c10d
--- /dev/null
+++ b/stddialogs.go
@@ -0,0 +1,16 @@
+// 20 december 2015
+package ui
+
+// #include "ui.h"
+import "C"
+
+// TODO OpenFile, SaveFile, MsgBox
+
+// TODO
+func MsgBoxError(w *Window, title string, description string) {
+ ctitle := C.CString(title)
+ cdescription := C.CString(description)
+ C.uiMsgBoxError(w.w, ctitle, cdescription)
+ freestr(ctitle)
+ freestr(cdescription)
+}