note
	description: "Every events that can happend on a GAME_WINDOW"
	author: "Louis Marchand"
	date: "Wed, 01 Apr 2015 19:04:20 +0000"
	revision: "2.0"

deferred class interface
	GAME_WINDOW_EVENTS

feature -- Access

	stop
			-- Put Current innactive.

	run
			-- Put Current active.

	clear
			-- Remove all events.

	show_actions: ACTION_SEQUENCE [NATURAL_32]
			-- When Current is show.
		require
			window_events_enabled: events_controller.is_window_event_enable

	hide_actions: ACTION_SEQUENCE [NATURAL_32]
			-- When Current is hide.
		require
			window_events_enabled: events_controller.is_window_event_enable

	expose_actions: ACTION_SEQUENCE [NATURAL_32]
			-- When Current is exposed and should be redraw.
		require
			window_events_enabled: events_controller.is_window_event_enable

	move_actions: ACTION_SEQUENCE [NATURAL_32, INTEGER_32, INTEGER_32]
			-- When Current has been moved to (x,y).
		require
			window_events_enabled: events_controller.is_window_event_enable

	resize_actions: ACTION_SEQUENCE [NATURAL_32, INTEGER_32, INTEGER_32]
			-- When Current has been resized by the user (external to the game library)
			-- to widthxheight. Always precceded by a size_change_actions events.
			-- Note: This event is not trigger by the GAME_WINDOW.set_size or GAME_WINDOW.set_full_screen
			-- Routines
		require
			window_events_enabled: events_controller.is_window_event_enable

	size_change_actions: ACTION_SEQUENCE [NATURAL_32]
			-- When Current has been resized.
			-- Note: Trigger when a user resize the window (external to the game library) or when a
			-- call to the GAME_WINDOW.set_size or GAME_WINDOW.set_full_screen routines has
			-- been use.
		require
			window_events_enabled: events_controller.is_window_event_enable

	minimize_actions: ACTION_SEQUENCE [NATURAL_32]
			-- When Current has been minimized.
		require
			window_events_enabled: events_controller.is_window_event_enable

	maximize_actions: ACTION_SEQUENCE [NATURAL_32]
			-- When Current has been maximized.
		require
			window_events_enabled: events_controller.is_window_event_enable

	restore_actions: ACTION_SEQUENCE [NATURAL_32]
			-- When Current has been restored to normal size and position.
		require
			window_events_enabled: events_controller.is_window_event_enable

	mouse_enter_actions: ACTION_SEQUENCE [NATURAL_32]
			-- When Current has gained mouse focus.
		require
			window_events_enabled: events_controller.is_window_event_enable

	mouse_leave_actions: ACTION_SEQUENCE [NATURAL_32]
			-- When Current has lost mouse focus.
		require
			window_events_enabled: events_controller.is_window_event_enable

	keyboard_focus_gain_actions: ACTION_SEQUENCE [NATURAL_32]
			-- When Current has gain keyboard focus.
		require
			window_events_enabled: events_controller.is_window_event_enable

	keyboard_focus_lost_actions: ACTION_SEQUENCE [NATURAL_32]
			-- When Current has lost keyboard focus.
		require
			window_events_enabled: events_controller.is_window_event_enable

	close_request_actions: ACTION_SEQUENCE [NATURAL_32]
			-- When the Window manager request that Current be closed.
		require
			window_events_enabled: events_controller.is_window_event_enable

	key_pressed_actions: ACTION_SEQUENCE [NATURAL_32, GAME_KEY_EVENT]
			-- When a key (represented by key_state) has been pressed.
		require
			key_released_events_enabled: events_controller.is_key_pressed_event_enable

	key_released_actions: ACTION_SEQUENCE [NATURAL_32, GAME_KEY_EVENT]
			-- When a key (represented by key_state) has been released.
		require
			key_released_events_enabled: events_controller.is_key_released_event_enable

	text_editing_actions: ACTION_SEQUENCE [NATURAL_32, STRING_32, INTEGER_32, INTEGER_32]
			-- When a text has been edited in Current.

	text_input_actions: ACTION_SEQUENCE [NATURAL_32, STRING_32]
			-- When a new text has been entered in Current.

	mouse_motion_actions: ACTION_SEQUENCE [NATURAL_32, GAME_MOUSE_MOTION_EVENT, INTEGER_32, INTEGER_32]
			-- When a mouse represented by mouse_state has been moved in Current.
			-- The difference between the old position and the new (delta_x,delta_y)
		require
			mouse_motion_events_enabled: events_controller.is_mouse_motion_event_enable

	mouse_button_pressed_actions: ACTION_SEQUENCE [NATURAL_32, GAME_MOUSE_BUTTON_PRESS_EVENT, NATURAL_8]
			-- When a mouse represented by mouse_state has been pressed for the nb_clicks times
		require
			mouse_button_pressed_events_enabled: events_controller.is_mouse_button_pressed_event_enable

	mouse_button_released_actions: ACTION_SEQUENCE [NATURAL_32, GAME_MOUSE_BUTTON_RELEASE_EVENT, NATURAL_8]
			-- When a mouse represented by mouse_state has been released for the nb_clicks times
		require
			mouse_button_released_events_enabled: events_controller.is_mouse_button_released_event_enable

	mouse_wheel_move_actions: ACTION_SEQUENCE [NATURAL_32, GAME_MOUSE_EVENT, INTEGER_32, INTEGER_32]
			-- When the wheel of a mouse represented by mouse_state has been moved.
			-- The difference between the old wheel position and the new one is (delta_x,delta_y)
			-- When delta_x is positive, the wheel has been move up, and when negative, it has been moved down
			-- When delta_y is positive, the wheel has been move right, and when negative, it has been moved left
		require
			mouse_wheel_move_events_enabled: events_controller.is_mouse_wheel_event_enable
	
end -- class GAME_WINDOW_EVENTS

Generated by ISE EiffelStudio