Example #1
0
// Gets the display option of this display
func (self *Display) DisplayOption(option int) int {
	return int(C.al_get_display_option(self.handle, C.int(option)))
}
Example #2
0
func (d *Display) GetOption(option int32) int32 {
	return int32(C.al_get_display_option((*C.ALLEGRO_DISPLAY)(unsafe.Pointer(d)), C.int(option)))
}
Example #3
0
func (d *Display) GetOption(option int) int {
	return int(C.al_get_display_option((*C.ALLEGRO_DISPLAY)(d), C.int(option)))
}