indexing description: "Constants for use by and with EV_FRAME." status: "See notice at end of class" keywords: "frame, bevel, outline, raised, lowered" date: "$Date$" revision: "$Revision$" class EV_FRAME_CONSTANTS feature -- Constants Ev_frame_lowered: INTEGER is unique -- Inward bevel. Ev_frame_raised: INTEGER is unique -- Outward bevel. Ev_frame_etched_in: INTEGER is unique -- Sunken groove. Ev_frame_etched_out: INTEGER is unique -- Raised ridge. feature -- Contract support valid_frame_border (a_code: INTEGER): BOOLEAN is -- Is `a_code' a valid code ? do Result := a_code = Ev_frame_lowered or else a_code = Ev_frame_raised or else a_code = Ev_frame_etched_in or else a_code = Ev_frame_etched_out end end -- class EV_FRAME_CONSTANTS --|---------------------------------------------------------------- --| EiffelVision2: 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 --|----------------------------------------------------------------