indexing description: "Regions (RGN) constants." status: "See notice at end of class." date: "$Date$" revision: "$Revision$" class WEL_RGN_CONSTANTS feature -- Access Rgn_and: INTEGER is external "C [macro %"wel.h%"]" alias "RGN_AND" end Rgn_or: INTEGER is external "C [macro %"wel.h%"]" alias "RGN_OR" end Rgn_xor: INTEGER is external "C [macro %"wel.h%"]" alias "RGN_XOR" end Rgn_diff: INTEGER is external "C [macro %"wel.h%"]" alias "RGN_DIFF" end Rgn_copy: INTEGER is external "C [macro %"wel.h%"]" alias "RGN_COPY" end feature -- Status report valid_region_constant (c: INTEGER): BOOLEAN is -- Is `c' a valid region constant? do Result := c = Rgn_and or else c = Rgn_or or else c = Rgn_xor or else c = Rgn_diff or else c = Rgn_copy end end -- class WEL_RGN_CONSTANTS --|---------------------------------------------------------------- --| Windows Eiffel Library: 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 --|----------------------------------------------------------------