indexing status: "See notice at end of class"; date: "$Date$"; revision: "$Revision$" deferred class SCREEN_I inherit DRAWING_I feature buttons: BUTTONS is -- Current state of the mouse buttons deferred ensure result_not_void: Result /= Void end; screen_object: POINTER is -- Screen object associated deferred end; widget_pointed: WIDGET is -- Widget currently pointed by the pointer deferred end; width: INTEGER is -- Width of screen (in pixel) deferred ensure width_large_enough: Result >= 0 end; height: INTEGER is -- Height of screen (in pixel) deferred ensure height_large_enough: Result >= 0 end; visible_width: INTEGER is -- Width of the visible part of the screen (in pixel) deferred ensure visible_width_large_enough: Result >= 0 end; visible_height: INTEGER is -- Height of the visible part of the screen (in pixel) deferred ensure visible_height_large_enough: Result >= 0 end; x: INTEGER is -- Current absolute horizontal coordinate of the mouse deferred ensure position_positive: Result >= 0; position_small_enough: Result < width end; y: INTEGER is -- Current absolute vertical coordinate of the mouse deferred ensure position_positive: Result >= 0; position_small_enough: Result < height end; is_valid: BOOLEAN is -- Is Current screen created? deferred end end -- class SCREEN_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 --|----------------------------------------------------------------