indexing
description: "Contains information about the window class."
legal: "See notice at end of class."
status: "See notice at end of class."
date: "$Date: 2006-03-22 23:29:03 -0800 (Wed, 22 Mar 2006) $"
revision: "$Revision: 57641 $"
class interface
WEL_WND_CLASS
create
make (a_class_name: STRING_GENERAL)
`a_class_name'
require
class_name_not_void: a_class_name /= Void
class_name_not_empty: not a_class_name.is_empty
ensure
style_set: style = 0
window_procedure_unset: not window_procedure_set
class_extra_set: class_extra = 0
window_extra_set: window_extra = 0
instance_set: instance.item = main_args.current_instance.item
icon_unset: not icon_set
cursor_unset: not cursor_set
background_unset: not background_set
menu_nameunset: not menu_name_set
class_name_set: class_name.is_equal (a_class_name)
atom_set: atom = 0
feature
atom: INTEGER_32
background: WEL_BRUSH
require
background_set: background_set
ensure
result_not_void: Result /= Void
result_exists: Result.exists
class_extra: INTEGER_32
ensure
positive_result: Result >= 0
class_name: STRING_32
ensure
result_not_void: Result /= Void
result_not_empty: not Result.is_empty
cursor: WEL_CURSOR
require
cursor_set: cursor_set
ensure
result_not_void: Result /= Void
result_exists: Result.exists
generating_type: STRING_8
ANY
generator: STRING_8
ANY
icon: WEL_ICON
require
icon_set: icon_set
ensure
result_not_void: Result /= Void
result_exists: Result.exists
instance: WEL_INSTANCE
require
instance_set: instance_set
ensure
result_not_void: Result /= Void
item: POINTER
WEL_ANY
menu_name: STRING_32
require
menu_name_set: menu_name_set
ensure
result_not_void: Result /= Void
style: INTEGER_32
window_extra: INTEGER_32
ensure
positive_result: Result >= 0
window_procedure: POINTER
require
window_procedure_set: window_procedure_set
ensure
Result /= default_pointer
feature
structure_size: INTEGER_32
ensure WEL_STRUCTURE
positive_result: Result > 0
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))
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
background_set: BOOLEAN
conforms_to (other: ANY): BOOLEAN
`other'
ANY
require ANY
other_not_void: other /= Void
cursor_set: BOOLEAN
exists: BOOLEAN
item
WEL_ANY
ensure WEL_ANY
Result = (item /= default_pointer)
icon_set: BOOLEAN
instance_set: BOOLEAN
menu_name_set: BOOLEAN
registered: BOOLEAN
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))
shared: BOOLEAN
item
item
destroy_item
item
WEL_ANY
window_procedure_set: BOOLEAN
feature
set_shared
shared
WEL_ANY
ensure WEL_ANY
shared: shared
set_unshared
shared
WEL_ANY
ensure WEL_ANY
unshared: not shared
feature
set_background (a_background: WEL_BRUSH)
background`a_background'
require
a_background_not_void: a_background /= Void
ensure
background_equal: background.item = a_background.item
set_class_extra (a_class_extra: INTEGER_32)
class_extra`a_class_extra'
require
positive_extra: a_class_extra >= 0
ensure
class_extra = a_class_extra
set_class_name (a_class_name: STRING_GENERAL)
class_name`a_class_name'
require
a_class_name_valid: a_class_name /= Void
a_class_name_not_empty: not a_class_name.is_empty
ensure
class_name_set: class_name.is_equal (a_class_name)
set_cursor (a_cursor: WEL_CURSOR)
cursor`a_cursor'
require
a_cursor_not_void: a_cursor /= Void
a_cursor_exists: a_cursor.exists
ensure
cursor_equal: cursor.item = a_cursor.item
set_icon (an_icon: WEL_ICON)
icon`an_icon'
require
an_icon_not_void: an_icon /= Void
an_icon_exists: an_icon.exists
ensure
icon_equal: icon.item = an_icon.item
set_instance (an_instance: WEL_INSTANCE)
instance`an_instance'
require
an_instance_not_void: an_instance /= Void
an_instance_exists: an_instance.exists
ensure
instance_equal: instance.item = an_instance.item
set_item (an_item: POINTER)
item`an_item'
WEL_ANY
ensure WEL_ANY
item_set: item = an_item
set_menu_name (a_menu_name: STRING_GENERAL)
menu_name`a_menu_name'
require
a_menu_name_valid: a_menu_name /= Void
ensure
menu_name_equal: menu_name.is_equal (a_menu_name)
set_style (a_style: INTEGER_32)
style`a_style'
ensure
style = a_style
set_window_extra (a_window_extra: INTEGER_32)
window_extra`a_window_extra'
require
positive_extra: a_window_extra >= 0
ensure
window_extra = a_window_extra
set_window_procedure (a_window_procedure: POINTER)
window_procedure`a_window_procedure'
ensure
window_procedure_equal: window_procedure = a_window_procedure
unset_background
ensure
background_unset: not background_set
unset_cursor
ensure
cursor_unset: not cursor_set
unset_icon
ensure
icon_unset: not icon_set
unset_menu_name
ensure
menu_name_unset: not menu_name_set
unset_window_procedure
ensure
window_procedure_unset: not window_procedure_set
feature
dispose
`Current'
`Current'
WEL_ANY
feature
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)
frozen twin: like Current
`Current'
twincopycopy
ANY
ensure ANY
twin_not_void: Result /= Void
is_equal: Result.is_equal (Current)
feature
copy (other: like Current)
`other'
WEL_STRUCTURE
require ANY
other_not_void: other /= Void
type_identity: same_type (other)
ensure ANY
is_equal: is_equal (other)
frozen default: like Current
ANY
frozen default_pointer: POINTER
`POINTER'
`p'default
`p'`POINTER'
ANY
default_rescue
ANY
frozen do_nothing
ANY
initialize
WEL_STRUCTURE
require WEL_STRUCTURE
exists: exists
initialize_with_character (a_character: CHARACTER_8)
`a_character'
WEL_STRUCTURE
require WEL_STRUCTURE
exists: exists
is_equal (other: like Current): BOOLEAN
`other'
WEL_STRUCTURE
require ANY
other_not_void: other /= Void
ensure ANY
symmetric: Result implies other.is_equal (Current)
consistent: standard_is_equal (other) implies Result
memory_copy (source_pointer: POINTER; length: INTEGER_32)
`length'`source_pointer'item
WEL_STRUCTURE
require WEL_STRUCTURE
length_small_enough: length <= structure_size
length_large_enough: length > 0
exists: exists
register
ensure
registered: registered
unregister
require
registered: registered
ensure
no_registered: not registered
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
invariant
ANY
reflexive_equality: standard_is_equal (Current)
reflexive_conformance: conforms_to (Current)
indexing
copyright: "Copyright (c) 1984-2006, Eiffel Software and others"
license: "Eiffel Forum License v2 (see http://www.eiffel.com/licensing/forum.txt)"
source: "[
Eiffel Software
356 Storke Road, Goleta, CA 93117 USA
Telephone 805-685-1006, Fax 805-685-6869
Website http://www.eiffel.com
Customer support http://support.eiffel.com
]"
end WEL_WND_CLASS