Width of the display, in pixels

Property definitions

gamnit $ GamnitDisplay :: width
	# Width of the display, in pixels
	fun width: Int is abstract
lib/gamnit/display.nit:31,2--32,27

gamnit :: egl $ GamnitDisplay :: width
	redef fun width do return window_surface.attribs(egl_display).width
lib/gamnit/egl.nit:144,2--68

gamnit :: display_ios $ GamnitDisplay :: width
	redef var width = 200
lib/gamnit/display_ios.nit:30,2--22

gamnit :: gamnit_android $ GamnitDisplay :: width
	redef var width = 1080
lib/gamnit/gamnit_android.nit:280,2--23