2015-12-20 17:35:01 -06:00
|
|
|
// 20 december 2015
|
2015-12-21 16:14:40 -06:00
|
|
|
|
2015-12-20 17:35:01 -06:00
|
|
|
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)
|
|
|
|
}
|