note
	description: "[
		A GAME_WINDOW that directly use GAME_SURFACE to render.
		Note that GAME_WINDOW_SURFACED don't use hardware acceleration and is very slow.
		It should be use for slow application only. To use hardware acceleration,
		use the GAME_WINDOW_RENDERED type.
	]"
	author: "Louis Marchand"
	date: "Thu, 02 Apr 2015 02:40:10 +0000"
	revision: "2.0"

class interface
	GAME_WINDOW_SURFACED

create 
	make

feature -- Access

	surface: GAME_SURFACE
			-- The surface that represent the drawable area of Current. After drawing on this
			-- surface, you have to use update, update_rectangle or update_rectangles to
			-- actually show the modification in Current

	update
			-- Print the visual buffer modification to the screen

	update_rectangle (a_x, a_y, a_width, a_height: INTEGER_32)
			-- Only show the modification in the rectangle starting at (a_x,a_y)
			-- of dimension a_widthxa_height.

	update_rectangles (a_rectangles: CHAIN [TUPLE [x: INTEGER_32; y: INTEGER_32; width: INTEGER_32; height: INTEGER_32]])
			-- Only show the modification in the rectangles starting at each (x,y)
			-- of dimension a_widthxa_height in the a_rectangles sequence.
		require
			renderer_exists: exists
	
end -- class GAME_WINDOW_SURFACED

Generated by ISE EiffelStudio