I need MsgBoxError() for something, so threw it in.

This commit is contained in:
Pietro Gagliardi 2015-12-20 18:35:01 -05:00
parent e62ee49770
commit 01893daaf1
1 changed files with 16 additions and 0 deletions

16
stddialogs.go Normal file
View File

@ -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)
}