Ejemplo n.º 1
0
// Sets the title of the windowed display
func (self *Display) SetTitle(str string) {
	cstr := cstr(str)
	defer cstrFree(cstr)
	C.al_set_window_title(self.handle, cstr)
}
Ejemplo n.º 2
0
func (d *Display) SetWindowTitle(title string) {
	t := C.CString(title)
	defer C.free(unsafe.Pointer(t))
	C.al_set_window_title((*C.ALLEGRO_DISPLAY)(unsafe.Pointer(d)), t)
}
Ejemplo n.º 3
0
func (d *Display) SetTitle(title string) {
	ss := C.CString(title)
	defer C.free(unsafe.Pointer(ss))
	C.al_set_window_title((*C.ALLEGRO_DISPLAY)(d), ss)
}