indexing
description: "Eiffel Vision drawing area. Implementation interface."
legal: "See notice at end of class."
status: "See notice at end of class."
date: "$Date: 2006-08-28 17:57:36 -0700 (Mon, 28 Aug 2006) $"
revision: "$Revision: 63042 $"
deferred class interface
EV_DRAWING_AREA_I
feature
accept_cursor: EV_POINTER_STYLE
pebble
EV_PICK_AND_DROPABLE_I
actual_drop_target_agent: FUNCTION [ANY, TUPLE [INTEGER_32, INTEGER_32], EV_ABSTRACT_PICK_AND_DROPABLE]
`Void'
`Current'
EV_WIDGET_I
arc_cosine (v: REAL_32): REAL_32
`v'
SINGLE_MATH
arc_sine (v: REAL_32): REAL_32
`v'
SINGLE_MATH
arc_tangent (v: REAL_32): REAL_32
`v'
SINGLE_MATH
background_color: EV_COLOR
EV_COLORIZABLE_I
ceiling (v: REAL_32): REAL_32
`v'
SINGLE_MATH
clip_area: EV_RECTANGLE
EV_DRAWABLE_I
cosine (v: REAL_32): REAL_32
`v'
SINGLE_MATH
dashed_line_style: BOOLEAN
EV_DRAWABLE_I
default_key_processing_handler: PREDICATE [ANY, TUPLE [EV_KEY]]
`Current'
`True'
EV_WIDGET_I
deny_cursor: EV_POINTER_STYLE
EV_PICK_AND_DROPABLE_I
drawing_mode: INTEGER_32
EV_DRAWABLE_I
euler: REAL_64 is 2.7182818284590452354
MATH_CONST
floor (v: REAL_32): REAL_32
`v'
SINGLE_MATH
font: EV_FONT
`Current'
EV_FONTABLE_I
ensure EV_FONTABLE_I
not_void: Result /= Void
foreground_color: EV_COLOR
EV_COLORIZABLE_I
generating_type: STRING_8
ANY
generator: STRING_8
ANY
help_context: FUNCTION [ANY, TUPLE, EV_HELP_CONTEXT]
EV_HELP_CONTEXTABLE_I
ensure EV_HELP_CONTEXTABLE_I
current_if_exists: internal_help_context /= Void implies Result = internal_help_context
internal_pointer_style: EV_POINTER_STYLE
EV_WIDGET_I
is_dock_executing: BOOLEAN
`Current'
EV_DOCKABLE_SOURCE_I
is_dockable: BOOLEAN
`Current'
EV_DOCKABLE_SOURCE_I
is_external_docking_enabled: BOOLEAN
`Current'
EV_DOCKABLE_SOURCE_I
is_external_docking_relative: BOOLEAN
`Current'
`Current'
EV_DOCKABLE_SOURCE_I
line_width: INTEGER_32
EV_DRAWABLE_I
log (v: REAL_32): REAL_32
`v'
SINGLE_MATH
require SINGLE_MATH
v > 0.0
log10 (v: REAL_32): REAL_32
`v'
SINGLE_MATH
require SINGLE_MATH
v > 0.0
log_2 (v: REAL_32): REAL_32
`v'
SINGLE_MATH
require SINGLE_MATH
v > 0.0
not_external_docking_enabled: BOOLEAN
`is_externally_dockable'
`is_externally_dockable'
`True'`is_externally_dockable'
EV_DOCKABLE_SOURCE_I
not_is_external_docking_relative: BOOLEAN
`Current'
`Current'
is_external_docking_relative
EV_DOCKABLE_SOURCE_I
original_parent_position: INTEGER_32
EV_DOCKABLE_SOURCE_I
parent: EV_CONTAINER
`Current'
`Current'
EV_WIDGET_I
pebble: ANY
EV_PICK_AND_DROPABLE_I
pebble_function: FUNCTION [ANY, TUPLE, ANY]
EV_PICK_AND_DROPABLE_I
pebble_positioning_enabled: BOOLEAN
`True'
pebble_x_positionpebble_y_position
`False'
EV_PICK_AND_DROPABLE_I
pebble_x_position: INTEGER_32
`Current'
EV_PICK_AND_DROPABLE_I
pebble_y_position: INTEGER_32
`Current'
EV_PICK_AND_DROPABLE_I
pi: REAL_64 is 3.14159265358979323846
MATH_CONST
pointer_position: EV_COORDINATE
`Current'
EV_WIDGET_I
ensure EV_WIDGET_I
result_not_void: Result /= Void
pointer_style: EV_POINTER_STYLE
`set_pointer_position'
EV_WIDGET_I
real_source: EV_DOCKABLE_SOURCE
`Result'
`Current'
EV_DOCKABLE_SOURCE_I
real_target: EV_DOCKABLE_TARGET
`Result'
`Current'
EV_WIDGET_I
sine (v: REAL_32): REAL_32
`v'
SINGLE_MATH
sqrt (v: REAL_32): REAL_32
`v'
SINGLE_MATH
require SINGLE_MATH
v >= 0.0
sqrt2: REAL_64 is 1.41421356237309504880
MATH_CONST
tangent (v: REAL_32): REAL_32
`v'
SINGLE_MATH
tile: EV_PIXMAP
background_color
EV_DRAWABLE_I
tooltip: STRING_32
`Current'
EV_TOOLTIPABLE_I
feature
height: INTEGER_32
EV_POSITIONED_I
require EV_DRAWABLE_I
True
ensure EV_DRAWABLE_I
positive: Result > 0
minimum_height: INTEGER_32
EV_POSITIONED_I
minimum_width: INTEGER_32
EV_POSITIONED_I
screen_x: INTEGER_32
EV_WIDGET_I
screen_y: INTEGER_32
EV_WIDGET_I
width: INTEGER_32
EV_POSITIONED_I
require EV_DRAWABLE_I
True
ensure EV_DRAWABLE_I
positive: Result > 0
x_position: INTEGER_32
x_position
EV_POSITIONED_I
y_position: INTEGER_32
y_position
EV_POSITIONED_I
feature
frozen deep_equal (some: ANY; other: like arg #1): BOOLEAN
`some'`other'
ANY
ensure ANY
shallow_implies_deep: standard_equal (some, other) implies Result
both_or_none_void: (some = Void) implies (Result = (other = Void))
same_type: (Result and (some /= Void)) implies some.same_type (other)
symmetric: Result implies deep_equal (other, some)
frozen equal (some: ANY; other: like arg #1): BOOLEAN
`some'`other'
ANY
ensure ANY
definition: Result = (some = Void and other = Void) or else ((some /= Void and other /= Void) and then some.is_equal (other))
is_equal (other: like Current): BOOLEAN
`other'
ANY
require ANY
other_not_void: other /= Void
ensure ANY
symmetric: Result implies other.is_equal (Current)
consistent: standard_is_equal (other) implies Result
frozen standard_equal (some: ANY; other: like arg #1): BOOLEAN
`some'`other'
ANY
ensure ANY
definition: Result = (some = Void and other = Void) or else ((some /= Void and other /= Void) and then some.standard_is_equal (other))
frozen standard_is_equal (other: like Current): BOOLEAN
`other'
ANY
require ANY
other_not_void: other /= Void
ensure ANY
same_type: Result implies same_type (other)
symmetric: Result implies other.standard_is_equal (Current)
feature
closest_dockable_target: EV_DOCKABLE_TARGET
`Result'is_dockable
`Result'`Void'
EV_DOCKABLE_SOURCE_I
ensure EV_DOCKABLE_SOURCE_I
result_is_dockable: Result /= Void implies Result.is_docking_enabled
conforms_to (other: ANY): BOOLEAN
`other'
ANY
require ANY
other_not_void: other /= Void
get_next_target (a_widget: EV_WIDGET): EV_DOCKABLE_TARGET
`Result'is_dockable
`current_target'
`Result'`Void'
EV_DOCKABLE_SOURCE_I
require EV_DOCKABLE_SOURCE_I
a_widget_not_void: a_widget /= Void
ensure EV_DOCKABLE_SOURCE_I
result_is_dockable: Result /= Void implies Result.is_docking_enabled
internal_non_sensitive: BOOLEAN
`Current'
interface
EV_SENSITIVE_I
is_tabable_from: BOOLEAN
EV_TAB_CONTROLABLE_I
is_tabable_to: BOOLEAN
EV_TAB_CONTROLABLE_I
is_transport_enabled: BOOLEAN
EV_PICK_AND_DROPABLE_I
mode_is_drag_and_drop: BOOLEAN
EV_PICK_AND_DROPABLE_I
mode_is_pick_and_drop: BOOLEAN
EV_PICK_AND_DROPABLE_I
mode_is_target_menu: BOOLEAN
EV_PICK_AND_DROPABLE_I
same_type (other: ANY): BOOLEAN
`other'
ANY
require ANY
other_not_void: other /= Void
ensure ANY
definition: Result = (conforms_to (other) and other.conforms_to (Current))
user_is_sensitive: BOOLEAN
EV_SENSITIVE_I
feature
disable_dockable
`Current'
EV_DOCKABLE_SOURCE_I
ensure EV_DOCKABLE_SOURCE_I
not_is_dockable: not is_dockable
disable_external_docking
`Current'
EV_DOCKABLE_SOURCE_I
require EV_DOCKABLE_SOURCE_I
is_dockable: is_dockable
ensure EV_DOCKABLE_SOURCE_I
not_externally_dockable: not is_external_docking_enabled
disable_external_docking_relative
`False'is_external_docking_relative
`Current'
EV_DOCKABLE_SOURCE_I
require EV_DOCKABLE_SOURCE_I
external_docking_enabled: is_external_docking_enabled
ensure EV_DOCKABLE_SOURCE_I
external_docking_not_relative: not is_external_docking_relative
disable_pebble_positioning
`False'pebble_positioning_enabled
EV_PICK_AND_DROPABLE_I
disable_tabable_from
is_tabable_from`False'
EV_TAB_CONTROLABLE_I
ensure EV_TAB_CONTROLABLE_I
not_is_tabable_from: not is_tabable_from
disable_tabable_to
is_tabable_to`False'
EV_TAB_CONTROLABLE_I
ensure EV_TAB_CONTROLABLE_I
not_is_tabable_to: not is_tabable_to
disable_transport
EV_PICK_AND_DROPABLE_I
ensure EV_PICK_AND_DROPABLE_I
is_transport_disabled: not is_transport_enabled
enable_dockable
`Current'
EV_DOCKABLE_SOURCE_I
ensure EV_DOCKABLE_SOURCE_I
is_dockable: is_dockable
enable_external_docking
`Current'
EV_DOCKABLE_SOURCE_I
require EV_DOCKABLE_SOURCE_I
is_dockable: is_dockable
ensure EV_DOCKABLE_SOURCE_I
is_externally_dockable: is_external_docking_enabled
enable_external_docking_relative
`True'is_external_docking_relative
`Current'
EV_DOCKABLE_SOURCE_I
require EV_DOCKABLE_SOURCE_I
external_docking_enabled: is_external_docking_enabled
ensure EV_DOCKABLE_SOURCE_I
external_docking_not_relative: is_external_docking_relative
enable_pebble_positioning
`True'pebble_positioning_enabled
EV_PICK_AND_DROPABLE_I
enable_tabable_from
is_tabable_from`True'
EV_TAB_CONTROLABLE_I
ensure EV_TAB_CONTROLABLE_I
is_tabable_from: is_tabable_from
enable_tabable_to
is_tabable_to`True'
EV_TAB_CONTROLABLE_I
ensure EV_TAB_CONTROLABLE_I
is_tabable_to: is_tabable_to
enable_transport
EV_PICK_AND_DROPABLE_I
require EV_PICK_AND_DROPABLE_I
pebble_not_void: pebble /= Void or pebble_function /= Void
ensure EV_PICK_AND_DROPABLE_I
is_transport_enabled: interface.implementation.is_transport_enabled
hide
`Current'
EV_WIDGET_I
internal_disable_dockable
disable_dockable
EV_DOCKABLE_SOURCE_I
internal_enable_dockable
enable_dockable
EV_DOCKABLE_SOURCE_I
remove_default_key_processing_handler
default_key_processing_handler
EV_WIDGET_I
ensure EV_WIDGET_I
default_key_processing_handler_removed: default_key_processing_handler = Void
remove_pebble
pebble
EV_PICK_AND_DROPABLE_I
ensure EV_PICK_AND_DROPABLE_I
pebble_removed: pebble = Void and pebble_function = Void
is_transport_disabled: not is_transport_enabled
remove_real_source
real_source`Void'
EV_DOCKABLE_SOURCE_I
require EV_DOCKABLE_SOURCE_I
is_dockable: is_dockable
ensure EV_DOCKABLE_SOURCE_I
real_source_void: real_source = Void
remove_real_target
real_target`Void'
EV_WIDGET_I
ensure EV_WIDGET_I
real_target_void: real_target = Void
set_accept_cursor (a_cursor: like accept_cursor)
`a_cursor'
pebble
EV_PICK_AND_DROPABLE_I
set_actual_drop_target_agent (an_agent: like actual_drop_target_agent)
`an_agent'actual_drop_target_agent
EV_WIDGET_I
require EV_WIDGET_I
an_agent_not_void: an_agent /= Void
ensure EV_WIDGET_I
assigned: actual_drop_target_agent = an_agent
set_default_colors
EV_COLORIZABLE_I
set_default_key_processing_handler (a_handler: like default_key_processing_handler)
default_key_processing_handler`a_handler'
EV_WIDGET_I
set_deny_cursor (a_cursor: like deny_cursor)
`a_cursor'
pebble
EV_PICK_AND_DROPABLE_I
set_drag_and_drop_mode
EV_PICK_AND_DROPABLE_I
ensure EV_PICK_AND_DROPABLE_I
mode_is_drag_and_drop: mode_is_drag_and_drop
set_focus
EV_WIDGET_I
set_pebble (a_pebble: like pebble)
`a_pebble'pebble
EV_PICK_AND_DROPABLE_I
require EV_PICK_AND_DROPABLE_I
a_pebble_not_void: a_pebble /= Void
ensure EV_PICK_AND_DROPABLE_I
pebble_assigned: interface.implementation.pebble = a_pebble
is_transport_enabled: interface.implementation.is_transport_enabled
set_pebble_function (a_function: FUNCTION [ANY, TUPLE, ANY])
`a_function'pebble_function
EV_PICK_AND_DROPABLE_I
require EV_PICK_AND_DROPABLE_I
a_function_not_void: a_function /= Void
ensure EV_PICK_AND_DROPABLE_I
pebble_function_assigned: interface.implementation.pebble_function = a_function
is_transport_enabled: interface.implementation.is_transport_enabled
set_pebble_position (a_x, a_y: INTEGER_32)
`Current'
EV_PICK_AND_DROPABLE_I
ensure EV_PICK_AND_DROPABLE_I
pick_x_assigned: pick_x = a_x
pick_y_assigned: pick_y = a_y
set_pick_and_drop_mode
EV_PICK_AND_DROPABLE_I
ensure EV_PICK_AND_DROPABLE_I
mode_is_pick_and_drop: mode_is_pick_and_drop
set_real_source (dockable_source: EV_DOCKABLE_SOURCE)
`dockable_source'
`Current'
EV_DOCKABLE_SOURCE_I
require EV_DOCKABLE_SOURCE_I
is_dockable: is_dockable
dockable_source_not_void: dockable_source /= Void
ensure EV_DOCKABLE_SOURCE_I
real_source_assigned: real_source = dockable_source
set_real_target (a_target: EV_DOCKABLE_TARGET)
`a_target'real_target
EV_WIDGET_I
require EV_WIDGET_I
target_not_void: a_target /= Void
ensure EV_WIDGET_I
assigned: real_target = a_target
set_target_menu_mode
EV_PICK_AND_DROPABLE_I
ensure EV_PICK_AND_DROPABLE_I
mode_is_target_menu: mode_is_target_menu
show
`Current'
EV_WIDGET_I
user_disable_sensitive
EV_SENSITIVE_I
ensure EV_SENSITIVE_I
is_desensitive: not user_is_sensitive
user_enable_sensitive
EV_SENSITIVE_I
ensure EV_SENSITIVE_I
is_sensitive_if_parent_sensitive: (has_parent and then parent_is_sensitive) implies interface.implementation.is_sensitive
is_sensitive_if_orphaned: not has_parent implies interface.implementation.is_sensitive
feature
disable_dashed_line_style
EV_DRAWABLE_I
ensure EV_DRAWABLE_I
dashed_line_style_disabled: is_usable implies not interface.dashed_line_style
enable_dashed_line_style
EV_DRAWABLE_I
ensure EV_DRAWABLE_I
dashed_line_style_enabled: is_usable implies interface.dashed_line_style
remove_clipping
EV_DRAWABLE_I
ensure EV_DRAWABLE_I
clip_area_void: is_usable implies interface.clip_area = Void
remove_help_context
`EV_APPLICATION.help_key'
EV_HELP_CONTEXTABLE_I
require EV_HELP_CONTEXTABLE_I
help_context_not_void: help_context /= Void
ensure EV_HELP_CONTEXTABLE_I
no_help_context: internal_help_context = Void
remove_tile
EV_DRAWABLE_I
ensure EV_DRAWABLE_I
tile_void: is_usable implies interface.tile = Void
set_background_color (a_color: like background_color)
`a_color'foreground_color
EV_COLORIZABLE_I
require EV_COLORIZABLE_I
a_color_not_void: a_color /= Void
ensure EV_COLORIZABLE_I
background_color_assigned: is_initialized implies interface.implementation.background_color.is_equal (a_color)
set_clip_area (an_area: EV_RECTANGLE)
EV_DRAWABLE_I
require EV_DRAWABLE_I
an_area_not_void: an_area /= Void
ensure EV_DRAWABLE_I
clip_area_assigned: is_usable implies interface.clip_area.is_equal (an_area)
set_clip_region (a_region: EV_REGION)
EV_DRAWABLE_I
require EV_DRAWABLE_I
a_region_not_void: a_region /= Void
set_drawing_mode (a_mode: INTEGER_32)
`a_logical_mode'
EV_DRAWABLE_I
require EV_DRAWABLE_I
a_mode_valid: valid_drawing_mode (a_mode)
ensure EV_DRAWABLE_I
drawing_mode_assigned: is_usable implies interface.drawing_mode = a_mode
set_font (a_font: EV_FONT)
`a_font'font
EV_FONTABLE_I
require EV_FONTABLE_I
a_font_not_void: a_font /= Void
ensure EV_FONTABLE_I
assigned: is_usable implies font.is_equal (a_font)
set_foreground_color (a_color: like foreground_color)
`a_color'foreground_color
EV_COLORIZABLE_I
require EV_COLORIZABLE_I
a_color_not_void: a_color /= Void
ensure EV_COLORIZABLE_I
foreground_color_assigned: is_initialized implies interface.implementation.foreground_color.is_equal (a_color)
set_help_context (an_help_context: like help_context)
`a_help_context'help_context
`an_help_context'help_context
EV_HELP_CONTEXTABLE_I
require EV_HELP_CONTEXTABLE_I
an_help_context_not_void: an_help_context /= Void
ensure EV_HELP_CONTEXTABLE_I
help_context_assigned: help_context.is_equal (an_help_context)
set_line_width (a_width: INTEGER_32)
`a_width'line_width
EV_DRAWABLE_I
require EV_DRAWABLE_I
a_width_positive_or_zero: a_width >= 0
ensure EV_DRAWABLE_I
line_width_assigned: is_usable implies interface.line_width = a_width
set_minimum_height (a_minimum_height: INTEGER_32)
`a_minimum_height'
EV_WIDGET_I
require EV_WIDGET_I
a_minimum_height_positive: a_minimum_height >= 0
ensure EV_WIDGET_I
minimum_height_assigned: is_usable implies interface.minimum_height = a_minimum_height
set_minimum_size (a_minimum_width, a_minimum_height: INTEGER_32)
`a_minimum_width'
`a_minimum_height'
EV_WIDGET_I
require EV_WIDGET_I
a_minimum_width_positive: a_minimum_width >= 0
a_minimum_height_positive: a_minimum_height >= 0
ensure EV_WIDGET_I
minimum_width_assigned: is_usable implies interface.minimum_width = a_minimum_width
minimum_height_assigned: is_usable implies interface.minimum_height = a_minimum_height
set_minimum_width (a_minimum_width: INTEGER_32)
`a_minimum_width'
EV_WIDGET_I
require EV_WIDGET_I
a_minimum_width_positive: a_minimum_width >= 0
ensure EV_WIDGET_I
minimum_width_assigned: is_usable implies interface.minimum_width = a_minimum_width
set_tile (a_pixmap: EV_PIXMAP)
background_color
EV_DRAWABLE_I
require EV_DRAWABLE_I
a_pixmap_not_void: a_pixmap /= Void
ensure EV_DRAWABLE_I
tile_assigned: is_usable implies interface.tile /= Void
set_tooltip (a_tooltip: STRING_GENERAL)
`a_tooltip'tooltip
EV_TOOLTIPABLE_I
require EV_TOOLTIPABLE_I
a_tooltip_not_void: a_tooltip /= Void
feature
copy (other: like Current)
`other'
ANY
require ANY
other_not_void: other /= Void
type_identity: same_type (other)
ensure ANY
is_equal: is_equal (other)
frozen deep_copy (other: like Current)
copy`other'deep_twin
ANY
require ANY
other_not_void: other /= Void
ensure ANY
deep_equal: deep_equal (Current, other)
frozen deep_twin: like Current
ANY
ensure ANY
deep_equal: deep_equal (Current, Result)
frozen standard_copy (other: like Current)
`other'
ANY
require ANY
other_not_void: other /= Void
type_identity: same_type (other)
ensure ANY
is_standard_equal: standard_is_equal (other)
frozen standard_twin: like Current
`other'
ANY
ensure ANY
standard_twin_not_void: Result /= Void
equal: standard_equal (Result, Current)
sub_pixmap (area: EV_RECTANGLE): EV_PIXMAP
`Current'`area'
EV_DRAWABLE_I
require EV_DRAWABLE_I
area_not_void: area /= Void
ensure EV_DRAWABLE_I
result_not_void: Result /= Void
frozen twin: like Current
`Current'
twincopycopy
ANY
ensure ANY
twin_not_void: Result /= Void
is_equal: Result.is_equal (Current)
feature
close_dockable_dialog (dockable_dialog: EV_DOCKABLE_DIALOG)
`dockable_dialog'
`dock_ended'
EV_DOCKABLE_SOURCE_I
ensure EV_DOCKABLE_SOURCE_I
dockable_dialog_destroyed: dockable_dialog.is_destroyed
complete_dock
source_being_docked
EV_DOCKABLE_SOURCE_I
require EV_DOCKABLE_SOURCE_I
source_being_docked: source_being_docked /= Void
ensure EV_DOCKABLE_SOURCE_I
not_dock_executing: not is_dock_executing
insert_separator_not_parented: insert_sep.parent = Void
insert_label_not_parented: insert_label.parent = Void
frozen default: like Current
ANY
frozen default_pointer: POINTER
`POINTER'
`p'default
`p'`POINTER'
ANY
default_rescue
ANY
frozen do_nothing
ANY
refresh_now
`Current'
EV_WIDGET_I
feature
drag_cursor: EV_POINTER_STYLE
`Current'
EV_DOCKABLE_SOURCE_I
feature
dockable_dialog_target: EV_DOCKABLE_DIALOG
EV_SHARED_TRANSPORT_I
global_drag_targets: ARRAYED_LIST [INTEGER_32]
EV_SHARED_TRANSPORT_I
insert_label: EV_CELL
`Current'
EV_SHARED_TRANSPORT_I
ensure EV_SHARED_TRANSPORT_I
result_not_void: Result /= Void
insert_label_imp: EV_CELL_I
Insert_label
EV_SHARED_TRANSPORT_I
ensure EV_SHARED_TRANSPORT_I
Result /= Void
insert_sep: EV_TOOL_BAR_SEPARATOR
EV_SHARED_TRANSPORT_I
insert_sep_imp: EV_TOOL_BAR_SEPARATOR_I
Insert_sep
EV_SHARED_TRANSPORT_I
ensure EV_SHARED_TRANSPORT_I
Result /= Void
internal_screen: EV_SCREEN
EV_SHARED_TRANSPORT_I
original_x_offset: INTEGER_16
EV_SHARED_TRANSPORT_I
original_y_offset: INTEGER_16
EV_SHARED_TRANSPORT_I
originating_source: EV_DOCKABLE_SOURCE_I
`source_being_dragged'
EV_SHARED_TRANSPORT_I
remove_insert_label
Insert_labelparent
real_target
EV_SHARED_TRANSPORT_I
ensure EV_SHARED_TRANSPORT_I
not_parented: insert_label.parent = Void
remove_insert_sep
`inset_sep'
EV_SHARED_TRANSPORT_I
ensure EV_SHARED_TRANSPORT_I
not_parented: insert_sep.parent = Void
source_being_docked: EV_DOCKABLE_SOURCE_I
EV_SHARED_TRANSPORT_I
feature
default_accept_cursor: EV_POINTER_STYLE
accept_cursor
EV_SHARED_TRANSPORT_I
default_deny_cursor: EV_POINTER_STYLE
deny_cursor
EV_SHARED_TRANSPORT_I
default_pixmaps: EV_STOCK_PIXMAPS
EV_SHARED_TRANSPORT_I
global_pnd_targets: HASH_TABLE [INTEGER_32, INTEGER_32]
EV_SHARED_TRANSPORT_I
rubber_band_is_drawn: BOOLEAN
EV_SHARED_TRANSPORT_I
feature
pointer_x: INTEGER_16
EV_SHARED_TRANSPORT_I
pointer_y: INTEGER_16
EV_SHARED_TRANSPORT_I
feature
clear
`Current'background_color
EV_DRAWABLE_I
clear_rectangle (x1, y1, a_width, a_height: INTEGER_32)
`x'`y'
`a_width'`a_height'background_color
EV_DRAWABLE_I
feature
drawing_mode_and: INTEGER_32 is 3
EV_DRAWABLE_CONSTANTS
drawing_mode_copy: INTEGER_32 is 0
EV_DRAWABLE_CONSTANTS
drawing_mode_invert: INTEGER_32 is 2
EV_DRAWABLE_CONSTANTS
drawing_mode_or: INTEGER_32 is 4
EV_DRAWABLE_CONSTANTS
drawing_mode_xor: INTEGER_32 is 1
EV_DRAWABLE_CONSTANTS
feature
valid_drawing_mode (a_mode: INTEGER_32): BOOLEAN
`a_mode'
EV_DRAWABLE_CONSTANTS
feature
clear_and_redraw
clear_and_redraw_rectangle (a_x, a_y, a_width, a_height: INTEGER_32)
draw_arc (x, y, a_bounding_width, a_bounding_height: INTEGER_32; a_start_angle, an_aperture: REAL_32)
`x'`y'`a_bounding_width'
`a_bounding_height'
`a_start_angle'`a_start_angle'`an_aperture'
EV_DRAWABLE_I
require 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)
`x'`y'`a_bounding_width'
`a_bounding_height'
EV_DRAWABLE_I
require 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: STRING_GENERAL; clipping_width: INTEGER_32)
`a_text'`x'`y'font
`clipping_width'
EV_DRAWABLE_I
require 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: STRING_GENERAL; clipping_width: INTEGER_32)
`a_text'`x'`y'font
`clipping_width'
EV_DRAWABLE_I
require EV_DRAWABLE_I
a_text_not_void: a_text /= Void
clipping_width_positive: clipping_width >= 0
draw_pie_slice (x, y, a_bounding_width, a_bounding_height: INTEGER_32; a_start_angle, an_aperture: REAL_32)
`x'`y'`a_bounding_width'
`a_bounding_height'
`a_start_angle'`a_start_angle'`an_aperture'
`x'
EV_DRAWABLE_I
require 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)
`a_pixmap'`x'
EV_DRAWABLE_I
require EV_DRAWABLE_I
a_pixmap_not_void: a_pixmap /= Void
draw_point (x, y: INTEGER_32)
`x'
EV_DRAWABLE_I
draw_polyline (points: ARRAY [EV_COORDINATE]; is_closed: BOOLEAN)
`points'`is_closed'
`points'
EV_DRAWABLE_I
require EV_DRAWABLE_I
points_not_void: points /= Void
draw_rectangle (x, y, a_width, a_height: INTEGER_32)
`x'
`a_width'`a_height'
EV_DRAWABLE_I
require 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; angle: REAL_32; a_text: STRING_GENERAL)
`a_text'`x'`y'font
EV_DRAWABLE_I
require EV_DRAWABLE_I
a_text_not_void: a_text /= Void
draw_segment (x1, y1, x2, y2: INTEGER_32)
`x1'`x2'
EV_DRAWABLE_I
draw_straight_line (x1, y1, x2, y2: INTEGER_32)
`x1'`x2'
EV_DRAWABLE_I
draw_sub_pixmap (x, y: INTEGER_32; a_pixmap: EV_PIXMAP; area: EV_RECTANGLE)
`area'`a_pixmap'`x'`y'
EV_DRAWABLE_I
require EV_DRAWABLE_I
a_pixmap_not_void: a_pixmap /= Void
area_not_void: area /= Void
draw_text (x, y: INTEGER_32; a_text: STRING_GENERAL)
`a_text'`x'`y'font
EV_DRAWABLE_I
require EV_DRAWABLE_I
a_text_not_void: a_text /= Void
draw_text_top_left (x, y: INTEGER_32; a_text: STRING_GENERAL)
`a_text'`x'`y'font
EV_DRAWABLE_I
require EV_DRAWABLE_I
a_text_not_void: a_text /= Void
flush
redraw
redraw_rectangle (a_x, a_y, a_width, a_height: INTEGER_32)
feature
fill_ellipse (x, y, a_bounding_width, a_bounding_height: INTEGER_32)
`x'`y'`a_bounding_width'
`a_bounding_height'
EV_DRAWABLE_I
require 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, a_bounding_width, a_bounding_height: INTEGER_32; a_start_angle, an_aperture: REAL_32)
`x'`y'`a_bounding_width'
`a_bounding_height'
`a_start_angle'`a_start_angle'`an_aperture'
`x'
EV_DRAWABLE_I
require 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])
`points'
background_color
EV_DRAWABLE_I
require EV_DRAWABLE_I
points_not_void: points /= Void
fill_rectangle (x, y, a_width, a_height: INTEGER_32)
`x'
`a_width'`a_height'background_color
EV_DRAWABLE_I
require EV_DRAWABLE_I
a_width_positive_or_zero: a_width >= 0
a_height_positive_or_zero: a_height >= 0
feature
conforming_pick_actions: EV_NOTIFY_ACTION_SEQUENCE
EV_PICK_AND_DROPABLE_ACTION_SEQUENCES_I
ensure EV_PICK_AND_DROPABLE_ACTION_SEQUENCES_I
not_void: Result /= Void
dock_ended_actions: EV_NOTIFY_ACTION_SEQUENCE
`Current'
EV_DOCKABLE_SOURCE_ACTION_SEQUENCES_I
ensure EV_DOCKABLE_SOURCE_ACTION_SEQUENCES_I
not_void: Result /= Void
dock_started_actions: EV_NOTIFY_ACTION_SEQUENCE
pebble
EV_DOCKABLE_SOURCE_ACTION_SEQUENCES_I
ensure EV_DOCKABLE_SOURCE_ACTION_SEQUENCES_I
not_void: Result /= Void
drop_actions: EV_PND_ACTION_SEQUENCE
EV_PICK_AND_DROPABLE_ACTION_SEQUENCES_I
ensure EV_PICK_AND_DROPABLE_ACTION_SEQUENCES_I
not_void: Result /= Void
expose_actions: EV_GEOMETRY_ACTION_SEQUENCE
EV_DRAWING_AREA_ACTION_SEQUENCES_I
ensure EV_DRAWING_AREA_ACTION_SEQUENCES_I
not_void: Result /= Void
file_drop_actions: ACTION_SEQUENCE [TUPLE [LIST [STRING_32]]]
`Current'
EV_WIDGET_ACTION_SEQUENCES_I
ensure EV_WIDGET_ACTION_SEQUENCES_I
not_void: Result /= Void
focus_in_actions: EV_NOTIFY_ACTION_SEQUENCE
EV_WIDGET_ACTION_SEQUENCES_I
ensure EV_WIDGET_ACTION_SEQUENCES_I
not_void: Result /= Void
focus_out_actions: EV_NOTIFY_ACTION_SEQUENCE
EV_WIDGET_ACTION_SEQUENCES_I
ensure EV_WIDGET_ACTION_SEQUENCES_I
not_void: Result /= Void
key_press_actions: EV_KEY_ACTION_SEQUENCE
EV_WIDGET_ACTION_SEQUENCES_I
ensure EV_WIDGET_ACTION_SEQUENCES_I
not_void: Result /= Void
key_press_string_actions: EV_KEY_STRING_ACTION_SEQUENCE
EV_WIDGET_ACTION_SEQUENCES_I
ensure EV_WIDGET_ACTION_SEQUENCES_I
not_void: Result /= Void
key_release_actions: EV_KEY_ACTION_SEQUENCE
EV_WIDGET_ACTION_SEQUENCES_I
ensure EV_WIDGET_ACTION_SEQUENCES_I
not_void: Result /= Void
mouse_wheel_actions: EV_INTEGER_ACTION_SEQUENCE
EV_WIDGET_ACTION_SEQUENCES_I
ensure EV_WIDGET_ACTION_SEQUENCES_I
not_void: Result /= Void
pick_actions: EV_PND_START_ACTION_SEQUENCE
pebble
EV_PICK_AND_DROPABLE_ACTION_SEQUENCES_I
ensure EV_PICK_AND_DROPABLE_ACTION_SEQUENCES_I
not_void: Result /= Void
pick_ended_actions: EV_PND_FINISHED_ACTION_SEQUENCE
`Current'
EV_PICK_AND_DROPABLE_ACTION_SEQUENCES_I
ensure EV_PICK_AND_DROPABLE_ACTION_SEQUENCES_I
not_void: Result /= Void
pointer_button_press_actions: EV_POINTER_BUTTON_ACTION_SEQUENCE
EV_WIDGET_ACTION_SEQUENCES_I
ensure EV_WIDGET_ACTION_SEQUENCES_I
not_void: Result /= Void
pointer_button_release_actions: EV_POINTER_BUTTON_ACTION_SEQUENCE
EV_WIDGET_ACTION_SEQUENCES_I
ensure EV_WIDGET_ACTION_SEQUENCES_I
not_void: Result /= Void
pointer_double_press_actions: EV_POINTER_BUTTON_ACTION_SEQUENCE
EV_WIDGET_ACTION_SEQUENCES_I
ensure EV_WIDGET_ACTION_SEQUENCES_I
not_void: Result /= Void
pointer_enter_actions: EV_NOTIFY_ACTION_SEQUENCE
EV_WIDGET_ACTION_SEQUENCES_I
ensure EV_WIDGET_ACTION_SEQUENCES_I
not_void: Result /= Void
pointer_leave_actions: EV_NOTIFY_ACTION_SEQUENCE
EV_WIDGET_ACTION_SEQUENCES_I
ensure EV_WIDGET_ACTION_SEQUENCES_I
not_void: Result /= Void
pointer_motion_actions: EV_POINTER_MOTION_ACTION_SEQUENCE
EV_WIDGET_ACTION_SEQUENCES_I
ensure EV_WIDGET_ACTION_SEQUENCES_I
not_void: Result /= Void
resize_actions: EV_GEOMETRY_ACTION_SEQUENCE
EV_WIDGET_ACTION_SEQUENCES_I
ensure EV_WIDGET_ACTION_SEQUENCES_I
not_void: Result /= Void
feature
io: STD_FILES
ANY
out: STRING_8
ANYtagged_out
ANY
print (some: ANY)
`some'
ANY
frozen tagged_out: STRING_8
ANYout
ANY
feature
operating_environment: OPERATING_ENVIRONMENT
ANY
feature
has_capture: BOOLEAN
EV_WIDGET_I
has_focus: BOOLEAN
EV_WIDGET_I
is_displayed: BOOLEAN
`Current'
`Current'
EV_WIDGET_I
is_show_requested: BOOLEAN
`Current'
is_displayed
EV_WIDGET_I
invariant
EV_ANY_I
interface_coupled: is_usable implies interface /= Void and then interface.implementation = Current
base_make_called: base_make_called
ANY
reflexive_equality: standard_is_equal (Current)
reflexive_conformance: conforms_to (Current)
EV_WIDGET_I
is_displayed_implies_show_requested: is_usable and is_displayed implies is_show_requested
EV_PICK_AND_DROPABLE_I
user_interface_modes_mutually_exclusive: mode_is_pick_and_drop.to_integer + mode_is_drag_and_drop.to_integer + mode_is_target_menu.to_integer = 1
pebble_function_takes_two_integer_open_operands: pebble_function /= Void implies pebble_function.valid_operands ([1, 1])
EV_DOCKABLE_SOURCE_I
widget_or_item_source: not (widget_source_being_docked /= Void and item_source_being_docked /= Void)
dock_executing: is_dock_executing implies widget_source_being_docked /= Void or item_source_being_docked /= Void
EV_POSITIONED_I
minimum_width_positive_or_zero: is_usable implies minimum_width >= 0
minimum_height_positive_or_zero: is_usable implies minimum_height >= 0
indexing
copyright: "Copyright (c) 1984-2006, Eiffel Software and others"
license: "Eiffel Forum License v2 (see http://www.eiffel.com/licensing/forum.txt)"
source: "[
Eiffel Software
356 Storke Road, Goleta, CA 93117 USA
Telephone 805-685-1006, Fax 805-685-6869
Website http://www.eiffel.com
Customer support http://support.eiffel.com
]"
end EV_DRAWING_AREA_I