    indexing
    	description: "Window drawing constants (DT_xxxx, DI_xxxx, ...)"
    	legal: "See notice at end of class."
    	status: "See notice at end of class."
    	date: "$Date: 2006-03-22 23:29:03 -0800 (Wed, 22 Mar 2006) $"
    	revision: "$Revision: 57641 $"

    class interface
    	WEL_DRAWING_CONSTANTS

    create
    	default_create
    			-- Process instances of classes with no creation clause.
    			-- (Default: do nothing.)
    			-- (from ANY)

    feature -- Access

    	generating_type: STRING_8
    			-- Name of current object's generating type
    			-- (type of which it is a direct instance)
    			-- (from ANY)

    	generator: STRING_8
    			-- Name of current object's generating class
    			-- (base class of the type of which it is a direct instance)
    			-- (from ANY)

    feature -- Comparison

    	frozen deep_equal (some: ANY; other: like arg #1): BOOLEAN
    			-- Are `some' and `other' either both void
    			-- or attached to isomorphic object structures?
    			-- (from ANY)
    		ensure -- from ANY
    			shallow_implies_deep: standard_equal (some, other) implies Result
    			both_or_none_void: (some = Void) implies (Result = (other = Void))
    			same_type: (Result and (some /= Void)) implies some.same_type (other)
    			symmetric: Result implies deep_equal (other, some)

    	frozen equal (some: ANY; other: like arg #1): BOOLEAN
    			-- Are `some' and `other' either both void or attached
    			-- to objects considered equal?
    			-- (from ANY)
    		ensure -- from ANY
    			definition: Result = (some = Void and other = Void) or else ((some /= Void and other /= Void) and then some.is_equal (other))

    	is_equal (other: like Current): BOOLEAN
    			-- Is `other' attached to an object considered
    			-- equal to current object?
    			-- (from ANY)
    		require -- from ANY
    			other_not_void: other /= Void
    		ensure -- from ANY
    			symmetric: Result implies other.is_equal (Current)
    			consistent: standard_is_equal (other) implies Result

    	frozen standard_equal (some: ANY; other: like arg #1): BOOLEAN
    			-- Are `some' and `other' either both void or attached to
    			-- field-by-field identical objects of the same type?
    			-- Always uses default object comparison criterion.
    			-- (from ANY)
    		ensure -- from ANY
    			definition: Result = (some = Void and other = Void) or else ((some /= Void and other /= Void) and then some.standard_is_equal (other))

    	frozen standard_is_equal (other: like Current): BOOLEAN
    			-- Is `other' attached to an object of the same type
    			-- as current object, and field-by-field identical to it?
    			-- (from ANY)
    		require -- from ANY
    			other_not_void: other /= Void
    		ensure -- from ANY
    			same_type: Result implies same_type (other)
    			symmetric: Result implies other.standard_is_equal (Current)

    feature -- Status report

    	conforms_to (other: ANY): BOOLEAN
    			-- Does type of current object conform to type
    			-- of `other' (as per Eiffel: The Language, chapter 13)?
    			-- (from ANY)
    		require -- from ANY
    			other_not_void: other /= Void

    	same_type (other: ANY): BOOLEAN
    			-- Is type of current object identical to type of `other'?
    			-- (from ANY)
    		require -- from ANY
    			other_not_void: other /= Void
    		ensure -- from ANY
    			definition: Result = (conforms_to (other) and other.conforms_to (Current))

    	valid_rop2_constant (c: INTEGER_32): BOOLEAN
    			-- Is `c' a valid rop2 constant?

    feature -- Duplication

    	copy (other: like Current)
    			-- Update current object using fields of object attached
    			-- to `other', so as to yield equal objects.
    			-- (from ANY)
    		require -- from ANY
    			other_not_void: other /= Void
    			type_identity: same_type (other)
    		ensure -- from ANY
    			is_equal: is_equal (other)

    	frozen deep_copy (other: like Current)
    			-- Effect equivalent to that of:
    			--		copy (`other' . deep_twin)
    			-- (from ANY)
    		require -- from ANY
    			other_not_void: other /= Void
    		ensure -- from ANY
    			deep_equal: deep_equal (Current, other)

    	frozen deep_twin: like Current
    			-- New object structure recursively duplicated from Current.
    			-- (from ANY)
    		ensure -- from ANY
    			deep_equal: deep_equal (Current, Result)

    	frozen standard_copy (other: like Current)
    			-- Copy every field of `other' onto corresponding field
    			-- of current object.
    			-- (from ANY)
    		require -- from ANY
    			other_not_void: other /= Void
    			type_identity: same_type (other)
    		ensure -- from ANY
    			is_standard_equal: standard_is_equal (other)

    	frozen standard_twin: like Current
    			-- New object field-by-field identical to `other'.
    			-- Always uses default copying semantics.
    			-- (from ANY)
    		ensure -- from ANY
    			standard_twin_not_void: Result /= Void
    			equal: standard_equal (Result, Current)

    	frozen twin: like Current
    			-- New object equal to `Current'
    			-- twin calls copy; to change copying/twining semantics, redefine copy.
    			-- (from ANY)
    		ensure -- from ANY
    			twin_not_void: Result /= Void
    			is_equal: Result.is_equal (Current)

    feature -- Basic operations

    	frozen default: like Current
    			-- Default value of object's type
    			-- (from ANY)

    	frozen default_pointer: POINTER
    			-- Default value of type `POINTER'
    			-- (Avoid the need to write `p'.default for
    			-- some `p' of type `POINTER'.)
    			-- (from ANY)

    	default_rescue
    			-- Process exception for routines with no Rescue clause.
    			-- (Default: do nothing.)
    			-- (from ANY)

    	frozen do_nothing
    			-- Execute a null action.
    			-- (from ANY)

    feature -- BitBlt and MaskBlt constants

    	blackness: INTEGER_32 is 66
    			-- Declared in Windows as BLACKNESS

    	dstinvert: INTEGER_32 is 5570569
    			-- Declared in Windows as DSTINVERT

    	maskpaint: INTEGER_32 is 2229030
    			-- 0x220326

    	mergecopy: INTEGER_32 is 12583114
    			-- Declared in Windows as MERGECOPY

    	mergepaint: INTEGER_32 is 12255782
    			-- Declared in Windows as MERGEPAINT

    	notsrccopy: INTEGER_32 is 3342344
    			-- Declared in Windows as NOTSRCCOPY

    	notsrcerase: INTEGER_32 is 1114278
    			-- Declared in Windows as NOTSRCERASE

    	patcopy: INTEGER_32 is 15728673
    			-- Declared in Windows as PATCOPY

    	patinvert: INTEGER_32 is 5898313
    			-- Declared in Windows as PATINVERT

    	patpaint: INTEGER_32 is 16452105
    			-- Declared in Windows as PATPAINT

    	r2_black: INTEGER_32 is 1

    	r2_copypen: INTEGER_32 is 13

    	r2_masknotpen: INTEGER_32 is 3

    	r2_maskpen: INTEGER_32 is 9

    	r2_maskpennot: INTEGER_32 is 5

    	r2_mergenotpen: INTEGER_32 is 12

    	r2_mergepen: INTEGER_32 is 15

    	r2_mergepennot: INTEGER_32 is 14

    	r2_nop: INTEGER_32 is 11

    	r2_not: INTEGER_32 is 6

    	r2_notcopypen: INTEGER_32 is 4

    	r2_notmaskpen: INTEGER_32 is 8

    	r2_notmergepen: INTEGER_32 is 2

    	r2_notxorpen: INTEGER_32 is 10

    	r2_white: INTEGER_32 is 16

    	r2_xorpen: INTEGER_32 is 7

    	srcand: INTEGER_32 is 8913094
    			-- Declared in Windows as SRCAND

    	srccopy: INTEGER_32 is 13369376
    			-- Declared in Windows as SRCCOPY

    	srcerase: INTEGER_32 is 4457256
    			-- Declared in Windows as SRCERASE

    	srcinvert: INTEGER_32 is 6684742
    			-- Declared in Windows as SRCINVERT

    	srcpaint: INTEGER_32 is 15597702
    			-- Declared in Windows as SRCPAINT

    	whiteness: INTEGER_32 is 16711778
    			-- Declared in Windows as WHITENESS

    feature -- DrawEdge constants (BDR_xxxx, EDGE_xxxx, BF_xxxx)

    	bdr_raisedinner: INTEGER_32 is 4
    			-- Declared in Windows as BDR_RAISEDINNER

    	bdr_raisedouter: INTEGER_32 is 1
    			-- Declared in Windows as BDR_RAISEDOUTER

    	bdr_sunkeninner: INTEGER_32 is 8
    			-- Declared in Windows as BDR_SUNKENINNER

    	bdr_sunkenouter: INTEGER_32 is 2
    			-- Declared in Windows as BDR_SUNKENOUTER

    	bf_adjust: INTEGER_32 is 8192
    			-- Declared in Windows as BF_ADJUST

    	bf_bottom: INTEGER_32 is 8
    			-- Declared in Windows as BF_BOTTOM

    	bf_bottomleft: INTEGER_32 is 9
    			-- Declared in Windows as BF_BOTTOMLEFT

    	bf_bottomright: INTEGER_32 is 12
    			-- Declared in Windows as BF_BOTTOMRIGHT

    	bf_diagonal: INTEGER_32 is 16
    			-- Declared in Windows as BF_DIAGONAL

    	bf_diagonal_endbottomleft: INTEGER_32 is 25
    			-- Declared in Windows as BF_DIAGONAL_ENDBOTTOMLEFT

    	bf_diagonal_endbottomright: INTEGER_32 is 28
    			-- Declared in Windows as BF_DIAGONAL_ENDBOTTOMRIGHT

    	bf_diagonal_endtopleft: INTEGER_32 is 19
    			-- Declared in Windows as BF_DIAGONAL_ENDTOPLEFT

    	bf_diagonal_endtopright: INTEGER_32 is 22
    			-- Declared in Windows as BF_DIAGONAL_ENDTOPRIGHT

    	bf_flat: INTEGER_32 is 16384
    			-- Declared in Windows as BF_FLAT

    	bf_left: INTEGER_32 is 1
    			-- Declared in Windows as BF_LEFT

    	bf_middle: INTEGER_32 is 2048
    			-- Declared in Windows as BF_MIDDLE

    	bf_mono: INTEGER_32 is 32768
    			-- Declared in Windows as BF_MONO

    	bf_rect: INTEGER_32 is 15
    			-- Declared in Windows as BF_RECT

    	bf_right: INTEGER_32 is 4
    			-- Declared in Windows as BF_RIGHT

    	bf_soft: INTEGER_32 is 4096
    			-- Declared in Windows as BF_SOFT

    	bf_top: INTEGER_32 is 2
    			-- Declared in Windows as BF_TOP

    	bf_topleft: INTEGER_32 is 3
    			-- Declared in Windows as BF_TOPLEFT

    	bf_topright: INTEGER_32 is 6
    			-- Declared in Windows as BF_TOPRIGHT

    	edge_bump: INTEGER_32 is 9
    			-- Declared in Windows as EDGE_BUMP
    			-- Equivalent to Bdr_sunkeninner | Bdr_raisedouter

    	edge_etched: INTEGER_32 is 6
    			-- Declared in Windows as EDGE_ETCHED
    			-- Equivalent to Bdr_sunkenouter | Bdr_raisedinner

    	edge_raised: INTEGER_32 is 5
    			-- Declared in Windows as EDGE_RAISED
    			-- Equivalent to Bdr_raisedouter | Bdr_raisedinner

    	edge_sunken: INTEGER_32 is 10
    			-- Declared in Windows as EDGE_SUNKEN
    			-- Equivalent to Bdr_sunkeninner | Bdr_sunkenouter

    feature -- DrawFrameControl constants (DFC_xxxx, DFCS_xxxx)

    	dfc_button: INTEGER_32 is 4
    			-- Declared in Windows as DFC_BUTTON

    	dfc_caption: INTEGER_32 is 1
    			-- Declared in Windows as DFC_CAPTION

    	dfc_menu: INTEGER_32 is 2
    			-- Declared in Windows as DFC_MENU

    	dfc_popupmenu: INTEGER_32 is 5
    			-- Declared in Windows as DFC_POPUPMENU

    	dfc_scroll: INTEGER_32 is 3
    			-- Declared in Windows as DFC_SCROLL

    	dfcs_adjustrect: INTEGER_32 is 8192
    			-- Declared in Windows as DFCS_ADJUSTRECT

    	dfcs_button3state: INTEGER_32 is 8
    			-- Declared in Windows as DFCS_BUTTON3STATE

    	dfcs_buttoncheck: INTEGER_32 is 0
    			-- Declared in Windows as DFCS_BUTTONCHECK

    	dfcs_buttonpush: INTEGER_32 is 16
    			-- Declared in Windows as DFCS_BUTTONPUSH

    	dfcs_buttonradio: INTEGER_32 is 4
    			-- Declared in Windows as DFCS_BUTTONRADIO

    	dfcs_buttonradioimage: INTEGER_32 is 1
    			-- Declared in Windows as DFCS_BUTTONRADIOIMAGE

    	dfcs_buttonradiomask: INTEGER_32 is 2
    			-- Declared in Windows as DFCS_BUTTONRADIOMASK

    	dfcs_captionclose: INTEGER_32 is 0
    			-- Declared in Windows as DFCS_CAPTIONCLOSE

    	dfcs_captionhelp: INTEGER_32 is 4
    			-- Declared in Windows as DFCS_CAPTIONHELP

    	dfcs_captionmax: INTEGER_32 is 2
    			-- Declared in Windows as DFCS_CAPTIONMAX

    	dfcs_captionmin: INTEGER_32 is 1
    			-- Declared in Windows as DFCS_CAPTIONMIN

    	dfcs_captionrestore: INTEGER_32 is 3
    			-- Declared in Windows as DFCS_CAPTIONRESTORE

    	dfcs_checked: INTEGER_32 is 1024
    			-- Declared in Windows as DFCS_CHECKED

    	dfcs_flat: INTEGER_32 is 16384
    			-- Declared in Windows as DFCS_FLAT

    	dfcs_hot: INTEGER_32 is 4096
    			-- Declared in Windows as DFCS_HOT

    	dfcs_inactive: INTEGER_32 is 256
    			-- Declared in Windows as DFCS_INACTIVE

    	dfcs_menuarrow: INTEGER_32 is 0
    			-- Declared in Windows as DFCS_MENUARROW

    	dfcs_menuarrowright: INTEGER_32 is 4
    			-- Declared in Windows as DFCS_MENUARROWRIGHT

    	dfcs_menubullet: INTEGER_32 is 2
    			-- Declared in Windows as DFCS_MENUBULLET

    	dfcs_menucheck: INTEGER_32 is 1
    			-- Declared in Windows as DFCS_MENUCHECK

    	dfcs_mono: INTEGER_32 is 32768
    			-- Declared in Windows as DFCS_MONO

    	dfcs_pushed: INTEGER_32 is 512
    			-- Declared in Windows as DFCS_PUSHED

    	dfcs_scrollcombobox: INTEGER_32 is 5
    			-- Declared in Windows as DFCS_SCROLLCOMBOBOX

    	dfcs_scrolldown: INTEGER_32 is 1
    			-- Declared in Windows as DFCS_SCROLLDOWN

    	dfcs_scrollleft: INTEGER_32 is 2
    			-- Declared in Windows as DFCS_SCROLLLEFT

    	dfcs_scrollright: INTEGER_32 is 3
    			-- Declared in Windows as DFCS_SCROLLRIGHT

    	dfcs_scrollsizegrip: INTEGER_32 is 8
    			-- Declared in Windows as DFCS_SCROLLSIZEGRIP

    	dfcs_scrollsizegripright: INTEGER_32 is 16
    			-- Declared in Windows as DFCS_SCROLLSIZEGRIPRIGHT

    	dfcs_scrollup: INTEGER_32 is 0
    			-- Declared in Windows as DFCS_SCROLLUP

    	dfcs_transparent: INTEGER_32 is 2048
    			-- Declared in Windows as DFCS_TRANSPARENT

    feature -- DrawImage constants (DI_xxxx)

    	di_compat: INTEGER_32 is 4
    			-- Declared in Windows as DI_COMPAT

    	di_defaultsize: INTEGER_32 is 8
    			-- Declared in Windows as DI_DEFAULTSIZE

    	di_image: INTEGER_32 is 2
    			-- Declared in Windows as DI_IMAGE

    	di_mask: INTEGER_32 is 1
    			-- Declared in Windows as DI_MASK

    	di_normal: INTEGER_32 is 3
    			-- Declared in Windows as DI_NORMAL

    feature -- DrawState constants (DSS_xxxx, DST_xxxx)

    	dss_disabled: INTEGER_32 is 32
    			-- Declared in Windows as DSS_DISABLED

    	dss_hideprefix: INTEGER_32 is 512
    			-- Declared in Windows as DSS_HIDEPREFIX

    	dss_mono: INTEGER_32 is 128
    			-- Declared in Windows as DSS_MONO

    	dss_normal: INTEGER_32 is 0
    			-- Declared in Windows as DSS_NORMAL

    	dss_prefixonly: INTEGER_32 is 1024
    			-- Declared in Windows as DSS_PREFIXONLY

    	dss_right: INTEGER_32 is 32768
    			-- Declared in Windows as DSS_RIGHT

    	dss_union: INTEGER_32 is 16
    			-- Declared in Windows as DSS_UNION

    	dst_bitmap: INTEGER_32 is 4
    			-- Declared in Windows as DST_BITMAP

    	dst_complex: INTEGER_32 is 0
    			-- Declared in Windows as DST_COMPLEX

    	dst_icon: INTEGER_32 is 3
    			-- Declared in Windows as DST_ICON

    	dst_prefixtext: INTEGER_32 is 2
    			-- Declared in Windows as DST_PREFIXTEXT

    	dst_text: INTEGER_32 is 1
    			-- Declared in Windows as DST_TEXT

    feature -- DrawText constants (DT_xxxx)

    	dt_bottom: INTEGER_32 is 8
    			-- Declared in Windows as DT_BOTTOM

    	dt_calcrect: INTEGER_32 is 1024
    			-- Declared in Windows as DT_CALCRECT

    	dt_center: INTEGER_32 is 1
    			-- Declared in Windows as DT_CENTER

    	dt_expandtabs: INTEGER_32 is 64
    			-- Declared in Windows as DT_EXPANDTABS

    	dt_externalleading: INTEGER_32 is 512
    			-- Declared in Windows as DT_EXTERNALLEADING

    	dt_hideprefix: INTEGER_32 is 1048576
    			-- Declared in Windows as DT_HIDEPREFIX

    	dt_internal: INTEGER_32 is 4096
    			-- Declared in Windows as DT_INTERNAL

    	dt_left: INTEGER_32 is 0
    			-- Declared in Windows as DT_LEFT

    	dt_noclip: INTEGER_32 is 256
    			-- Declared in Windows as DT_NOCLIP

    	dt_noprefix: INTEGER_32 is 2048
    			-- Declared in Windows as DT_NOPREFIX

    	dt_right: INTEGER_32 is 2
    			-- Declared in Windows as DT_RIGHT

    	dt_singleline: INTEGER_32 is 32
    			-- Declared in Windows as DT_SINGLELINE

    	dt_tabstop: INTEGER_32 is 128
    			-- Declared in Windows as DT_TABSTOP

    	dt_top: INTEGER_32 is 0
    			-- Declared in Windows as DT_TOP

    	dt_vcenter: INTEGER_32 is 4
    			-- Declared in Windows as DT_VCENTER

    	dt_wordbreak: INTEGER_32 is 16
    			-- Declared in Windows as DT_WORDBREAK

    feature -- MaskBlt only constants

    	maskcopy: INTEGER_32

    feature -- Output

    	io: STD_FILES
    			-- Handle to standard file setup
    			-- (from ANY)

    	out: STRING_8
    			-- New string containing terse printable representation
    			-- of current object
    			-- Was declared in ANY as synonym of tagged_out.
    			-- (from ANY)

    	print (some: ANY)
    			-- Write terse external representation of `some'
    			-- on standard output.
    			-- (from ANY)

    	frozen tagged_out: STRING_8
    			-- New string containing terse printable representation
    			-- of current object
    			-- Was declared in ANY as synonym of out.
    			-- (from ANY)

    feature -- Platform

    	operating_environment: OPERATING_ENVIRONMENT
    			-- Objects available from the operating system
    			-- (from ANY)

    invariant
    		-- from ANY
    	reflexive_equality: standard_is_equal (Current)
    	reflexive_conformance: conforms_to (Current)

    indexing
    	copyright: "Copyright (c) 1984-2006, Eiffel Software and others"
    	license: "Eiffel Forum License v2 (see http://www.eiffel.com/licensing/forum.txt)"
    	source: "[
    		Eiffel Software
    		356 Storke Road, Goleta, CA 93117 USA
    		Telephone 805-685-1006, Fax 805-685-6869
    		Website http://www.eiffel.com
    		Customer support http://support.eiffel.com
    	]"

    end -- class WEL_DRAWING_CONSTANTS