indexing description: "General drawing area implementation"; status: "See notice at end of class"; date: "$Date$"; revision: "$Revision$" deferred class DRAWING_AREA_I inherit PRIMITIVE_I; DRAWING_I feature -- Element change add_input_action (a_command: COMMAND; argument: ANY) is -- Add `a_command' to the list of action to execute when -- a key is pressed or when a mouse button is pressed. require not_a_command_void: a_command /= Void deferred end; add_resize_action (a_command: COMMAND; argument: ANY) is -- Add `a_command' to the list of action to execute when -- current area is resized. require not_a_command_void: a_command /= Void deferred end; feature -- Removal remove_input_action (a_command: COMMAND; argument: ANY) is -- Remove `a_command' from the list of action to execute when -- a key is pressed or when a mouse button is pressed. require not_a_command_void: a_command /= Void deferred end; remove_resize_action (a_command: COMMAND; argument: ANY) is -- Remove `a_command' from the list of action to execute when -- current area is resized. require not_a_command_void: a_command /= Void deferred end end -- class DRAWING_AREA_I --|---------------------------------------------------------------- --| EiffelVision: library of reusable components for ISE Eiffel. --| Copyright (C) 1985-2004 Eiffel Software. All rights reserved. --| Duplication and distribution prohibited. May be used only with --| ISE Eiffel, under terms of user license. --| Contact Eiffel Software for any other use. --| --| Interactive Software Engineering Inc. --| dba Eiffel Software --| 356 Storke Road, Goleta, CA 93117 USA --| Telephone 805-685-1006, Fax 805-685-6869 --| Contact us at: http://www.eiffel.com/general/email.html --| Customer support: http://support.eiffel.com --| For latest info on our award winning products, visit: --| http://www.eiffel.com --|----------------------------------------------------------------