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) 1986-2001 Interactive Software Engineering Inc. --| All rights reserved. Duplication and distribution prohibited. --| May be used only with ISE Eiffel, under terms of user license. --| Contact ISE for any other use. --| --| Interactive Software Engineering Inc. --| ISE Building --| 360 Storke Road, Goleta, CA 93117 USA --| Telephone 805-685-1006, Fax 805-685-6869 --| Electronic mail --| Customer support: http://support.eiffel.com> --| For latest info see award-winning pages: http://www.eiffel.com --|----------------------------------------------------------------