Esempio n. 1
0
func (d *Display) Resize(w, h int) bool {
	var b bool

	b = bool(C.al_resize_display((*C.ALLEGRO_DISPLAY)(d), C.int(w), C.int(h)))

	return b
}
Esempio n. 2
0
func (d *Display) Resize(width, height int32) bool {
	return bool(C.al_resize_display((*C.ALLEGRO_DISPLAY)(unsafe.Pointer(d)), C.int(width), C.int(height)))
}
Esempio n. 3
0
// Resizes the display.
func (self *Display) Resize(width, height int) bool {
	return bool(C.al_resize_display(self.handle, C.int(width), C.int(height)))
}