func (d *Display) GetDimensions() (int, int) { ptr := (*C.ALLEGRO_DISPLAY)(d) var w, h int w = int(C.al_get_display_width(ptr)) h = int(C.al_get_display_height(ptr)) return w, h }
func (d *Display) GetWidth() int32 { return int32(C.al_get_display_width((*C.ALLEGRO_DISPLAY)(unsafe.Pointer(d)))) }
// Gets the width of the display in pixels func (self *Display) Width() int { return int(C.al_get_display_width(self.handle)) }