I need MsgBoxError() for something, so threw it in.
This commit is contained in:
parent
e62ee49770
commit
01893daaf1
|
@ -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)
|
||||||
|
}
|
Loading…
Reference in New Issue