Automatic generation produced by ISE Eiffel

Classes Clusters Cluster hierarchy Chart Relations Flat contracts Go to:
note description: "EiffelVision screen, implementation interface." legal: "See notice at end of class." status: "See notice at end of class." date: "$Date: 2021-02-12 03:27:07 -0900 (Fri, 12 Feb 2021) $" revision: "$Revision: 105192 $" class interface EV_SCREEN_IMP create make -- Initialize Current require -- from EV_ANY_I True ensure -- from EV_ANY_I is_initialized: get_state_flag (Is_initialized_flag) feature -- Initialization make -- Initialize Current require -- from EV_ANY_I True ensure -- from EV_ANY_I is_initialized: get_state_flag (Is_initialized_flag) old_make (an_interface: attached like interface) -- Create Current, a screen object. require -- from EV_ANY_I an_interface_not_void: an_interface /= Void ensure -- from EV_ANY_I interface_assigned: interface = an_interface base_make_called: base_make_called feature -- Access arc_cosine (v: REAL_32): REAL_32 -- Trigonometric arccosine of radian v -- in the range [0, pi] -- (from SINGLE_MATH) ensure -- from SINGLE_MATH instance_free: class arc_sine (v: REAL_32): REAL_32 -- Trigonometric arcsine of radian v -- in the range [-pi/2, +pi/2] -- (from SINGLE_MATH) ensure -- from SINGLE_MATH instance_free: class arc_tangent (v: REAL_32): REAL_32 -- Trigonometric arctangent of radian v -- in the range [-pi/2, +pi/2] -- (from SINGLE_MATH) ensure -- from SINGLE_MATH instance_free: class Aspect_x: INTEGER_32 = 40 -- Relative width of a device pixel -- used for line drawing -- (from WEL_CAPABILITIES_CONSTANTS) Aspect_x_y: INTEGER_32 = 44 -- Diagonal width of a device pixel -- used for line drawing -- (from WEL_CAPABILITIES_CONSTANTS) Aspect_y: INTEGER_32 = 42 -- Relative height of a device pixel -- used for line drawing -- (from WEL_CAPABILITIES_CONSTANTS) frozen background_color: EV_COLOR -- Color displayed behind foreground features. -- (from EV_COLORIZABLE_I) background_color_internal: detachable EV_COLOR -- Color used to fill figures. -- (from EV_DRAWABLE_IMP) Bits_pixel: INTEGER_32 = 12 -- Number of adjacent color bits for each pixel -- (from WEL_CAPABILITIES_CONSTANTS) Blackness: INTEGER_32 = 66 -- Declared in Windows as BLACKNESS -- (from WEL_RASTER_OPERATIONS_CONSTANTS) Bs_dibpattern: INTEGER_32 = 5 -- A pattern brush defined by a device-independent -- bitmap (DIB) specification. -- (from WEL_BRUSH_STYLE_CONSTANTS) Bs_dibpattern8x8: INTEGER_32 = 8 -- Same as `bs_dibpattern`. -- (from WEL_BRUSH_STYLE_CONSTANTS) Bs_dibpatternpt: INTEGER_32 = 6 -- A pattern brush defined by a device-independent -- bitmap (DIB) specification -- (from WEL_BRUSH_STYLE_CONSTANTS) Bs_hatched: INTEGER_32 = 2 -- Hatched brush. -- (from WEL_BRUSH_STYLE_CONSTANTS) Bs_hollow: INTEGER_32 = 1 -- Hollow brush. -- (from WEL_BRUSH_STYLE_CONSTANTS) Bs_indexed: INTEGER_32 = 4 -- (from WEL_BRUSH_STYLE_CONSTANTS) Bs_null: INTEGER_32 = 1 -- Same as `bs_hollow`. -- (from WEL_BRUSH_STYLE_CONSTANTS) Bs_pattern: INTEGER_32 = 3 -- Pattern brush defined by a memory bitmap. -- (from WEL_BRUSH_STYLE_CONSTANTS) Bs_pattern8x8: INTEGER_32 = 7 -- Same as `bs_pattern`. -- (from WEL_BRUSH_STYLE_CONSTANTS) Bs_solid: INTEGER_32 = 0 -- Solid brush. -- (from WEL_BRUSH_STYLE_CONSTANTS) ceiling (v: REAL_32): REAL_32 -- Least integral value greater than or equal to v -- (from SINGLE_MATH) ensure -- from SINGLE_MATH instance_free: class Check_instruction: INTEGER_32 = 7 -- Exception code for violated check -- (from EXCEP_CONST) Class_invariant: INTEGER_32 = 6 -- Exception code for violated class invariant -- (from EXCEP_CONST) clip_area: detachable EV_RECTANGLE -- Clip area used to clip drawing. -- If set to Void, no clipping is applied. -- (from EV_DRAWABLE_IMP) Clip_caps: INTEGER_32 = 36 -- See class WEL_CLIPPING_CAPABILITIES_CONSTANTS -- (from WEL_CAPABILITIES_CONSTANTS) Color_3ddkshadow: INTEGER_32 = 21 -- Dark shadow for three-dimensional display elements. -- -- Declared in Windows as COLOR_3DDKSHADOW -- (from WEL_COLOR_CONSTANTS) Color_3dface: INTEGER_32 = 15 -- Face color for three-dimensional display elements and -- for dialog box backgrounds. -- -- Declared in Windows as COLOR_3DFACE -- Was declared in {WEL_COLOR_CONSTANTS} as synonym of `color_btnface`. -- (from WEL_COLOR_CONSTANTS) Color_3dhighlight: INTEGER_32 = 20 -- Highlight color for three-dimensional display elements -- (for edges facing the light source.) -- -- Declared in Windows as COLOR_3DHILIGHT -- Was declared in {WEL_COLOR_CONSTANTS} as synonym of `color_3dhilight`, `color_btnhilight` and `color_btnhighlight`. -- (from WEL_COLOR_CONSTANTS) Color_3dhilight: INTEGER_32 = 20 -- Highlight color for three-dimensional display elements -- (for edges facing the light source.) -- -- Declared in Windows as COLOR_3DHILIGHT -- Was declared in {WEL_COLOR_CONSTANTS} as synonym of `color_3dhighlight`, `color_btnhilight` and `color_btnhighlight`. -- (from WEL_COLOR_CONSTANTS) Color_3dlight: INTEGER_32 = 22 -- Light color for three-dimensional display elements -- (for edges facing the light source.) -- -- Declared in Windows as COLOR_3DLIGHT -- (from WEL_COLOR_CONSTANTS) Color_3dshadow: INTEGER_32 = 16 -- Shadow color for three-dimensional display elements -- (for edges facing away from the light source). -- -- Declared in Windows as COLOR_3DSHADOW -- Was declared in {WEL_COLOR_CONSTANTS} as synonym of `color_btnshadow`. -- (from WEL_COLOR_CONSTANTS) Color_activeborder: INTEGER_32 = 10 -- Active window border. -- -- Declared in Windows as COLOR_ACTIVEBORDER -- (from WEL_COLOR_CONSTANTS) Color_activecaption: INTEGER_32 = 2 -- Active window title bar. -- -- Windows 98/Me, Windows 2000 or later: --   Specifies the left side color in the color gradient of an active --   window's title bar if the gradient effect is enabled. -- -- Declared in Windows as COLOR_ACTIVECAPTION -- (from WEL_COLOR_CONSTANTS) Color_appworkspace: INTEGER_32 = 12 -- Background color of multiple document interface (MDI) applications. -- -- Declared in Windows as COLOR_APPWORKSPACE -- (from WEL_COLOR_CONSTANTS) Color_background: INTEGER_32 = 1 -- Desktop. -- -- Declared in Windows as COLOR_BACKGROUND -- Was declared in {WEL_COLOR_CONSTANTS} as synonym of `color_desktop`. -- (from WEL_COLOR_CONSTANTS) Color_btnface: INTEGER_32 = 15 -- Face color for three-dimensional display elements and -- for dialog box backgrounds. -- -- Declared in Windows as COLOR_3DFACE -- Was declared in {WEL_COLOR_CONSTANTS} as synonym of `color_3dface`. -- (from WEL_COLOR_CONSTANTS) Color_btnhighlight: INTEGER_32 = 20 -- Highlight color for three-dimensional display elements -- (for edges facing the light source.) -- -- Declared in Windows as COLOR_3DHILIGHT -- Was declared in {WEL_COLOR_CONSTANTS} as synonym of `color_3dhilight`, `color_3dhighlight` and `color_btnhilight`. -- (from WEL_COLOR_CONSTANTS) Color_btnhilight: INTEGER_32 = 20 -- Highlight color for three-dimensional display elements -- (for edges facing the light source.) -- -- Declared in Windows as COLOR_3DHILIGHT -- Was declared in {WEL_COLOR_CONSTANTS} as synonym of `color_3dhilight`, `color_3dhighlight` and `color_btnhighlight`. -- (from WEL_COLOR_CONSTANTS) Color_btnshadow: INTEGER_32 = 16 -- Shadow color for three-dimensional display elements -- (for edges facing away from the light source). -- -- Declared in Windows as COLOR_3DSHADOW -- Was declared in {WEL_COLOR_CONSTANTS} as synonym of `color_3dshadow`. -- (from WEL_COLOR_CONSTANTS) Color_btntext: INTEGER_32 = 18 -- Text on push buttons. -- -- Declared in Windows as COLOR_BTNTEXT -- (from WEL_COLOR_CONSTANTS) Color_captiontext: INTEGER_32 = 9 -- Text in caption, size box, and scroll bar arrow box. -- -- Declared in Windows as COLOR_CAPTIONTEXT -- (from WEL_COLOR_CONSTANTS) Color_desktop: INTEGER_32 = 1 -- Desktop. -- -- Declared in Windows as COLOR_BACKGROUND -- Was declared in {WEL_COLOR_CONSTANTS} as synonym of `color_background`. -- (from WEL_COLOR_CONSTANTS) Color_gradientactivecaption: INTEGER_32 = 27 -- Windows 98/Me, Windows 2000 or later: --   Right side color in the color gradient of an active window's --   title bar. COLOR_ACTIVECAPTION specifies the left side color. --   Use SPI_GETGRADIENTCAPTIONS with the SystemParametersInfo --   function to determine whether the gradient effect is enabled. -- -- Declared in Windows as COLOR_GRADIENTACTIVECAPTION -- (from WEL_COLOR_CONSTANTS) Color_gradientinactivecaption: INTEGER_32 = 28 -- Windows 98/Me, Windows 2000 or later: --   Right side color in the color gradient of an inactive window's --   title bar. COLOR_INACTIVECAPTION specifies the left side color. -- -- Declared in Windows as COLOR_GRADIENTINACTIVECAPTION -- (from WEL_COLOR_CONSTANTS) Color_graytext: INTEGER_32 = 17 -- Grayed (disabled) text. This color is set to 0 if the current -- display driver does not support a solid gray color. -- -- Declared in Windows as COLOR_GRAYTEXT -- (from WEL_COLOR_CONSTANTS) Color_highlight: INTEGER_32 = 13 -- Item(s) selected in a control. -- -- Declared in Windows as COLOR_HIGHLIGHT -- (from WEL_COLOR_CONSTANTS) Color_highlighttext: INTEGER_32 = 14 -- Text of item(s) selected in a control. -- -- Declared in Windows as COLOR_HIGHLIGHTTEXT -- (from WEL_COLOR_CONSTANTS) Color_hotlight: INTEGER_32 = 26 -- Windows 98/Me, Windows 2000 or later: --   Color for a hot-tracked item. Single clicking a hot-tracked --   item executes the item. -- -- Declared in Windows as COLOR_HOTLIGHT -- (from WEL_COLOR_CONSTANTS) Color_inactiveborder: INTEGER_32 = 11 -- Inactive window border. -- -- Declared in Windows as COLOR_INACTIVEBORDER -- (from WEL_COLOR_CONSTANTS) Color_inactivecaption: INTEGER_32 = 3 -- Inactive window caption. -- -- Windows 98/Me, Windows 2000 or later: --   Specifies the left side color in the color gradient of an inactive --   window's title bar if the gradient effect is enabled. -- -- Declared in Windows as COLOR_INACTIVECAPTION -- (from WEL_COLOR_CONSTANTS) Color_inactivecaptiontext: INTEGER_32 = 19 -- Color of text in an inactive caption. -- -- Declared in Windows as COLOR_INACTIVECAPTIONTEXT -- (from WEL_COLOR_CONSTANTS) Color_infobk: INTEGER_32 = 24 -- Background color for tooltip controls. -- -- Declared in Windows as COLOR_INFOBK -- (from WEL_COLOR_CONSTANTS) Color_infotext: INTEGER_32 = 23 -- Text color for tooltip controls. -- -- Declared in Windows as COLOR_INFOTEXT -- (from WEL_COLOR_CONSTANTS) Color_menu: INTEGER_32 = 4 -- Menu background. -- -- Declared in Windows as COLOR_MENU -- (from WEL_COLOR_CONSTANTS) Color_menubar: INTEGER_32 = 30 -- Windows XP: --   The background color for the menu bar when menus appear as --   flat menus (see SystemParametersInfo). However, `color_menu` --   continues to specify the background color of the menu popup. -- -- Declared in Windows as COLOR_MENUBAR -- (from WEL_COLOR_CONSTANTS) Color_menuhilight: INTEGER_32 = 29 -- Windows XP: --   The color used to highlight menu items when the menu appears --   as a flat menu (see SystemParametersInfo). The highlighted --   menu item is outlined with COLOR_HIGHLIGHT. -- -- Declared in Windows as COLOR_MENUHILIGHT -- (from WEL_COLOR_CONSTANTS) Color_menutext: INTEGER_32 = 7 -- Text in menus. -- -- Declared in Windows as COLOR_MENUTEXT -- (from WEL_COLOR_CONSTANTS) Color_resolution: INTEGER_32 = 108 -- Color resolution of the device in bits -- (from WEL_CAPABILITIES_CONSTANTS) Color_scrollbar: INTEGER_32 = 0 -- Scroll bar gray area. -- -- Declared in Windows as COLOR_SCROLLBAR -- (from WEL_COLOR_CONSTANTS) Color_window: INTEGER_32 = 5 -- Window background. -- -- Declared in Windows as COLOR_WINDOW -- (from WEL_COLOR_CONSTANTS) Color_windowframe: INTEGER_32 = 6 -- Window frame. -- -- Declared in Windows as COLOR_WINDOWFRAME -- (from WEL_COLOR_CONSTANTS) Color_windowtext: INTEGER_32 = 8 -- Text in windows. -- -- Declared in Windows as COLOR_WINDOWTEXT -- (from WEL_COLOR_CONSTANTS) Com_exception: INTEGER_32 = 28 -- Exception code for a COM error. -- (from EXCEP_CONST) cosine (v: REAL_32): REAL_32 -- Trigonometric cosine of radian v approximated -- in the range [-pi/4, +pi/4] -- (from SINGLE_MATH) ensure -- from SINGLE_MATH instance_free: class Create_on_deferred: INTEGER_32 = 17 -- Create on deferred -- (from EXCEP_CONST) Curve_caps: INTEGER_32 = 28 -- See class WEL_CURVE_CAPABILITIES_CONSTANTS -- (from WEL_CAPABILITIES_CONSTANTS) dashed_line_style: BOOLEAN -- Are lines drawn dashed? -- (from EV_DRAWABLE_IMP) dc: WEL_SCREEN_DC -- DC for drawing. Developer_exception: INTEGER_32 = 24 -- Exception code for developer exception -- (from EXCEP_CONST) Dib_pal_colors: INTEGER_32 = 1 -- (from WEL_DIB_COLORS_CONSTANTS) Dib_rgb_colors: INTEGER_32 = 0 -- (from WEL_DIB_COLORS_CONSTANTS) Dollar_applied_to_melted_feature: INTEGER_32 = 26 -- $ applied to melted feature -- (from EXCEP_CONST) drawing_mode: INTEGER_32 -- Logical operation on pixels when drawing. -- (from EV_DRAWABLE_IMP) require -- from EV_DRAWABLE_I True Driver_version: INTEGER_32 = 1 -- Version number of the device driver -- (from WEL_CAPABILITIES_CONSTANTS) Dstinvert: INTEGER_32 = 5570569 -- Declared in Windows as DSTINVERT -- (from WEL_RASTER_OPERATIONS_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) Eiffel_runtime_fatal_error: INTEGER_32 = 25 -- Eiffel run-time fatal error -- (from EXCEP_CONST) Eiffel_runtime_panic: INTEGER_32 = 13 -- Eiffel run-time panic -- (from EXCEP_CONST) Euler: REAL_64 = 2.7182818284590452353602874713526625 -- Logarithm base -- (from MATH_CONST) Exception_in_signal_handler: INTEGER_32 = 20 -- Exception in signal handler -- (from EXCEP_CONST) Exception_manager: EXCEPTION_MANAGER -- Exception manager -- (from EXCEPTION_MANAGER_FACTORY) ensure -- from EXCEPTION_MANAGER_FACTORY instance_free: class exception_manager_not_void: Result /= Void exp (x: REAL_32): REAL_32 -- Exponential of v. -- (from SINGLE_MATH) ensure -- from SINGLE_MATH instance_free: class External_exception: INTEGER_32 = 18 -- Exception code for operating system error -- which does not set the errno variable -- (Unix-specific) -- (from EXCEP_CONST) Floating_point_exception: INTEGER_32 = 5 -- Exception code for floating point exception -- (from EXCEP_CONST) floor (v: REAL_32): REAL_32 -- Greatest integral value less than or equal to v -- (from SINGLE_MATH) ensure -- from SINGLE_MATH instance_free: class font: EV_FONT -- Font of Current. -- (from EV_FONTABLE_IMP) require -- from EV_FONTABLE_I True ensure -- from EV_FONTABLE_I not_void: Result /= Void frozen foreground_color: EV_COLOR -- Color of foreground features like text. -- (from EV_COLORIZABLE_I) foreground_color_internal: detachable EV_COLOR -- Color used for lines and text. -- (from EV_DRAWABLE_IMP) generating_type: TYPE [detachable EV_SCREEN_IMP] -- 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 Gwl_exstyle: INTEGER_32 = -20 -- (from WEL_GWL_CONSTANTS) Gwl_style: INTEGER_32 = -16 -- (from WEL_GWL_CONSTANTS) Himetric_per_inch: INTEGER_32 = 2540 -- Defined as HIMETRIC_PER_INCH in AtlWin.h -- (from WEL_UNIT_CONVERSION) Wel_horizontal_resolution: INTEGER_32 = 8 -- Width of the display, in pixels -- (from WEL_CAPABILITIES_CONSTANTS) Horizontal_size: INTEGER_32 = 4 -- Width of the physical display in millimeters -- (from WEL_CAPABILITIES_CONSTANTS) hs_bdiagonal: INTEGER_32 -- (from WEL_HS_CONSTANTS) hs_cross: INTEGER_32 -- (from WEL_HS_CONSTANTS) hs_diagcross: INTEGER_32 -- (from WEL_HS_CONSTANTS) hs_fdiagonal: INTEGER_32 -- (from WEL_HS_CONSTANTS) hs_horizontal: INTEGER_32 -- (from WEL_HS_CONSTANTS) hs_vertical: INTEGER_32 -- (from WEL_HS_CONSTANTS) Incorrect_inspect_value: INTEGER_32 = 9 -- Exception code for inspect value which is not one -- of the inspect constants, if there is no Else_part -- (from EXCEP_CONST) internal_font: EV_FONT -- Font of Current for internal queries. -- Faster than calling `font` as we do not need to -- create a new EV_FONT every time. -- (from EV_FONTABLE_IMP) internal_font_height: INTEGER_32 -- Height required to correctly display font of Current in pixels. -- (from EV_FONTABLE_IMP) ensure -- from EV_FONTABLE_IMP result_non_negative: Result >= 0 Io_exception: INTEGER_32 = 21 -- Exception code for I/O error -- (from EXCEP_CONST) Line_caps: INTEGER_32 = 30 -- See class WEL_LINE_CAPABILITIES_CONSTANTS -- (from WEL_CAPABILITIES_CONSTANTS) line_width: INTEGER_32 -- Line thickness. -- (from EV_DRAWABLE_IMP) log (v: REAL_32): REAL_32 -- Natural logarithm of v -- (from SINGLE_MATH) ensure -- from SINGLE_MATH instance_free: class log10 (v: REAL_32): REAL_32 -- Base 10 logarithm of v -- (from SINGLE_MATH) ensure -- from SINGLE_MATH instance_free: class log_2 (v: REAL_32): REAL_32 -- Base 2 logarithm of v -- (from SINGLE_MATH) ensure -- from SINGLE_MATH instance_free: class Logical_pixels_x: INTEGER_32 = 88 -- Number of pixels per logical inch along -- the display width -- (from WEL_CAPABILITIES_CONSTANTS) Logical_pixels_y: INTEGER_32 = 90 -- Number of pixels per logical inch along -- the display height -- (from WEL_CAPABILITIES_CONSTANTS) Loop_invariant: INTEGER_32 = 11 -- Exception code for violated loop invariant -- (from EXCEP_CONST) Loop_variant: INTEGER_32 = 10 -- Exception code for non-decreased loop variant -- (from EXCEP_CONST) frozen maskcopy: INTEGER_32 -- Use SRCCOPY for foreground and R2_NOOP for background. -- (from WEL_RASTER_OPERATIONS_CONSTANTS) ensure -- from WEL_RASTER_OPERATIONS_CONSTANTS is_class: class Maskpaint: INTEGER_32 = 2229030 -- 0x220326 -- (from WEL_RASTER_OPERATIONS_CONSTANTS) Maximum_buffered_string_size: INTEGER_32 = 10000 -- Maximum size of string permitting a shared WEL_STRING object to -- be returned by `wel_string_restricted`. -- (from WEL_SHARED_TEMPORARY_OBJECTS) Mb_abortretryignore: INTEGER_32 = 2 -- (from WEL_MB_CONSTANTS) Mb_applmodal: INTEGER_32 = 0 -- (from WEL_MB_CONSTANTS) Mb_default_desktop_only: INTEGER_32 = 131072 -- (from WEL_MB_CONSTANTS) Mb_defbutton1: INTEGER_32 = 0 -- (from WEL_MB_CONSTANTS) Mb_defbutton2: INTEGER_32 = 256 -- (from WEL_MB_CONSTANTS) Mb_defbutton3: INTEGER_32 = 512 -- (from WEL_MB_CONSTANTS) Mb_defmask: INTEGER_32 = 3840 -- (from WEL_MB_CONSTANTS) Mb_help: INTEGER_32 = 16384 -- (from WEL_MB_CONSTANTS) Mb_iconasterisk: INTEGER_32 = 64 -- (from WEL_MB_CONSTANTS) Mb_iconerror: INTEGER_32 = 16 -- Same as `mb_iconhand`. -- (from WEL_MB_CONSTANTS) Mb_iconexclamation: INTEGER_32 = 48 -- (from WEL_MB_CONSTANTS) Mb_iconhand: INTEGER_32 = 16 -- (from WEL_MB_CONSTANTS) Mb_iconinformation: INTEGER_32 = 64 -- Same as `mb_iconasterisk`. -- (from WEL_MB_CONSTANTS) Mb_iconmask: INTEGER_32 = 240 -- (from WEL_MB_CONSTANTS) Mb_iconquestion: INTEGER_32 = 32 -- (from WEL_MB_CONSTANTS) Mb_iconstop: INTEGER_32 = 16 -- Same as `mb_iconhand`. -- (from WEL_MB_CONSTANTS) Mb_iconwarning: INTEGER_32 = 48 -- Same as `mb_iconexclamation`. -- (from WEL_MB_CONSTANTS) Mb_nofocus: INTEGER_32 = 32768 -- (from WEL_MB_CONSTANTS) Mb_ok: INTEGER_32 = 0 -- (from WEL_MB_CONSTANTS) Mb_okcancel: INTEGER_32 = 1 -- (from WEL_MB_CONSTANTS) Mb_retrycancel: INTEGER_32 = 5 -- (from WEL_MB_CONSTANTS) Mb_right: INTEGER_32 = 524288 -- (from WEL_MB_CONSTANTS) Mb_rtlreading: INTEGER_32 = 1048576 -- (from WEL_MB_CONSTANTS) Mb_setforeground: INTEGER_32 = 65536 -- (from WEL_MB_CONSTANTS) Mb_systemmodal: INTEGER_32 = 4096 -- (from WEL_MB_CONSTANTS) Mb_taskmodal: INTEGER_32 = 8192 -- (from WEL_MB_CONSTANTS) Mb_topmost: INTEGER_32 = 262144 -- (from WEL_MB_CONSTANTS) Mb_typemask: INTEGER_32 = 15 -- (from WEL_MB_CONSTANTS) Mb_usericon: INTEGER_32 = 128 -- (from WEL_MB_CONSTANTS) Mb_yesno: INTEGER_32 = 4 -- (from WEL_MB_CONSTANTS) Mb_yesnocancel: INTEGER_32 = 3 -- (from WEL_MB_CONSTANTS) Mergecopy: INTEGER_32 = 12583114 -- Declared in Windows as MERGECOPY -- (from WEL_RASTER_OPERATIONS_CONSTANTS) Mergepaint: INTEGER_32 = 12255782 -- Declared in Windows as MERGEPAINT -- (from WEL_RASTER_OPERATIONS_CONSTANTS) No_more_memory: INTEGER_32 = 2 -- Exception code for failed memory allocation -- (from EXCEP_CONST) Notsrccopy: INTEGER_32 = 3342344 -- Declared in Windows as NOTSRCCOPY -- (from WEL_RASTER_OPERATIONS_CONSTANTS) Notsrcerase: INTEGER_32 = 1114278 -- Declared in Windows as NOTSRCERASE -- (from WEL_RASTER_OPERATIONS_CONSTANTS) Num_brushes: INTEGER_32 = 16 -- Number of device-specific brushes -- (from WEL_CAPABILITIES_CONSTANTS) Num_colors: INTEGER_32 = 24 -- Number of entries in the device's color table -- (from WEL_CAPABILITIES_CONSTANTS) Num_fonts: INTEGER_32 = 22 -- Number of device-specific fonts -- (from WEL_CAPABILITIES_CONSTANTS) Num_markers: INTEGER_32 = 20 -- Number of device-specific markers -- (from WEL_CAPABILITIES_CONSTANTS) Num_pens: INTEGER_32 = 18 -- Number of device-specific pens -- (from WEL_CAPABILITIES_CONSTANTS) Num_reserved: INTEGER_32 = 106 -- Number of reserved entries in the system palette -- (from WEL_CAPABILITIES_CONSTANTS) Number_of_codes: INTEGER_32 = 31 -- How many codes are there to represent exceptions? -- (from EXCEP_CONST) Old_exception: INTEGER_32 = 30 -- Old exception code. -- (from EXCEP_CONST) Operating_system_exception: INTEGER_32 = 22 -- Exception code for operating system error -- which sets the errno variable -- (Unix-specific) -- (from EXCEP_CONST) Out_of_memory: INTEGER_32 = 15 -- Out of memory (cannot be ignored) -- (from EXCEP_CONST) Patcopy: INTEGER_32 = 15728673 -- Declared in Windows as PATCOPY -- (from WEL_RASTER_OPERATIONS_CONSTANTS) Patinvert: INTEGER_32 = 5898313 -- Declared in Windows as PATINVERT -- (from WEL_RASTER_OPERATIONS_CONSTANTS) Patpaint: INTEGER_32 = 16452105 -- Declared in Windows as PATPAINT -- (from WEL_RASTER_OPERATIONS_CONSTANTS) Pdevice_size: INTEGER_32 = 26 -- Size of the PDEVICE internal structure, in bytes -- (from WEL_CAPABILITIES_CONSTANTS) Physical_offset_x: INTEGER_32 = 112 -- Distance from left edge of the printable area, in -- device units. -- (from WEL_CAPABILITIES_CONSTANTS) Physical_offset_y: INTEGER_32 = 113 -- Distance from top edge of the printable area, in -- device units. -- (from WEL_CAPABILITIES_CONSTANTS) Pi: REAL_64 = 3.1415926535897932384626433832795029 -- (from MATH_CONST) Pi_2: REAL_64 = 1.5707963267948966192313216916397514 -- (from MATH_CONST) Pi_4: REAL_64 = 0.7853981633974483096156608458198757 -- (from MATH_CONST) Planes: INTEGER_32 = 14 -- Number of color planes -- (from WEL_CAPABILITIES_CONSTANTS) Polygonal_caps: INTEGER_32 = 32 -- See class WEL_POLYGONAL_CAPABILITIES_CONSTANTS -- (from WEL_CAPABILITIES_CONSTANTS) Postcondition: INTEGER_32 = 4 -- Exception code for violated postcondition -- (from EXCEP_CONST) Precondition: INTEGER_32 = 3 -- Exception code for violated precondition -- (from EXCEP_CONST) R2_black: INTEGER_32 = 1 -- (from WEL_ROP2_CONSTANTS) R2_copypen: INTEGER_32 = 13 -- (from WEL_ROP2_CONSTANTS) R2_masknotpen: INTEGER_32 = 3 -- (from WEL_ROP2_CONSTANTS) R2_maskpen: INTEGER_32 = 9 -- (from WEL_ROP2_CONSTANTS) R2_maskpennot: INTEGER_32 = 5 -- (from WEL_ROP2_CONSTANTS) R2_mergenotpen: INTEGER_32 = 12 -- (from WEL_ROP2_CONSTANTS) R2_mergepen: INTEGER_32 = 15 -- (from WEL_ROP2_CONSTANTS) R2_mergepennot: INTEGER_32 = 14 -- (from WEL_ROP2_CONSTANTS) R2_nop: INTEGER_32 = 11 -- (from WEL_ROP2_CONSTANTS) R2_not: INTEGER_32 = 6 -- (from WEL_ROP2_CONSTANTS) R2_notcopypen: INTEGER_32 = 4 -- (from WEL_ROP2_CONSTANTS) R2_notmaskpen: INTEGER_32 = 8 -- (from WEL_ROP2_CONSTANTS) R2_notmergepen: INTEGER_32 = 2 -- (from WEL_ROP2_CONSTANTS) R2_notxorpen: INTEGER_32 = 10 -- (from WEL_ROP2_CONSTANTS) R2_white: INTEGER_32 = 16 -- (from WEL_ROP2_CONSTANTS) R2_xorpen: INTEGER_32 = 7 -- (from WEL_ROP2_CONSTANTS) rabs (v: REAL_32): REAL_32 -- Absolute value of v -- (from SINGLE_MATH) ensure -- from SINGLE_MATH instance_free: class Raster_caps: INTEGER_32 = 38 -- See class WEL_RASTER_CAPABILITIES_CONSTANTS -- (from WEL_CAPABILITIES_CONSTANTS) Rescue_exception: INTEGER_32 = 14 -- Exception code for exception in rescue clause -- (from EXCEP_CONST) Resumption_failed: INTEGER_32 = 16 -- Resumption failed (retry did not succeed) -- (from EXCEP_CONST) Retrieve_exception: INTEGER_32 = 23 -- Exception code for retrieval error -- may be raised by retrieved in IO_MEDIUM. -- (from EXCEP_CONST) Routine_failure: INTEGER_32 = 8 -- Exception code for failed routine -- (from EXCEP_CONST) Runtime_check_exception: INTEGER_32 = 29 -- Exception code for runtime check being violated. -- (from EXCEP_CONST) Runtime_io_exception: INTEGER_32 = 27 -- Exception code for I/O error raised by runtime functions -- such as store/retrieve, file access... -- (from EXCEP_CONST) Scaling_factor_x: INTEGER_32 = 114 -- Scaling factor for the x-axis of the printer. -- (from WEL_CAPABILITIES_CONSTANTS) Scaling_factor_y: INTEGER_32 = 115 -- Scaling factor for the y-axis of the printer. -- (from WEL_CAPABILITIES_CONSTANTS) Serialization_exception: INTEGER_32 = 31 -- Serialization exception code. -- (from EXCEP_CONST) Signal_exception: INTEGER_32 = 12 -- Exception code for operating system signal -- (from EXCEP_CONST) sine (v: REAL_32): REAL_32 -- Trigonometric sine of radian v approximated -- in range [-pi/4, +pi/4] -- (from SINGLE_MATH) ensure -- from SINGLE_MATH instance_free: class Size_palette: INTEGER_32 = 104 -- Number of entries in the system palette -- (from WEL_CAPABILITIES_CONSTANTS) sqrt (v: REAL_32): REAL_32 -- Square root of v -- (from SINGLE_MATH) ensure -- from SINGLE_MATH instance_free: class Sqrt2: REAL_64 = 1.4142135623730950488016887242096981 -- Square root of 2 -- (from MATH_CONST) Srcand: INTEGER_32 = 8913094 -- Declared in Windows as SRCAND -- (from WEL_RASTER_OPERATIONS_CONSTANTS) Srccopy: INTEGER_32 = 13369376 -- Declared in Windows as SRCCOPY -- (from WEL_RASTER_OPERATIONS_CONSTANTS) Srcerase: INTEGER_32 = 4457256 -- Declared in Windows as SRCERASE -- (from WEL_RASTER_OPERATIONS_CONSTANTS) Srcinvert: INTEGER_32 = 6684742 -- Declared in Windows as SRCINVERT -- (from WEL_RASTER_OPERATIONS_CONSTANTS) Srcpaint: INTEGER_32 = 15597702 -- Declared in Windows as SRCPAINT -- (from WEL_RASTER_OPERATIONS_CONSTANTS) sub_pixmap (area: EV_RECTANGLE): EV_PIXMAP -- Return the subpixmap of Current described by rectangle area. -- (from EV_DRAWABLE_IMP) require -- from EV_DRAWABLE_I area_not_void: area /= Void ensure -- from EV_DRAWABLE_I result_not_void: Result /= Void ta_baseline: INTEGER_32 -- The reference point is on the base line of the text. -- (from WEL_TA_CONSTANTS) ta_bottom: INTEGER_32 -- The reference point is on the bottom edge of the bounding rectangle. -- (from WEL_TA_CONSTANTS) ta_center: INTEGER_32 -- The reference point is aligned horizontally with the center of the bounding rectangle. -- (from WEL_TA_CONSTANTS) ta_left: INTEGER_32 -- The reference point is on the left edge of the bounding rectangle. -- (from WEL_TA_CONSTANTS) ta_noupdatecp: INTEGER_32 -- The current position is not updated after each text output call. -- (from WEL_TA_CONSTANTS) ta_right: INTEGER_32 -- The reference point is on the right edge of the bounding rectangle. -- (from WEL_TA_CONSTANTS) ta_top: INTEGER_32 -- The reference point is on the top edge of the bounding rectangle. -- (from WEL_TA_CONSTANTS) ta_updatecp: INTEGER_32 -- The current position is updated after each text output call. -- (from WEL_TA_CONSTANTS) tangent (v: REAL_32): REAL_32 -- Trigonometric tangent of radian v approximated -- in range [-pi/4, +pi/4] -- (from SINGLE_MATH) ensure -- from SINGLE_MATH instance_free: class Technology: INTEGER_32 = 2 -- Device technology. -- See class WEL_DEVICE_TECHNOLOGY_CONSTANTS -- (from WEL_CAPABILITIES_CONSTANTS) Text_caps: INTEGER_32 = 34 -- See class WEL_TEXT_CAPABILITIES_CONSTANTS -- (from WEL_CAPABILITIES_CONSTANTS) tile: detachable EV_PIXMAP -- Pixmap that is used to instead of background_color. -- If set to Void, `background_color` is used to fill. -- (from EV_DRAWABLE_IMP) valid_code (c: INTEGER_32): BOOLEAN -- Is c a valid code to represent some kind of exceptions? -- (from EXCEP_CONST) Wel_vertical_resolution: INTEGER_32 = 10 -- Height of the display, in raster lines -- (from WEL_CAPABILITIES_CONSTANTS) Vertical_size: INTEGER_32 = 6 -- Height of the physical display in millimeters -- (from WEL_CAPABILITIES_CONSTANTS) Void_assigned_to_expanded: INTEGER_32 = 19 -- Exception code for assignment of void value -- to expanded entity -- (from EXCEP_CONST) Void_call_target: INTEGER_32 = 1 -- Exception code for feature applied to void reference -- (from EXCEP_CONST) Wel_rect: WEL_RECT -- Once access to an object of type WEL_RECT -- (from WEL_SHARED_TEMPORARY_OBJECTS) Wel_string: WEL_STRING -- Once access to an object of type WEL_STRING -- (from WEL_SHARED_TEMPORARY_OBJECTS) wel_string_from_string (s: READABLE_STRING_GENERAL): WEL_STRING -- Return a shared wel string set to s if -- s.count < `maximum_buffered_string_size`, otherwise -- return a new WEL_STRING object set to s. -- (from WEL_SHARED_TEMPORARY_OBJECTS) require -- from WEL_SHARED_TEMPORARY_OBJECTS s_not_void: s /= Void wel_string_from_string_with_newline_conversion (s: READABLE_STRING_GENERAL): WEL_STRING -- Return a shared wel string set to s if -- s.count < `maximum_buffered_string_size`, otherwise -- return a new WEL_STRING object set to s. -- Make sure all lone '%N' characters are prepended with a carriage return '%R'. -- (from WEL_SHARED_TEMPORARY_OBJECTS) require -- from WEL_SHARED_TEMPORARY_OBJECTS s_not_void: s /= Void wel_string_restricted (characters: INTEGER_32): WEL_STRING -- Return shared `wel_string` as Result if characters -- is less than `maximum_buffered_string_size`, otherwise return a -- new WEL_STRING object. This is used to prevent huge strings -- from being kept within a system. -- (from WEL_SHARED_TEMPORARY_OBJECTS) Whiteness: INTEGER_32 = 16711778 -- Declared in Windows as WHITENESS -- (from WEL_RASTER_OPERATIONS_CONSTANTS) feature -- Measurement height: INTEGER_32 -- Height of Current. require -- from EV_DRAWABLE_I True ensure -- from EV_DRAWABLE_I positive: Result > 0 horizontal_resolution: INTEGER_32 -- Number of pixels per inch along screen width. ensure -- from EV_SCREEN_I positive: Result > 0 monitor_count: INTEGER_32 -- Number of monitors used for displaying the screen. redraw -- Force screen to redraw itself. vertical_resolution: INTEGER_32 -- Number of pixels per inch along screen height. ensure -- from EV_SCREEN_I positive: Result > 0 virtual_height: INTEGER_32 -- Virtual height of Current virtual_width: INTEGER_32 -- Virtual width of Current virtual_x: INTEGER_32 -- X position of virtual screen in main display coordinates virtual_y: INTEGER_32 -- Y position of virtual screen in main display coordinates width: INTEGER_32 -- Width of Current. require -- from EV_DRAWABLE_I True ensure -- from EV_DRAWABLE_I positive: Result > 0 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: EV_SCREEN_IMP): 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: EV_SCREEN_IMP): 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: EV_SCREEN_IMP): 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 assertion_violation: BOOLEAN -- Is last exception originally due to a violated -- assertion or non-decreasing variant? -- (from EXCEPTIONS) ensure -- from EXCEPTIONS instance_free: class exception_class_name: detachable STRING_8 -- Name of the class that includes the recipient -- of original form of last exception -- (from EXCEPTIONS) ensure -- from EXCEPTIONS instance_free: class 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 destroyed: BOOLEAN -- Is Current destroyed? developer_exception_name: detachable STRING_8 -- Name of last developer-raised exception -- (from EXCEPTIONS) require -- from EXCEPTIONS applicable: is_developer_exception ensure -- from EXCEPTIONS instance_free: class exception: INTEGER_32 -- Code of last exception that occurred -- (from EXCEPTIONS) ensure -- from EXCEPTIONS instance_free: class exception_trace: detachable STRING_8 -- String representation of the exception trace -- (from EXCEPTIONS) ensure -- from EXCEPTIONS instance_free: class foreground_window: detachable WEL_WINDOW -- Foreground window (window with focus) -- (from WEL_WINDOWS_ROUTINES) is_destroyed: BOOLEAN -- Is Current no longer usable? -- (from EV_ANY_I) is_developer_exception: BOOLEAN -- Is the last exception originally due to -- a developer exception? -- (from EXCEPTIONS) ensure -- from EXCEPTIONS instance_free: class is_developer_exception_of_name (name: detachable STRING_8): BOOLEAN -- Is the last exception originally due to a developer -- exception of name name? -- (from EXCEPTIONS) ensure -- from EXCEPTIONS instance_free: class is_signal: BOOLEAN -- Is last exception originally due to an external -- event (operating system signal)? -- (from EXCEPTIONS) ensure -- from EXCEPTIONS instance_free: class is_system_exception: BOOLEAN -- Is last exception originally due to an -- external event (operating system error)? -- (from EXCEPTIONS) ensure -- from EXCEPTIONS instance_free: class is_terminal_service: BOOLEAN -- If window in terminal service (Remote Desktop)? -- (from WEL_WINDOWS_ROUTINES) require -- from WEL_WINDOWS_ROUTINES after_2000: (create {WEL_WINDOWS_VERSION} end).is_windows_2000_compatible is_window (hwnd: POINTER): BOOLEAN -- Does hwnd point to a valid Window? -- (from WEL_WINDOWS_ROUTINES) key_down (virtual_key: INTEGER_32): BOOLEAN --Is 'virtual' key pressed -- (from WEL_WINDOWS_ROUTINES) key_locked (virtual_key: INTEGER_32): BOOLEAN --Is 'virtual' key locked -- (from WEL_WINDOWS_ROUTINES) key_to_string (key_data: INTEGER_32): STRING_32 -- Give the string associated with the key given by -- virtual_key. -- (from WEL_WINDOWS_ROUTINES) meaning (except: INTEGER_32): detachable STRING_8 -- A message in English describing what except is -- (from EXCEPTIONS) ensure -- from EXCEPTIONS instance_free: class monitor_area_from_position (a_x, a_y: INTEGER_32): EV_RECTANGLE -- Full area of monitor nearest to coordinates (a_x, a_y) require -- from EV_SCREEN_I not_destroyed: not is_destroyed monitor_area_from_window (a_window: EV_WINDOW): EV_RECTANGLE -- Full area of monitor of which most of a_window is located. -- Returns nearest monitor area if a_window does not overlap any monitors. require -- from EV_SCREEN_I not_destroyed: not is_destroyed not_window_destroyed: not a_window.is_destroyed Monitor_defaulttonearest: INTEGER_32 = 2 -- Win32 API Monitor default return constant values. Monitor_defaulttonull: INTEGER_32 = 0 Monitor_defaulttoprimary: INTEGER_32 = 1 original_class_name: detachable STRING_8 -- Name of the class that includes the recipient -- of original form of last exception -- (from EXCEPTIONS) ensure -- from EXCEPTIONS instance_free: class original_exception: INTEGER_32 -- Original code of last exception that triggered -- current exception -- (from EXCEPTIONS) ensure -- from EXCEPTIONS instance_free: class original_recipient_name: detachable STRING_8 -- Name of the routine whose execution was -- interrupted by original form of last exception -- (from EXCEPTIONS) ensure -- from EXCEPTIONS instance_free: class original_tag_name: detachable STRING_8 -- Assertion tag for original form of last -- assertion violation. -- (from EXCEPTIONS) ensure -- from EXCEPTIONS instance_free: class pointer_position: EV_COORDINATE -- Position of the screen pointer. recipient_name: detachable STRING_8 -- Name of the routine whose execution was -- interrupted by last exception -- (from EXCEPTIONS) ensure -- from EXCEPTIONS instance_free: class 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)) system_directory: STRING_32 -- Path of the Windows system directory -- (from WEL_WINDOWS_ROUTINES) ensure -- from WEL_WINDOWS_ROUTINES result_not_void: Result /= Void tag_name: detachable STRING_8 -- Tag of last violated assertion clause -- (from EXCEPTIONS) ensure -- from EXCEPTIONS instance_free: class tick_count: INTEGER_32 -- Number of milliseconds that have -- elapsed since Windows was started. -- (from WEL_WINDOWS_ROUTINES) ensure -- from WEL_WINDOWS_ROUTINES positive_result: Result >= 0 valid_color_constant (c: INTEGER_32): BOOLEAN -- Is c a valid color constant? -- (from WEL_COLOR_CONSTANTS) valid_dib_colors_constant (c: INTEGER_32): BOOLEAN -- Is c a valid dib colors constant? -- (from WEL_DIB_COLORS_CONSTANTS) valid_htext_alignment_constant (c: INTEGER_32): BOOLEAN -- Is c a valid text alignment constant for horizontal positioning? -- (from WEL_TA_CONSTANTS) valid_rop2_constant (c: INTEGER_32): BOOLEAN -- Is c a valid rop2 constant? -- (from WEL_ROP2_CONSTANTS) valid_text_alignment_constant (c: INTEGER_32): BOOLEAN -- Is c a valid text alignment constant? -- (from WEL_TA_CONSTANTS) valid_vtext_alignment_constant (c: INTEGER_32): BOOLEAN -- Is c a valid text alignment constant for vertical positioning? -- (from WEL_TA_CONSTANTS) virtual_bottom: INTEGER_32 -- Bottom position of virtual screen in main display coordinates -- (from EV_SCREEN_I) virtual_left: INTEGER_32 -- Left position of virtual screen in main display coordinates -- (from EV_SCREEN_I) virtual_right: INTEGER_32 -- Right position of virtual screen in main display coordinates -- (from EV_SCREEN_I) virtual_top: INTEGER_32 -- Top position of virtual screen in main display coordinates -- (from EV_SCREEN_I) widget_at_mouse_pointer: detachable EV_WIDGET -- Widget at mouse pointer if any. widget_at_position (x, y: INTEGER_32): detachable EV_WIDGET -- Widget at position (x, y) if any. window_of_item (hwnd: POINTER): detachable WEL_WINDOW -- Retrieve Eiffel object associated with hwnd pointer. -- (from WEL_WINDOWS_ROUTINES) require -- from WEL_WINDOWS_ROUTINES hwnd_not_null: hwnd /= default_pointer is_window_pointer: is_window (hwnd) ensure -- from WEL_WINDOWS_ROUTINES is_wel_window: Result /= Void end implies (create {INTERNAL} end).type_conforms_to ((create {INTERNAL} end).dynamic_type (Result), (create {INTERNAL} end).dynamic_type_from_string ("WEL_WINDOW")) is_proper_wel_window: Result /= Void implies Result.item = hwnd windows_directory: STRING_32 -- Path of the Windows directory -- (from WEL_WINDOWS_ROUTINES) ensure -- from WEL_WINDOWS_ROUTINES result_not_void: Result /= Void working_area_from_position (a_x, a_y: INTEGER_32): EV_RECTANGLE -- Area available for windows of monitor nearest to coordinates (a_x, a_y). -- E.g. it should exclude the taskbar if any. require -- from EV_SCREEN_I not_destroyed: not is_destroyed working_area_from_window (a_window: EV_WINDOW): EV_RECTANGLE -- Area available for windows of monitor of which most of a_window is located. -- Returns nearest working area if a_window does not overlap any monitors. -- E.g. it should exclude the taskbar if any. require -- from EV_SCREEN_I not_destroyed: not is_destroyed not_window_destroyed: not a_window.is_destroyed feature -- Status setting catch (code: INTEGER_32) -- Make sure that any exception of code code will be -- caught. This is the default. -- (from EXCEPTIONS) ensure -- from EXCEPTIONS instance_free: class destroy -- Destroy actual object. require -- from EV_ANY_I True ensure -- from EV_ANY_I is_in_destroy_set: is_in_destroy is_destroyed_set: is_destroyed die (code: INTEGER_32) -- Terminate execution with exit status code, -- without triggering an exception. -- (from EXCEPTIONS) ensure -- from EXCEPTIONS False instance_free: class ignore (code: INTEGER_32) -- Make sure that any exception of code code will be -- ignored. This is not the default. -- (from EXCEPTIONS) ensure -- from EXCEPTIONS instance_free: class message_on_failure -- Print an exception history table -- in case of failure. -- This is the default. -- (from EXCEPTIONS) ensure -- from EXCEPTIONS instance_free: class no_message_on_failure -- Do not print an exception history table -- in case of failure. -- (from EXCEPTIONS) ensure -- from EXCEPTIONS instance_free: class exception_raise (name: detachable READABLE_STRING_GENERAL) -- Raise a developer exception of name name. -- (from EXCEPTIONS) ensure -- from EXCEPTIONS instance_free: class raise_retrieval_exception (name: detachable READABLE_STRING_GENERAL) -- Raise a retrieval exception of name name. -- (from EXCEPTIONS) ensure -- from EXCEPTIONS instance_free: class set_default_font -- Make system to use default font. -- (from EV_FONTABLE_IMP) feature -- Element change disable_dashed_line_style -- Draw lines solid. -- (from EV_DRAWABLE_IMP) require -- from EV_DRAWABLE_I True ensure -- from EV_DRAWABLE_I dashed_line_style_disabled: is_usable implies not attached_interface.dashed_line_style enable_dashed_line_style -- Draw lines dashed. -- (from EV_DRAWABLE_IMP) require -- from EV_DRAWABLE_I True ensure -- from EV_DRAWABLE_I dashed_line_style_enabled: is_usable implies attached_interface.dashed_line_style remove_clipping -- Do not apply any clipping. -- (from EV_DRAWABLE_IMP) require -- from EV_DRAWABLE_I True ensure -- from EV_DRAWABLE_I clip_area_void: is_usable implies attached_interface.clip_area = Void remove_tile -- Do not apply a tile when filling. -- (from EV_DRAWABLE_IMP) require -- from EV_DRAWABLE_I True ensure -- from EV_DRAWABLE_I tile_void: is_usable implies attached_interface.tile = Void set_background_color (a_color: EV_COLOR) -- Assign a_color to `background_color`. -- (from EV_DRAWABLE_IMP) require -- from EV_COLORIZABLE_I a_color_not_void: a_color /= Void ensure -- from EV_COLORIZABLE_I background_color_assigned: is_initialized implies background_color.is_equal (a_color) set_clip_area (an_area: EV_RECTANGLE) -- Set an area to clip to. -- Set to Void when no clipping should be applied. -- (from EV_DRAWABLE_IMP) require -- from EV_DRAWABLE_I an_area_not_void: an_area /= Void ensure -- from EV_DRAWABLE_I clip_area_assigned: is_usable implies attached attached_interface.clip_area as l_clip_area and then an_area.is_equal (l_clip_area) set_clip_region (a_region: EV_REGION) -- Set an area to clip to. -- Set to Void when no clipping should be applied. -- (from EV_DRAWABLE_IMP) require -- from EV_DRAWABLE_I a_region_not_void: a_region /= Void set_drawing_mode (a_mode: INTEGER_32) -- Set drawing mode to a_mode. -- (from EV_DRAWABLE_IMP) require -- from EV_DRAWABLE_I a_mode_valid: valid_drawing_mode (a_mode) ensure -- from EV_DRAWABLE_I drawing_mode_assigned: is_usable implies attached_interface.drawing_mode = a_mode set_font (a_font: EV_FONT) -- Set `font` to a_font. -- (from EV_DRAWABLE_IMP) require -- from EV_FONTABLE_I a_font_not_void: a_font /= Void ensure -- from EV_FONTABLE_I assigned: is_usable implies font.is_equal (a_font) set_foreground_color (a_color: EV_COLOR) -- Assign a_color to `foreground_color` -- (from EV_DRAWABLE_IMP) require -- from EV_COLORIZABLE_I a_color_not_void: a_color /= Void ensure -- from EV_COLORIZABLE_I foreground_color_assigned: is_initialized implies foreground_color.is_equal (a_color) set_line_width (a_width: INTEGER_32) -- Assign a_width to `line_width`. -- (from EV_DRAWABLE_IMP) require -- from EV_DRAWABLE_I a_width_positive_or_zero: a_width >= 0 ensure -- from EV_DRAWABLE_I line_width_assigned: is_usable implies attached_interface.line_width = a_width set_tile (a_pixmap: EV_PIXMAP) -- Set tile used to fill figures. -- Set to Void to use `background_color` to fill. -- (from EV_DRAWABLE_IMP) require -- from EV_DRAWABLE_I a_pixmap_not_void: a_pixmap /= Void ensure -- from EV_DRAWABLE_I tile_assigned: is_usable implies attached_interface.tile /= Void feature -- Duplication copy (other: EV_SCREEN_IMP) -- 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: EV_SCREEN_IMP) -- 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: EV_SCREEN_IMP -- 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: EV_SCREEN_IMP) -- 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: EV_SCREEN_IMP -- 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: EV_SCREEN_IMP -- 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 cwin_hi_word (value: POINTER): INTEGER_32 -- SDK HIWORD -- (from WEL_WORD_OPERATIONS) cwin_lo_word (value: POINTER): INTEGER_32 -- SDK LOWORD -- (from WEL_WORD_OPERATIONS) cwin_make_long (low, high: INTEGER_32): POINTER -- SDK MAKELONG -- (from WEL_WORD_OPERATIONS) cwin_make_lparam (low, high: INTEGER_32): POINTER -- SKD MAKELPARAM -- (from WEL_WORD_OPERATIONS) frozen default: detachable EV_SCREEN_IMP -- 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 eif_current_object_id: INTEGER_32 -- New identifier for Current -- (from IDENTIFIED_ROUTINES) ensure -- from IDENTIFIED_ROUTINES eif_current_object_id: Result > 0 inserted: eif_is_object_id_of_current (Result) eif_id_any_object (an_id: INTEGER_32): detachable ANY -- Object associated with an_id -- (from IDENTIFIED_ROUTINES) require -- from IDENTIFIED_ROUTINES an_id_non_negative: an_id >= 0 ensure -- from IDENTIFIED_ROUTINES instance_free: class eif_is_object_id_of_current (an_id: INTEGER_32): BOOLEAN -- Is an_id the associated object ID of Current. -- (from IDENTIFIED_ROUTINES) require -- from IDENTIFIED_ROUTINES an_id_non_negative: an_id >= 0 eif_object_id (an_object: ANY): INTEGER_32 -- New identifier for an_object -- (from IDENTIFIED_ROUTINES) ensure -- from IDENTIFIED_ROUTINES instance_free: class eif_object_id_positive: Result > 0 inserted: eif_id_any_object (Result) = an_object eif_object_id_free (an_id: INTEGER_32) -- Free the entry an_id -- (from IDENTIFIED_ROUTINES) require -- from IDENTIFIED_ROUTINES an_id_non_negative: an_id >= 0 ensure -- from IDENTIFIED_ROUTINES instance_free: class removed: eif_id_any_object (an_id) = Void hide_cursor -- Hide the cursor. -- (from WEL_WINDOWS_ROUTINES) message_beep_asterisk -- Play the system asterisk waveform sound. -- (from WEL_WINDOWS_ROUTINES) message_beep_exclamation -- Play the system exclamation waveform sound. -- (from WEL_WINDOWS_ROUTINES) message_beep_hand -- Play the system hand waveform sound. -- (from WEL_WINDOWS_ROUTINES) message_beep_ok -- Play the system ok waveform sound. -- (from WEL_WINDOWS_ROUTINES) message_beep_question -- Play the system question waveform sound. -- (from WEL_WINDOWS_ROUTINES) output_debug_string (s: READABLE_STRING_GENERAL) -- Send a string s to the system debugger. -- (from WEL_WINDOWS_ROUTINES) require -- from WEL_WINDOWS_ROUTINES s_not_void: s /= Void resource_string_id (an_id: INTEGER_32): STRING_32 -- String identified by an_id in the resource file. -- (from WEL_WINDOWS_ROUTINES) ensure -- from WEL_WINDOWS_ROUTINES result_not_void: Result /= Void set_cursor_position_absolute (x, y: INTEGER_32) -- Set the cursor position to x, y. -- (from WEL_WINDOWS_ROUTINES) show_cursor -- Show the cursor. -- (from WEL_WINDOWS_ROUTINES) feature -- Implementation interface: detachable EV_SCREEN note option: stable require -- from EV_ANY_I True refresh_graphics_context -- Refresh the graphics context in case it is no longer valid. feature Allocated_brushes: EV_GDI_ALLOCATED_BRUSHES -- (from EV_SHARED_GDI_OBJECTS) Allocated_pens: EV_GDI_ALLOCATED_PENS -- (from EV_SHARED_GDI_OBJECTS) feature -- Access (Basic style constants) Ps_dash: INTEGER_32 = 1 -- (from WEL_PS_CONSTANTS) Ps_dashdot: INTEGER_32 = 3 -- (from WEL_PS_CONSTANTS) Ps_dashdotdot: INTEGER_32 = 4 -- (from WEL_PS_CONSTANTS) Ps_dot: INTEGER_32 = 2 -- (from WEL_PS_CONSTANTS) Ps_insideframe: INTEGER_32 = 6 -- Mutually exclusive pen style constants. -- (from WEL_PS_CONSTANTS) Ps_null: INTEGER_32 = 5 -- (from WEL_PS_CONSTANTS) Ps_solid: INTEGER_32 = 0 -- (from WEL_PS_CONSTANTS) feature -- Access (Extended Style constants for use in conjunction with {WEL_PEN}.make_from_brush) Ps_alternate: INTEGER_32 = 8 -- Mutually exclusive pen style constants. -- (from WEL_PS_CONSTANTS) Ps_cosmetic: INTEGER_32 = 0 -- (from WEL_PS_CONSTANTS) Ps_endcap_flat: INTEGER_32 = 512 -- Ps_geometric style constants. -- (from WEL_PS_CONSTANTS) Ps_endcap_round: INTEGER_32 = 0 -- (from WEL_PS_CONSTANTS) Ps_endcap_square: INTEGER_32 = 256 -- (from WEL_PS_CONSTANTS) Ps_geometric: INTEGER_32 = 65536 -- Brush type style constants -- (from WEL_PS_CONSTANTS) Ps_join_bevel: INTEGER_32 = 4096 -- (from WEL_PS_CONSTANTS) Ps_join_miter: INTEGER_32 = 8192 -- (from WEL_PS_CONSTANTS) Ps_join_round: INTEGER_32 = 0 -- (from WEL_PS_CONSTANTS) Ps_userstyle: INTEGER_32 = 7 -- (from WEL_PS_CONSTANTS) feature -- Basic Operations himetric_to_pixel (a_size_in_himetric: WEL_SIZE): WEL_SIZE -- Convert himetric into pixels. -- (from WEL_UNIT_CONVERSION) require -- from WEL_UNIT_CONVERSION non_void_size: a_size_in_himetric /= Void a_size_in_himetric_exists: a_size_in_himetric.exists ensure -- from WEL_UNIT_CONVERSION non_void_result: Result /= Void logical_to_pixel (hdc: WEL_DC; lo: INTEGER_32): INTEGER_32 -- Convert lo expressed in logical unit into pixel unit. -- (from WEL_UNIT_CONVERSION) require -- from WEL_UNIT_CONVERSION hdc_not_void: hdc /= Void hdc_exists: hdc.exists logical_to_point (hdc: WEL_DC; lo: INTEGER_32): INTEGER_32 -- Convert a size lo expressed in logical unit into point. -- (from WEL_UNIT_CONVERSION) require -- from WEL_UNIT_CONVERSION hdc_not_void: hdc /= Void hdc_exists: hdc.exists map_loghim_to_pixel (x, ppli: INTEGER_32): INTEGER_32 -- Defined as MAP_LOGHIM_TO_PIX in AtlWin.h -- (from WEL_UNIT_CONVERSION) map_pixel_to_loghim (x, ppli: INTEGER_32): INTEGER_32 -- Defined as MAP_PIX_TO_LOGHIM in AtlWin.h -- (from WEL_UNIT_CONVERSION) pixel_to_himetric (a_size_in_pixel: WEL_SIZE): WEL_SIZE -- Convert pixels into himetric. -- (from WEL_UNIT_CONVERSION) require -- from WEL_UNIT_CONVERSION non_void_size: a_size_in_pixel /= Void a_size_in_pixel_exists: a_size_in_pixel.exists ensure -- from WEL_UNIT_CONVERSION non_void_result: Result /= Void pixel_to_logical (hdc: WEL_DC; pi: INTEGER_32): INTEGER_32 -- Convert `pi` expressed in pixel unit into logical unit. -- (from WEL_UNIT_CONVERSION) require -- from WEL_UNIT_CONVERSION hdc_not_void: hdc /= Void hdc_exists: hdc.exists pixel_to_point (hdc: WEL_DC; pi: INTEGER_32): INTEGER_32 -- Convert a size `pi` expressed in pixel into point. -- (from WEL_UNIT_CONVERSION) require -- from WEL_UNIT_CONVERSION hdc_not_void: hdc /= Void hdc_exists: hdc.exists point_to_logical (hdc: WEL_DC; pt, divisor: INTEGER_32): INTEGER_32 -- Convert a size pt/divisor expressed in point into logical units. -- (from WEL_UNIT_CONVERSION) require -- from WEL_UNIT_CONVERSION hdc_not_void: hdc /= Void hdc_exists: hdc.exists point_to_pixel (hdc: WEL_DC; pt, divisor: INTEGER_32): INTEGER_32 -- Convert a size pt/divisor expressed in point into pixel. -- (from WEL_UNIT_CONVERSION) require -- from WEL_UNIT_CONVERSION hdc_not_void: hdc /= Void hdc_exists: hdc.exists feature -- Basic operation fake_key_press (a_key: EV_KEY) -- Simulate the user pressing a_key. fake_key_release (a_key: EV_KEY) -- Simulate the user releasing a_key. fake_pointer_button_press (a_button: INTEGER_32) -- Simulate the user pressing a a_button -- on the pointing device. fake_pointer_button_release (a_button: INTEGER_32) -- Simulate the user releasing a a_button -- on the pointing device. fake_pointer_wheel_down -- Simulate the user rotating the mouse wheel down. fake_pointer_wheel_up -- Simulate the user rotating the mouse wheel up. set_default_colors -- Set foreground and background color to their default values. set_pointer_position (x, y: INTEGER_32) -- Set `pointer_position` to (a_x,a_y). feature -- Clearing and drawing operations clear -- Erase Current with `background_color`. -- (from EV_DRAWABLE_IMP) require -- from EV_DRAWABLE_I True clear_rectangle (x1, y1, a_width, a_height: INTEGER_32) -- Draw rectangle with upper-left corner on (x, y) -- with size a_width and a_height in `background_color`. -- (from EV_DRAWABLE_IMP) require -- from EV_DRAWABLE_I True feature -- Constants Drawing_mode_and: INTEGER_32 = 3 -- Drawing mode where bitwise AND is performed when a -- pixel is drawn. -- -- T\S | 0 | 1 | -- ------------- --   0 | 0 | 0 | -- ------------- --   1 | 0 | 1 | -- (from EV_DRAWABLE_CONSTANTS) Drawing_mode_copy: INTEGER_32 = 0 -- Normal drawing mode. -- -- T\S | 0 | 1 | -- ------------- --   0 | 0 | 1 | -- ------------- --   1 | 0 | 1 | -- (from EV_DRAWABLE_CONSTANTS) Drawing_mode_invert: INTEGER_32 = 2 -- Drawing mode where bits are inverted before drawn. -- -- T\S | 0 | 1 | -- ------------- --   0 | 1 | 0 | -- ------------- --   1 | 1 | 0 | -- (from EV_DRAWABLE_CONSTANTS) Drawing_mode_or: INTEGER_32 = 4 -- Drawing mode where bitwise OR is performed when a -- pixel is drawn. -- -- T\S | 0 | 1 | -- ------------- --   0 | 0 | 1 | -- ------------- --   1 | 1 | 1 | -- (from EV_DRAWABLE_CONSTANTS) Drawing_mode_xor: INTEGER_32 = 1 -- Drawing mode where bitwise XOR is performed when a -- pixel is drawn. -- -- T\S | 0 | 1 | -- ------------- --   0 | 0 | 1 | -- ------------- --   1 | 1 | 0 | -- (from EV_DRAWABLE_CONSTANTS) feature -- Contract Support valid_extended_pen_style (c: INTEGER_32): BOOLEAN -- Is c a valid style constant when used in conjunction with a WEL_LOG_BRUSH. -- (from WEL_PS_CONSTANTS) valid_pen_style_constant (c: INTEGER_32): BOOLEAN -- Is c a valid pen style constant? -- Only valid for non-extended pen creation. -- (from WEL_PS_CONSTANTS) feature -- Contract support valid_drawing_mode (a_mode: INTEGER_32): BOOLEAN -- Is a_mode a valid drawing mode? -- (from EV_DRAWABLE_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 -- Drawing mode is_anti_aliasing_enabled: BOOLEAN -- Should anti-aliasing be used when drawing? -- See also: `set_anti_aliasing`. -- (from EV_DRAWABLE_IMP) set_anti_aliasing (value: BOOLEAN) -- Enable (if value) or disable (if not value) anti-aliasing (if supported) when drawing. -- Set `is_anti_aliasing_enabled` to value. -- (from EV_DRAWABLE_IMP) require -- from EV_DRAWABLE_I True ensure then -- from EV_DRAWABLE_IMP is_anti_aliasing_enabled = value feature -- Drawing operations Bounding_area: EV_RECTANGLE -- Temporary rectangle used internally. -- (from EV_DRAWABLE_IMP) draw_arc (x, y: INTEGER_32; a_bounding_width, a_bounding_height: INTEGER_32; a_start_angle, an_aperture: REAL_32) -- Draw part of an ellipse defined by a rectangular area with an -- upper left corner at x,y, width a_bounding_width and height -- a_bounding_height. -- Start at a_start_angle and stop at a_start_angle + an_aperture. -- Angles are measured in radians, and go -- counterclockwise from the 3 o'clock angle. -- (from EV_DRAWABLE_IMP) require -- from EV_DRAWABLE_I a_bounding_width_positive_or_zero: a_bounding_width >= 0 a_bounding_width_positive_or_zero: a_bounding_height >= 0 draw_ellipse (x, y, a_bounding_width, a_bounding_height: INTEGER_32) -- Draw an ellipse defined by a rectangular area with an -- upper left corner at x,y, width a_bounding_width and height -- a_bounding_height. -- (from EV_DRAWABLE_IMP) require -- from EV_DRAWABLE_I a_bounding_width_positive_or_zero: a_bounding_width >= 0 a_bounding_height_positive_or_zero: a_bounding_height >= 0 draw_ellipsed_text (x, y: INTEGER_32; a_text: READABLE_STRING_GENERAL; clipping_width: INTEGER_32) -- Draw a_text with left of baseline at (x, y) using `font`. -- Text is clipped to clipping_width in pixels and ellipses are displayed -- to show truncated characters if any. -- (from EV_DRAWABLE_IMP) require -- from EV_DRAWABLE_I a_text_not_void: a_text /= Void clipping_width_positive: clipping_width >= 0 draw_ellipsed_text_top_left (x, y: INTEGER_32; a_text: READABLE_STRING_GENERAL; clipping_width: INTEGER_32) -- Draw a_text with top left corner at (x, y) using `font`. -- Text is clipped to clipping_width in pixels and ellipses are displayed -- to show truncated characters if any. -- (from EV_DRAWABLE_IMP) require -- from EV_DRAWABLE_I a_text_not_void: a_text /= Void clipping_width_positive: clipping_width >= 0 draw_pie_slice (x, y: INTEGER_32; a_bounding_width, a_bounding_height: INTEGER_32; a_start_angle, an_aperture: REAL_32) -- Draw part of an ellipse defined by a rectangular area with an -- upper left corner at x,y, width a_bounding_width and height -- a_bounding_height. -- Start at a_start_angle and stop at a_start_angle + an_aperture. -- The arc is then closed by two segments through (x, 'y'). -- Angles are measured in radians, start at the -- 3 o'clock angle and grow counterclockwise. -- (from EV_DRAWABLE_IMP) require -- from EV_DRAWABLE_I a_bounding_width_positive_or_zero: a_bounding_width >= 0 a_bounding_height_positive_or_zero: a_bounding_height >= 0 draw_pixmap (x, y: INTEGER_32; a_pixmap: EV_PIXMAP) -- Draw a_pixmap with upper-left corner on (x, y). -- (from EV_DRAWABLE_IMP) require -- from EV_DRAWABLE_I a_pixmap_not_void: a_pixmap /= Void draw_point (x, y: INTEGER_32) -- Draw point at (x, y). -- (from EV_DRAWABLE_IMP) require -- from EV_DRAWABLE_I True draw_polyline (points: ARRAY [EV_COORDINATE]; is_closed: BOOLEAN) -- Draw line segments between subsequent points in -- points. If is_closed draw line segment between first -- and last point in points. -- (from EV_DRAWABLE_IMP) require -- from EV_DRAWABLE_I points_not_void: points /= Void draw_rectangle (x, y, a_width, a_height: INTEGER_32) -- Draw rectangle with upper-left corner on (x, y) -- with size a_width and a_height. -- (from EV_DRAWABLE_IMP) require -- from EV_DRAWABLE_I a_width_positive_or_zero: a_width >= 0 a_height_positive_or_zero: a_height >= 0 draw_rotated_text (x, y: INTEGER_32; a_angle: REAL_32; a_text: READABLE_STRING_GENERAL) -- Draw rotated text a_text with left of baseline at (x, y) using `font`. -- Rotation is number of radians counter-clockwise from horizontal plane. -- (from EV_DRAWABLE_IMP) require -- from EV_DRAWABLE_I a_text_not_void: a_text /= Void draw_segment (x1, y1, x2, y2: INTEGER_32) -- Draw line segment from (x1, 'y1') to (x2, 'y2'). -- (from EV_DRAWABLE_IMP) require -- from EV_DRAWABLE_I True draw_straight_line (x1, y1, x2, y2: INTEGER_32) -- Draw infinite straight line through (x1,'y1') and (x2,'y2'). -- (from EV_DRAWABLE_I) draw_sub_pixel_buffer (x, y: INTEGER_32; a_pixel_buffer: EV_PIXEL_BUFFER; area: EV_RECTANGLE) -- Draw area of a_pixel_buffer with upper-left corner on (x, y). -- (from EV_DRAWABLE_IMP) require -- from EV_DRAWABLE_I a_pixel_buffer_not_void: a_pixel_buffer /= Void a_pixel_buffer_not_destroyed: not a_pixel_buffer.is_destroyed area_not_void: area /= Void draw_sub_pixmap (x, y: INTEGER_32; a_pixmap: EV_PIXMAP; area: EV_RECTANGLE) -- Draw area of a_pixmap with upper-left corner on (x, y). -- (from EV_DRAWABLE_IMP) require -- from EV_DRAWABLE_I a_pixmap_not_void: a_pixmap /= Void a_pixmap_not_destroyed: not a_pixmap.is_destroyed area_not_void: area /= Void draw_text (x, y: INTEGER_32; a_text: READABLE_STRING_GENERAL) -- Draw a_text with left of baseline at (x, y) using `font`. -- (from EV_DRAWABLE_IMP) require -- from EV_DRAWABLE_I a_text_not_void: a_text /= Void draw_text_top_left (x, y: INTEGER_32; a_text: READABLE_STRING_GENERAL) -- Draw a_text with top left corner at (x, y) using `font`. -- (from EV_DRAWABLE_IMP) require -- from EV_DRAWABLE_I a_text_not_void: a_text /= Void internal_draw_text (x, y: INTEGER_32; angle: REAL_32; clipping_width: INTEGER_32; from_baseline: BOOLEAN; a_text: READABLE_STRING_GENERAL) -- Draw a_text with top left corner at (x, y) using `font`. -- Text is clipped to clipping_width in pixels and ellipses are displayed -- to show truncated characters if any. -- Text is rotated counter-clockwise from the horizontal axis degrees degrees. -- (from EV_DRAWABLE_IMP) feature -- Filling operations fill_ellipse (x, y, a_bounding_width, a_bounding_height: INTEGER_32) -- Fill an ellipse defined by a rectangular area with an -- upper left corner at x,y, width a_bounding_width and height -- a_bounding_height. -- (from EV_DRAWABLE_IMP) require -- from EV_DRAWABLE_I a_bounding_width_positive_or_zero: a_bounding_width >= 0 a_bounding_height_positive_or_zero: a_bounding_height >= 0 fill_pie_slice (x, y: INTEGER_32; a_bounding_width, a_bounding_height: INTEGER_32; a_start_angle, an_aperture: REAL_32) -- Fill part of an ellipse defined by a rectangular area with an -- upper left corner at x,y, width a_bounding_width and height -- a_bounding_height. -- Start at a_start_angle and stop at a_start_angle + an_aperture. -- The arc is then closed by two segments through (x, 'y'). -- Angles are measured in radians, start at the 3 -- o'clock angle and grow counterclockwise. -- (from EV_DRAWABLE_IMP) require -- from EV_DRAWABLE_I a_bounding_width_positive_or_zero: a_bounding_width >= 0 a_bounding_height_positive_or_zero: a_bounding_height >= 0 fill_polygon (points: ARRAY [EV_COORDINATE]) -- Draw line segments between subsequent points in points. -- Fill all enclosed area's with `foreground_color`. -- (from EV_DRAWABLE_IMP) require -- from EV_DRAWABLE_I points_not_void: points /= Void fill_rectangle (x, y, a_width, a_height: INTEGER_32) -- Draw rectangle with upper-left corner on (x, y) -- with size a_width and a_height. Fill with `foreground_color`. -- (from EV_DRAWABLE_IMP) require -- from EV_DRAWABLE_I a_width_positive_or_zero: a_width >= 0 a_height_positive_or_zero: a_height >= 0 feature -- For dialogs frozen dwlp_dlgproc: INTEGER_32 -- (from WEL_GWL_CONSTANTS) frozen dwlp_msgresult: INTEGER_32 -- (from WEL_GWL_CONSTANTS) frozen dwlp_user: INTEGER_32 -- (from WEL_GWL_CONSTANTS) feature -- For windows Gwl_hinstance: INTEGER_32 = -6 -- Was declared in {WEL_GWL_CONSTANTS} as synonym of `gwlp_hinstance`. -- (from WEL_GWL_CONSTANTS) Gwl_hwndparent: INTEGER_32 = -8 -- Was declared in {WEL_GWL_CONSTANTS} as synonym of `gwlp_hwndparent`. -- (from WEL_GWL_CONSTANTS) Gwl_id: INTEGER_32 = -12 -- Was declared in {WEL_GWL_CONSTANTS} as synonym of `gwlp_id`. -- (from WEL_GWL_CONSTANTS) Gwl_userdata: INTEGER_32 = -21 -- Was declared in {WEL_GWL_CONSTANTS} as synonym of `gwlp_userdata`. -- (from WEL_GWL_CONSTANTS) Gwl_wndproc: INTEGER_32 = -4 -- Was declared in {WEL_GWL_CONSTANTS} as synonym of `gwlp_wndproc`. -- (from WEL_GWL_CONSTANTS) Gwlp_hinstance: INTEGER_32 = -6 -- Was declared in {WEL_GWL_CONSTANTS} as synonym of `gwl_hinstance`. -- (from WEL_GWL_CONSTANTS) Gwlp_hwndparent: INTEGER_32 = -8 -- Was declared in {WEL_GWL_CONSTANTS} as synonym of `gwl_hwndparent`. -- (from WEL_GWL_CONSTANTS) Gwlp_id: INTEGER_32 = -12 -- Was declared in {WEL_GWL_CONSTANTS} as synonym of `gwl_id`. -- (from WEL_GWL_CONSTANTS) Gwlp_userdata: INTEGER_32 = -21 -- Was declared in {WEL_GWL_CONSTANTS} as synonym of `gwl_userdata`. -- (from WEL_GWL_CONSTANTS) Gwlp_wndproc: INTEGER_32 = -4 -- Was declared in {WEL_GWL_CONSTANTS} as synonym of `gwl_wndproc`. -- (from WEL_GWL_CONSTANTS) feature -- Keyboard event input constants Keyeventf_extendedkey: INTEGER_32 = 1 -- Declared in Windows as KEYEVENTF_EXTENDEDKEY -- (from WEL_INPUT_CONSTANTS) Keyeventf_keyup: INTEGER_32 = 2 -- Declared in Windows as KEYEVENTF_KEYUP -- (from WEL_INPUT_CONSTANTS) feature -- Keyboard events send_keyboard_key_down (virtual_key_code: INTEGER_32) -- The keybd_event function synthesizes a keystroke. The system -- can use such a synthesized keystroke to generate a -- WM_KEYDOWN message. -- -- An application can simulate a press of the PRINTSCRN key in -- order to obtain a screen snapshot and save it to the -- clipboard. -- To do this, call send_keyboard_key_down(Vk_snapshot). -- -- Windows NT: The `send_keyboard_key_down` can toggle the -- NUM LOCK, CAPS LOCK, and SCROLL LOCK keys. -- -- Windows 95: The `send_keyboard_key_down` function can toggle -- only the CAPS LOCK and SCROLL LOCK keys. It cannot toggle -- the NUM LOCK key. -- (from WEL_INPUT_EVENT) send_keyboard_key_up (virtual_key_code: INTEGER_32) -- The keybd_event function synthesizes a keystroke. The system -- can use such a synthesized keystroke to generate a -- WM_KEYUP message. -- -- Windows NT: The `send_keyboard_key_down` can toggle the -- NUM LOCK, CAPS LOCK, and SCROLL LOCK keys. -- -- Windows 95: The `send_keyboard_key_down` function can toggle -- only the CAPS LOCK and SCROLL LOCK keys. It cannot toggle -- the NUM LOCK key. -- (from WEL_INPUT_EVENT) feature -- Mouse Activate constants (MA_xxx). Ma_activate: INTEGER_32 = 1 -- Declared in Windows as MA_ACTIVATE -- (from WEL_INPUT_CONSTANTS) Ma_activateandeat: INTEGER_32 = 2 -- Declared in Windows as MA_ACTIVATEANDEAT -- (from WEL_INPUT_CONSTANTS) Ma_noactivate: INTEGER_32 = 3 -- Declared in Windows as MA_NOACTIVATE -- (from WEL_INPUT_CONSTANTS) Ma_noactivateandeat: INTEGER_32 = 4 -- Declared in Windows as MA_NOACTIVATEANDEAT -- (from WEL_INPUT_CONSTANTS) feature -- Mouse and Key constants (MK_xxxx) Mk_control: INTEGER_32 = 8 -- Declared in Windows as MK_CONTROL -- (from WEL_INPUT_CONSTANTS) Mk_lbutton: INTEGER_32 = 1 -- Declared in Windows as MK_LBUTTON -- (from WEL_INPUT_CONSTANTS) Mk_mbutton: INTEGER_32 = 16 -- Declared in Windows as MK_MBUTTON -- (from WEL_INPUT_CONSTANTS) Mk_rbutton: INTEGER_32 = 2 -- Declared in Windows as MK_RBUTTON -- (from WEL_INPUT_CONSTANTS) Mk_shift: INTEGER_32 = 4 -- Declared in Windows as MK_SHIFT -- (from WEL_INPUT_CONSTANTS) feature -- Mouse event input constants Mouseeventf_absolute: INTEGER_32 = 32768 -- Declared in Windows as MOUSEEVENTF_ABSOLUTE -- (from WEL_INPUT_CONSTANTS) Mouseeventf_leftdown: INTEGER_32 = 2 -- Declared in Windows as MOUSEEVENTF_LEFTDOWN -- (from WEL_INPUT_CONSTANTS) Mouseeventf_leftup: INTEGER_32 = 4 -- Declared in Windows as MOUSEEVENTF_LEFTUP -- (from WEL_INPUT_CONSTANTS) Mouseeventf_middledown: INTEGER_32 = 32 -- Declared in Windows as MOUSEEVENTF_MIDDLEDOWN -- (from WEL_INPUT_CONSTANTS) Mouseeventf_middleup: INTEGER_32 = 64 -- Declared in Windows as MOUSEEVENTF_MIDDLEUP -- (from WEL_INPUT_CONSTANTS) Mouseeventf_move: INTEGER_32 = 1 -- Declared in Windows as MOUSEEVENTF_MOVE -- (from WEL_INPUT_CONSTANTS) Mouseeventf_rightdown: INTEGER_32 = 8 -- Declared in Windows as MOUSEEVENTF_RIGHTDOWN -- (from WEL_INPUT_CONSTANTS) Mouseeventf_rightup: INTEGER_32 = 16 -- Declared in Windows as MOUSEEVENTF_RIGHTUP -- (from WEL_INPUT_CONSTANTS) Mouseeventf_wheel: INTEGER_32 = 2048 -- Declared in Windows as MOUSEEVENTF_WHEEL -- (from WEL_INPUT_CONSTANTS) feature -- Mouse events send_mouse_absolute_move (a_x, a_y: INTEGER_32) -- Synthesize a fake mouse move to absolute -- screen position a_x, a_y. -- -- a_x and a_y contain normalized absolute coordinates -- between 0 and 65,535. The event procedure maps these -- coordinates onto the display surface. Coordinate (0,0) -- maps onto the upper-left corner of the display surface, -- (65535,65535) maps onto the lower-right corner. -- -- To determine the size of the screen use -- {WEL_SYSTEM_METRICS}.screen_width and -- {WEL_SYSTEM_METRICS}.screen_height. -- (from WEL_INPUT_EVENT) send_mouse_left_button_down -- Synthesize a fake press on the left button of the -- mouse. -- (from WEL_INPUT_EVENT) send_mouse_left_button_up -- Synthesize a fake press on the left button of the -- mouse. -- (from WEL_INPUT_EVENT) send_mouse_middle_button_down -- Synthesize a fake press on the middle button of the -- mouse. -- (from WEL_INPUT_EVENT) send_mouse_middle_button_up -- Synthesize a fake press on the middle button of the -- mouse. -- (from WEL_INPUT_EVENT) send_mouse_relative_move (a_x, a_y: INTEGER_32) -- Synthesize a fake mouse move. -- a_x and a_y are the number of mickeys moved. -- -- A mickey is the amount that a mouse has to move -- for it to report that it has moved. -- (from WEL_INPUT_EVENT) send_mouse_right_button_down -- Synthesize a fake press on the right button of the -- mouse. -- (from WEL_INPUT_EVENT) send_mouse_right_button_up -- Synthesize a fake press on the right button of the -- mouse. -- (from WEL_INPUT_EVENT) send_mouse_wheel_down -- Synthesize a fake mouse wheel rotation backward. -- (from WEL_INPUT_EVENT) send_mouse_wheel_up -- Synthesize a fake mouse wheel rotation forward. -- (from WEL_INPUT_EVENT) feature -- Mouse wheel constants Wheel_delta: INTEGER_32 = 120 -- One wheel click is defined as WHEEL_DELTA, which is 120 -- (from WEL_INPUT_CONSTANTS) 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 feature -- Session drawing_session_depth: INTEGER_32 -- (from EV_DRAWABLE_I) end_drawing_session -- End a drawing session. -- Used for optimization, to group sequence of drawings. -- note: as a drawing session can be inside another drawing session -- `end_drawing_session` has to be called as many time as `start_drawing_session` was called. -- (from EV_DRAWABLE_I) require -- from EV_DRAWABLE_I drawing_session_depth > 0 is_in_drawing_session: BOOLEAN -- Is inside a start/end drawing session? -- (from EV_DRAWABLE_I) is_in_top_drawing_session: BOOLEAN -- Is in the top start/end drawing session? -- i.e: not inside another similar drawing session. -- (from EV_DRAWABLE_I) start_drawing_session -- Start a drawing session. -- Used for optimization, to group sequence of drawings. -- note: as a drawing session can be inside another drawing session -- `end_drawing_session` has to be called as many time as `start_drawing_session` was called. -- (from EV_DRAWABLE_I) ensure -- from EV_DRAWABLE_I drawing_session_depth > 0 feature -- Vertical text alignement vta_baseline: INTEGER_32 -- The reference point is on the base line of the text. -- (from WEL_TA_CONSTANTS) vta_center: INTEGER_32 -- The reference point is aligned vertically with the center of the bounding rectangle. -- (from WEL_TA_CONSTANTS) feature -- Virtual Key constants (VK_xxxx) Vk_0: INTEGER_32 = 48 -- (from WEL_INPUT_CONSTANTS) Vk_1: INTEGER_32 = 49 -- (from WEL_INPUT_CONSTANTS) Vk_2: INTEGER_32 = 50 -- (from WEL_INPUT_CONSTANTS) Vk_3: INTEGER_32 = 51 -- (from WEL_INPUT_CONSTANTS) Vk_4: INTEGER_32 = 52 -- (from WEL_INPUT_CONSTANTS) Vk_5: INTEGER_32 = 53 -- (from WEL_INPUT_CONSTANTS) Vk_6: INTEGER_32 = 54 -- (from WEL_INPUT_CONSTANTS) Vk_7: INTEGER_32 = 55 -- (from WEL_INPUT_CONSTANTS) Vk_8: INTEGER_32 = 56 -- (from WEL_INPUT_CONSTANTS) Vk_9: INTEGER_32 = 57 -- Vk_a thru Vk_z are the same as their ASCII equivalents: 'A' thru 'Z'. -- (from WEL_INPUT_CONSTANTS) Vk_a: INTEGER_32 = 65 -- (from WEL_INPUT_CONSTANTS) Vk_add: INTEGER_32 = 107 -- Declared in Windows as VK_ADD -- (from WEL_INPUT_CONSTANTS) Vk_b: INTEGER_32 = 66 -- (from WEL_INPUT_CONSTANTS) Vk_back: INTEGER_32 = 8 -- Declared in Windows as VK_BACK -- (from WEL_INPUT_CONSTANTS) Vk_c: INTEGER_32 = 67 -- (from WEL_INPUT_CONSTANTS) Vk_cancel: INTEGER_32 = 3 -- Declared in Windows as VK_CANCEL -- (from WEL_INPUT_CONSTANTS) Vk_capital: INTEGER_32 = 20 -- Declared in Windows as VK_CAPITAL -- (from WEL_INPUT_CONSTANTS) Vk_clear: INTEGER_32 = 12 -- Declared in Windows as VK_CLEAR -- (from WEL_INPUT_CONSTANTS) Vk_control: INTEGER_32 = 17 -- Declared in Windows as VK_CONTROL -- (from WEL_INPUT_CONSTANTS) Vk_d: INTEGER_32 = 68 -- (from WEL_INPUT_CONSTANTS) Vk_decimal: INTEGER_32 = 110 -- Declared in Windows as VK_DECIMAL -- (from WEL_INPUT_CONSTANTS) Vk_delete: INTEGER_32 = 46 -- Declared in Windows as VK_DELETE -- (from WEL_INPUT_CONSTANTS) Vk_divide: INTEGER_32 = 111 -- Declared in Windows as VK_DIVIDE -- (from WEL_INPUT_CONSTANTS) Vk_down: INTEGER_32 = 40 -- Declared in Windows as VK_DOWN -- (from WEL_INPUT_CONSTANTS) Vk_e: INTEGER_32 = 69 -- (from WEL_INPUT_CONSTANTS) Vk_end: INTEGER_32 = 35 -- Declared in Windows as VK_END -- (from WEL_INPUT_CONSTANTS) Vk_escape: INTEGER_32 = 27 -- Declared in Windows as VK_ESCAPE -- (from WEL_INPUT_CONSTANTS) Vk_execute: INTEGER_32 = 43 -- Declared in Windows as VK_EXECUTE -- (from WEL_INPUT_CONSTANTS) Vk_f: INTEGER_32 = 70 -- (from WEL_INPUT_CONSTANTS) Vk_f1: INTEGER_32 = 112 -- Declared in Windows as VK_F1 -- (from WEL_INPUT_CONSTANTS) Vk_f10: INTEGER_32 = 121 -- Declared in Windows as VK_F10 -- (from WEL_INPUT_CONSTANTS) Vk_f11: INTEGER_32 = 122 -- Declared in Windows as VK_F11 -- (from WEL_INPUT_CONSTANTS) Vk_f12: INTEGER_32 = 123 -- Declared in Windows as VK_F12 -- (from WEL_INPUT_CONSTANTS) Vk_f13: INTEGER_32 = 124 -- Declared in Windows as VK_F13 -- (from WEL_INPUT_CONSTANTS) Vk_f14: INTEGER_32 = 125 -- Declared in Windows as VK_F14 -- (from WEL_INPUT_CONSTANTS) Vk_f15: INTEGER_32 = 126 -- Declared in Windows as VK_F15 -- (from WEL_INPUT_CONSTANTS) Vk_f16: INTEGER_32 = 127 -- Declared in Windows as VK_F16 -- (from WEL_INPUT_CONSTANTS) Vk_f17: INTEGER_32 = 128 -- Declared in Windows as VK_F17 -- (from WEL_INPUT_CONSTANTS) Vk_f18: INTEGER_32 = 129 -- Declared in Windows as VK_F18 -- (from WEL_INPUT_CONSTANTS) Vk_f19: INTEGER_32 = 130 -- Declared in Windows as VK_F19 -- (from WEL_INPUT_CONSTANTS) Vk_f2: INTEGER_32 = 113 -- Declared in Windows as VK_F2 -- (from WEL_INPUT_CONSTANTS) Vk_f20: INTEGER_32 = 131 -- Declared in Windows as VK_F20 -- (from WEL_INPUT_CONSTANTS) Vk_f21: INTEGER_32 = 132 -- Declared in Windows as VK_F21 -- (from WEL_INPUT_CONSTANTS) Vk_f22: INTEGER_32 = 133 -- Declared in Windows as VK_F22 -- (from WEL_INPUT_CONSTANTS) Vk_f23: INTEGER_32 = 134 -- Declared in Windows as VK_F23 -- (from WEL_INPUT_CONSTANTS) Vk_f24: INTEGER_32 = 135 -- Declared in Windows as VK_F24 -- (from WEL_INPUT_CONSTANTS) Vk_f3: INTEGER_32 = 114 -- Declared in Windows as VK_F3 -- (from WEL_INPUT_CONSTANTS) Vk_f4: INTEGER_32 = 115 -- Declared in Windows as VK_F4 -- (from WEL_INPUT_CONSTANTS) Vk_f5: INTEGER_32 = 116 -- Declared in Windows as VK_F5 -- (from WEL_INPUT_CONSTANTS) Vk_f6: INTEGER_32 = 117 -- Declared in Windows as VK_F6 -- (from WEL_INPUT_CONSTANTS) Vk_f7: INTEGER_32 = 118 -- Declared in Windows as VK_F7 -- (from WEL_INPUT_CONSTANTS) Vk_f8: INTEGER_32 = 119 -- Declared in Windows as VK_F8 -- (from WEL_INPUT_CONSTANTS) Vk_f9: INTEGER_32 = 120 -- Declared in Windows as VK_F9 -- (from WEL_INPUT_CONSTANTS) Vk_g: INTEGER_32 = 71 -- (from WEL_INPUT_CONSTANTS) Vk_h: INTEGER_32 = 72 -- (from WEL_INPUT_CONSTANTS) Vk_help: INTEGER_32 = 47 -- Declared in Windows as VK_HELP -- (from WEL_INPUT_CONSTANTS) Vk_home: INTEGER_32 = 36 -- Declared in Windows as VK_HOME -- (from WEL_INPUT_CONSTANTS) Vk_i: INTEGER_32 = 73 -- (from WEL_INPUT_CONSTANTS) Vk_insert: INTEGER_32 = 45 -- Declared in Windows as VK_INSERT -- (from WEL_INPUT_CONSTANTS) Vk_j: INTEGER_32 = 74 -- (from WEL_INPUT_CONSTANTS) Vk_k: INTEGER_32 = 75 -- (from WEL_INPUT_CONSTANTS) Vk_l: INTEGER_32 = 76 -- (from WEL_INPUT_CONSTANTS) Vk_lbutton: INTEGER_32 = 1 -- Declared in Windows as VK_LBUTTON -- (from WEL_INPUT_CONSTANTS) Vk_lcontrol: INTEGER_32 = 162 -- Declared in Windows as VK_LCONTROL -- (from WEL_INPUT_CONSTANTS) Vk_left: INTEGER_32 = 37 -- Declared in Windows as VK_LEFT -- (from WEL_INPUT_CONSTANTS) Vk_lmenu: INTEGER_32 = 164 -- Declared in Windows as VK_LMENU -- (from WEL_INPUT_CONSTANTS) Vk_lshift: INTEGER_32 = 160 -- Declared in Windows as VK_LSHIFT -- (from WEL_INPUT_CONSTANTS) Vk_m: INTEGER_32 = 77 -- (from WEL_INPUT_CONSTANTS) Vk_mbutton: INTEGER_32 = 4 -- Declared in Windows as VK_MBUTTON -- (from WEL_INPUT_CONSTANTS) Vk_menu: INTEGER_32 = 18 -- Declared in Windows as VK_MENU -- (from WEL_INPUT_CONSTANTS) Vk_multiply: INTEGER_32 = 106 -- Declared in Windows as VK_MULTIPLY -- (from WEL_INPUT_CONSTANTS) Vk_n: INTEGER_32 = 78 -- (from WEL_INPUT_CONSTANTS) Vk_next: INTEGER_32 = 34 -- Declared in Windows as VK_NEXT -- (from WEL_INPUT_CONSTANTS) Vk_numlock: INTEGER_32 = 144 -- Declared in Windows as VK_NUMLOCK -- (from WEL_INPUT_CONSTANTS) Vk_numpad0: INTEGER_32 = 96 -- Declared in Windows as VK_NUMPAD0 -- (from WEL_INPUT_CONSTANTS) Vk_numpad1: INTEGER_32 = 97 -- Declared in Windows as VK_NUMPAD1 -- (from WEL_INPUT_CONSTANTS) Vk_numpad2: INTEGER_32 = 98 -- Declared in Windows as VK_NUMPAD2 -- (from WEL_INPUT_CONSTANTS) Vk_numpad3: INTEGER_32 = 99 -- Declared in Windows as VK_NUMPAD3 -- (from WEL_INPUT_CONSTANTS) Vk_numpad4: INTEGER_32 = 100 -- Declared in Windows as VK_NUMPAD4 -- (from WEL_INPUT_CONSTANTS) Vk_numpad5: INTEGER_32 = 101 -- Declared in Windows as VK_NUMPAD5 -- (from WEL_INPUT_CONSTANTS) Vk_numpad6: INTEGER_32 = 102 -- Declared in Windows as VK_NUMPAD6 -- (from WEL_INPUT_CONSTANTS) Vk_numpad7: INTEGER_32 = 103 -- Declared in Windows as VK_NUMPAD7 -- (from WEL_INPUT_CONSTANTS) Vk_numpad8: INTEGER_32 = 104 -- Declared in Windows as VK_NUMPAD8 -- (from WEL_INPUT_CONSTANTS) Vk_numpad9: INTEGER_32 = 105 -- Declared in Windows as VK_NUMPAD9 -- (from WEL_INPUT_CONSTANTS) Vk_o: INTEGER_32 = 79 -- (from WEL_INPUT_CONSTANTS) Vk_p: INTEGER_32 = 80 -- (from WEL_INPUT_CONSTANTS) Vk_pause: INTEGER_32 = 19 -- Declared in Windows as VK_PAUSE -- (from WEL_INPUT_CONSTANTS) Vk_print: INTEGER_32 = 42 -- Declared in Windows as VK_PRINT -- (from WEL_INPUT_CONSTANTS) Vk_prior: INTEGER_32 = 33 -- Declared in Windows as VK_PRIOR -- (from WEL_INPUT_CONSTANTS) Vk_q: INTEGER_32 = 81 -- (from WEL_INPUT_CONSTANTS) Vk_r: INTEGER_32 = 82 -- (from WEL_INPUT_CONSTANTS) Vk_rbutton: INTEGER_32 = 2 -- Declared in Windows as VK_RBUTTON -- (from WEL_INPUT_CONSTANTS) Vk_rcontrol: INTEGER_32 = 163 -- Declared in Windows as VK_RCONTROL -- (from WEL_INPUT_CONSTANTS) Vk_return: INTEGER_32 = 13 -- Declared in Windows as VK_RETURN -- (from WEL_INPUT_CONSTANTS) Vk_right: INTEGER_32 = 39 -- Declared in Windows as VK_RIGHT -- (from WEL_INPUT_CONSTANTS) Vk_rmenu: INTEGER_32 = 165 -- Declared in Windows as VK_RMENU -- Vk_0 thru Vk_9 are the same as their ASCII equivalents: '0' thru '9'. -- (from WEL_INPUT_CONSTANTS) Vk_rshift: INTEGER_32 = 161 -- Declared in Windows as VK_RSHIFT -- (from WEL_INPUT_CONSTANTS) Vk_s: INTEGER_32 = 83 -- (from WEL_INPUT_CONSTANTS) Vk_scroll: INTEGER_32 = 145 -- Declared in Windows as VK_SCROLL -- (from WEL_INPUT_CONSTANTS) Vk_select: INTEGER_32 = 41 -- Declared in Windows as VK_SELECT -- (from WEL_INPUT_CONSTANTS) Vk_separator: INTEGER_32 = 108 -- Declared in Windows as VK_SEPARATOR -- (from WEL_INPUT_CONSTANTS) Vk_shift: INTEGER_32 = 16 -- Declared in Windows as VK_SHIFT -- (from WEL_INPUT_CONSTANTS) Vk_snapshot: INTEGER_32 = 44 -- Declared in Windows as VK_SNAPSHOT -- (from WEL_INPUT_CONSTANTS) Vk_space: INTEGER_32 = 32 -- Declared in Windows as VK_SPACE -- (from WEL_INPUT_CONSTANTS) Vk_subtract: INTEGER_32 = 109 -- Declared in Windows as VK_SUBTRACT -- (from WEL_INPUT_CONSTANTS) Vk_t: INTEGER_32 = 84 -- (from WEL_INPUT_CONSTANTS) Vk_tab: INTEGER_32 = 9 -- Declared in Windows as VK_TAB -- (from WEL_INPUT_CONSTANTS) Vk_u: INTEGER_32 = 85 -- (from WEL_INPUT_CONSTANTS) Vk_up: INTEGER_32 = 38 -- Declared in Windows as VK_UP -- (from WEL_INPUT_CONSTANTS) Vk_v: INTEGER_32 = 86 -- (from WEL_INPUT_CONSTANTS) Vk_w: INTEGER_32 = 87 -- (from WEL_INPUT_CONSTANTS) Vk_x: INTEGER_32 = 88 -- (from WEL_INPUT_CONSTANTS) Vk_y: INTEGER_32 = 89 -- (from WEL_INPUT_CONSTANTS) Vk_z: INTEGER_32 = 90 -- (from WEL_INPUT_CONSTANTS) feature --{EV_ANY_I} -- Implementation get_dc -- Get `dc`. -- By default does nothing, but is -- redefined by primitives that do not keep a consistent -- dc. Example : EV_DRAWING_AREA_IMP -- (from EV_DRAWABLE_IMP) release_dc -- Release `dc`. -- By default does nothing, but is -- redefined by primitives that do not keep a consistent -- dc. Example : EV_DRAWING_AREA_IMP -- (from EV_DRAWABLE_IMP) invariant dc_not_void: dc /= Void -- from EV_ANY_I interface_coupled: is_usable implies interface /= Void and then attached_interface.implementation = Current base_make_called: is_usable implies base_make_called -- from ANY reflexive_equality: standard_is_equal (Current) reflexive_conformance: conforms_to (Current) -- from EV_DRAWABLE_IMP reference_tracked_on_brush: attached internal_brush as l_brush implies l_brush.reference_tracked brush_exists: attached internal_brush as l_internal_brush implies l_internal_brush.exists reference_tracked_on_pen: attached internal_pen as l_pen implies l_pen.reference_tracked note copyright: "Copyright (c) 1984-2021, Eiffel Software and others" license: "Eiffel Forum License v2 (see http://www.eiffel.com/licensing/forum.txt)" source: "[ Eiffel Software 5949 Hollister Ave., 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 EV_SCREEN_IMP
Classes Clusters Cluster hierarchy Chart Relations Flat contracts Go to:

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