Automatic generation produced by ISE Eiffel

Classes Clusters Cluster hierarchy Chart Relations Flat contracts Go to:
note description: "Basic windows routines to draw controls like owner-draw-buttons." legal: "See notice at end of class." status: "See notice at end of class." date: "$Date: 2013-01-04 09:42:53 -0900 (Fri, 04 Jan 2013) $" revision: "$Revision: 90403 $" class interface WEL_DRAWING_ROUTINES create default_create -- Process instances of classes with no creation clause. -- (Default: do nothing.) -- (from ANY) feature -- Access Dib_pal_colors: INTEGER_32 = 1 -- (from WEL_DIB_COLORS_CONSTANTS) Dib_rgb_colors: INTEGER_32 = 0 -- (from WEL_DIB_COLORS_CONSTANTS) Dt_bottom: INTEGER_32 = 8 -- Declared in Windows as DT_BOTTOM -- (from WEL_DT_CONSTANTS) Dt_calcrect: INTEGER_32 = 1024 -- Declared in Windows as DT_CALCRECT -- (from WEL_DT_CONSTANTS) Dt_center: INTEGER_32 = 1 -- Declared in Windows as DT_CENTER -- (from WEL_DT_CONSTANTS) Dt_expandtabs: INTEGER_32 = 64 -- Declared in Windows as DT_EXPANDTABS -- (from WEL_DT_CONSTANTS) Dt_externalleading: INTEGER_32 = 512 -- Declared in Windows as DT_EXTERNALLEADING -- (from WEL_DT_CONSTANTS) Dt_hideprefix: INTEGER_32 = 1048576 -- Declared in Windows as DT_HIDEPREFIX -- (from WEL_DT_CONSTANTS) Dt_internal: INTEGER_32 = 4096 -- Declared in Windows as DT_INTERNAL -- (from WEL_DT_CONSTANTS) Dt_left: INTEGER_32 = 0 -- Declared in Windows as DT_LEFT -- (from WEL_DT_CONSTANTS) Dt_noclip: INTEGER_32 = 256 -- Declared in Windows as DT_NOCLIP -- (from WEL_DT_CONSTANTS) Dt_noprefix: INTEGER_32 = 2048 -- Declared in Windows as DT_NOPREFIX -- (from WEL_DT_CONSTANTS) Dt_right: INTEGER_32 = 2 -- Declared in Windows as DT_RIGHT -- (from WEL_DT_CONSTANTS) Dt_singleline: INTEGER_32 = 32 -- Declared in Windows as DT_SINGLELINE -- (from WEL_DT_CONSTANTS) Dt_tabstop: INTEGER_32 = 128 -- Declared in Windows as DT_TABSTOP -- (from WEL_DT_CONSTANTS) Dt_top: INTEGER_32 = 0 -- Declared in Windows as DT_TOP -- (from WEL_DT_CONSTANTS) Dt_vcenter: INTEGER_32 = 4 -- Declared in Windows as DT_VCENTER -- (from WEL_DT_CONSTANTS) Dt_word_ellipsis: INTEGER_32 = 262144 -- Declared in Windows as DT_WORD_ELLIPSIS -- (from WEL_DT_CONSTANTS) Dt_wordbreak: INTEGER_32 = 16 -- Declared in Windows as DT_WORDBREAK -- (from WEL_DT_CONSTANTS) generating_type: TYPE [detachable WEL_DRAWING_ROUTINES] -- Type of current object -- (type of which it is a direct instance) -- (from ANY) ensure -- from ANY generating_type_not_void: Result /= Void generator: STRING_8 -- Name of current object's generating class -- (base class of the type of which it is a direct instance) -- (from ANY) ensure -- from ANY generator_not_void: Result /= Void generator_not_empty: not Result.is_empty feature -- Comparison frozen deep_equal (a: detachable ANY; b: like arg #1): BOOLEAN -- Are a and b either both void -- or attached to isomorphic object structures? -- (from ANY) ensure -- from ANY instance_free: class shallow_implies_deep: standard_equal (a, b) implies Result both_or_none_void: (a = Void) implies (Result = (b = Void)) same_type: (Result and (a /= Void)) implies (b /= Void and then a.same_type (b)) symmetric: Result implies deep_equal (b, a) frozen equal (a: detachable ANY; b: like arg #1): BOOLEAN -- Are a and b either both void or attached -- to objects considered equal? -- (from ANY) ensure -- from ANY instance_free: class definition: Result = (a = Void and b = Void) or else ((a /= Void and b /= Void) and then a.is_equal (b)) frozen is_deep_equal alias "≡≡≡" (other: WEL_DRAWING_ROUTINES): BOOLEAN -- Are Current and other attached to isomorphic object structures? -- (from ANY) require -- from ANY other_not_void: other /= Void ensure -- from ANY shallow_implies_deep: standard_is_equal (other) implies Result same_type: Result implies same_type (other) symmetric: Result implies other.is_deep_equal (Current) is_equal (other: WEL_DRAWING_ROUTINES): 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 ~ Current consistent: standard_is_equal (other) implies Result frozen standard_equal (a: detachable ANY; b: like arg #1): BOOLEAN -- Are a and b 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 instance_free: class definition: Result = (a = Void and b = Void) or else ((a /= Void and b /= Void) and then a.standard_is_equal (b)) frozen standard_is_equal alias "" (other: WEL_DRAWING_ROUTINES): 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_dib_colors_constant (c: INTEGER_32): BOOLEAN -- Is c a valid dib colors constant? -- (from WEL_DIB_COLORS_CONSTANTS) feature -- Duplication copy (other: WEL_DRAWING_ROUTINES) -- 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: Current ~ other frozen deep_copy (other: WEL_DRAWING_ROUTINES) -- 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: WEL_DRAWING_ROUTINES -- New object structure recursively duplicated from Current. -- (from ANY) ensure -- from ANY deep_twin_not_void: Result /= Void deep_equal: deep_equal (Current, Result) frozen standard_copy (other: WEL_DRAWING_ROUTINES) -- 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: WEL_DRAWING_ROUTINES -- 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: WEL_DRAWING_ROUTINES -- New object equal to Current -- `twin` calls `copy`; to change copying/twinning semantics, redefine `copy`. -- (from ANY) ensure -- from ANY twin_not_void: Result /= Void is_equal: Result ~ Current feature -- Basic operations frozen default: detachable WEL_DRAWING_ROUTINES -- 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) ensure -- from ANY instance_free: class default_rescue -- Process exception for routines with no Rescue clause. -- (Default: do nothing.) -- (from ANY) frozen do_nothing -- Execute a null action. -- (from ANY) ensure -- from ANY instance_free: class draw_edge (dc: WEL_DC; rect: WEL_RECT; type, border: INTEGER_32) -- Draw a edge corresponding to the given options. -- See WEL_DRAWING_ROUTINES_CONSTANTS for type and -- border. require rect_not_void: rect /= Void rect_exists: rect.exists dc_not_void: dc /= Void dc_exists: dc.exists draw_focus_rect (dc: WEL_DC; rect: WEL_RECT) -- Draw a focus line in the given rect. require rect_not_void: rect /= Void rect_exists: rect.exists dc_not_void: dc /= Void dc_exists: dc.exists draw_insensitive_bitmap (dc: WEL_DC; bitmap: WEL_BITMAP; x, y: INTEGER_32) -- Draw the given bitmap converted to look insensitive require bitmap_not_void: bitmap /= Void bitmap_exists: bitmap.exists dc_not_void: dc /= Void dc_exists: dc.exists draw_insensitive_text (dc: WEL_DC; txt: READABLE_STRING_GENERAL; x, y: INTEGER_32) -- Draw the given text with the insensitive require txt_not_void: txt /= Void dc_not_void: dc /= Void dc_exists: dc.exists feature -- Constants fo `draw_edge` feature Bdr_raisedinner: INTEGER_32 = 4 -- Raised inner edge. -- (from WEL_DRAWING_ROUTINES_CONSTANTS) Bdr_raisedouter: INTEGER_32 = 1 -- Raised outer edge. -- (from WEL_DRAWING_ROUTINES_CONSTANTS) Bdr_sunkeninner: INTEGER_32 = 8 -- Sunken inner edge. -- (from WEL_DRAWING_ROUTINES_CONSTANTS) Bdr_sunkenouter: INTEGER_32 = 2 -- Sunken outer edge. -- (from WEL_DRAWING_ROUTINES_CONSTANTS) bf_adjust: INTEGER_32 -- Rectangle to be adjusted to leave space for -- client area. -- (from WEL_DRAWING_ROUTINES_CONSTANTS) bf_flat: INTEGER_32 -- Flat border. -- (from WEL_DRAWING_ROUTINES_CONSTANTS) bf_rect: INTEGER_32 -- Entire border rectangle -- (from WEL_DRAWING_ROUTINES_CONSTANTS) bf_soft: INTEGER_32 -- Soft buttons instead of tiles. -- (from WEL_DRAWING_ROUTINES_CONSTANTS) edge_bump: INTEGER_32 -- Raised outer and sunken inner edges. -- (from WEL_DRAWING_ROUTINES_CONSTANTS) edge_etched: INTEGER_32 -- Sunken outer and raised inner edges. -- (from WEL_DRAWING_ROUTINES_CONSTANTS) edge_raised: INTEGER_32 -- Raised inner and outer edges. -- (from WEL_DRAWING_ROUTINES_CONSTANTS) edge_sunken: INTEGER_32 -- Sunken inner and outer edges. -- (from WEL_DRAWING_ROUTINES_CONSTANTS) feature -- Constants fo draw_state feature dss_disabled: INTEGER_32 -- Embosses the image. -- (from WEL_DRAWING_ROUTINES_CONSTANTS) dss_mono: INTEGER_32 -- Draws the image using the brush specified by the -- hbr parameter. -- (from WEL_DRAWING_ROUTINES_CONSTANTS) dss_normal: INTEGER_32 -- Draws the image without any modification. -- (from WEL_DRAWING_ROUTINES_CONSTANTS) dss_union: INTEGER_32 -- Dithers the image. -- (from WEL_DRAWING_ROUTINES_CONSTANTS) dst_bitmap: INTEGER_32 -- The image is a bitmap. The low-order word of the lData -- parameter is the bitmap handle. -- (from WEL_DRAWING_ROUTINES_CONSTANTS) dst_complex: INTEGER_32 -- The image is application defined. To render the image, -- DrawState calls the callback function specified by the -- lpOutputFunc parameter. -- (from WEL_DRAWING_ROUTINES_CONSTANTS) dst_icon: INTEGER_32 -- The image is an icon. The low-order word of lData is -- the icon handle. -- (from WEL_DRAWING_ROUTINES_CONSTANTS) dst_prefixtext: INTEGER_32 -- The image is text that may contain an accelerator -- mnemonic. DrawState interprets the ampersand (&) -- prefix character as a directive to underscore the -- character that follows. The lData parameter specifies -- the address of the string, and the wData parameter -- specifies the length. If wData is zero, the string -- must be null-terminated. -- (from WEL_DRAWING_ROUTINES_CONSTANTS) dst_text: INTEGER_32 -- The image is text. The lData parameter specifies the -- address of the string, and the wData parameter -- specifies the length. If wData is zero, the string -- must be null-terminated. -- (from WEL_DRAWING_ROUTINES_CONSTANTS) feature -- Conversion from Eiffel to Windows frozen to_lparam (i: INTEGER_32): POINTER -- Convert integer value i in a valid LPARAM value. -- (from WEL_DATA_TYPE) ensure -- from WEL_DATA_TYPE is_class: class frozen to_lresult (i: INTEGER_32): POINTER -- Convert integer value i in a valid LRESULT value. -- (from WEL_DATA_TYPE) ensure -- from WEL_DATA_TYPE is_class: class frozen to_wparam (i: INTEGER_32): POINTER -- Convert integer value i in a valid WPARAM value. -- (from WEL_DATA_TYPE) ensure -- from WEL_DATA_TYPE is_class: class feature -- Output Io: STD_FILES -- Handle to standard file setup -- (from ANY) ensure -- from ANY instance_free: class io_not_void: Result /= Void out: STRING_8 -- New string containing terse printable representation -- of current object -- (from ANY) ensure -- from ANY out_not_void: Result /= Void print (o: detachable ANY) -- Write terse external representation of o -- on standard output. -- (from ANY) ensure -- from ANY instance_free: class frozen tagged_out: STRING_8 -- New string containing terse printable representation -- of current object -- (from ANY) ensure -- from ANY tagged_out_not_void: Result /= Void feature -- Platform Operating_environment: OPERATING_ENVIRONMENT -- Objects available from the operating system -- (from ANY) ensure -- from ANY instance_free: class operating_environment_not_void: Result /= Void invariant -- from ANY reflexive_equality: standard_is_equal (Current) reflexive_conformance: conforms_to (Current) note 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_ROUTINES
Classes Clusters Cluster hierarchy Chart Relations Flat contracts Go to:

-- Generated by Eiffel Studio --
For more details: eiffel.org