Exemplo n.º 1
0
// Sets a dispay flag on the display
func (self *Display) SetDisplayFlag(flag int, onoff bool) bool {
	return cb2b(C.al_set_display_flag(self.handle, C.int(flag), b2cb(onoff)))
}
Exemplo n.º 2
0
func (d *Display) SetFlag(flag int, onoff bool) bool {
	return bool(C.al_set_display_flag((*C.ALLEGRO_DISPLAY)(unsafe.Pointer(d)), C.int(flag), C.bool(onoff)))
}
Exemplo n.º 3
0
func (d *Display) SetFlag(flag int, on bool) bool {
	return bool(C.al_set_display_flag((*C.ALLEGRO_DISPLAY)(d), C.int(flag), C.bool(on)))
}