indexing
description: "Contains information about the button images of the toolbar."
status: "See notice at end of class."
date: "$Date$"
revision: "$Revision$"
class interface
WEL_TOOL_BAR_BITMAP
create
make (a_bitmap_id: INTEGER)
a_bitmap_id
require
positive_bitmap_id: a_bitmap_id > 0
ensure
bitmap_id_set: bitmap_id = a_bitmap_id
make_from_bitmap (a_bitmap: WEL_BITMAP)
require
bitmap_not_void: a_bitmap /= void
bitmap_exists: a_bitmap.exists
ensure
bitmap_set: bitmap_id = a_bitmap.to_integer
make_by_predefined_id (a_bitmap_id: INTEGER)
a_bitmap_id
WEL_IDB_CONSTANTSa_bitmap_id
require
valid_tool_bar_bitmap_constant: valid_tool_bar_bitmap_constant (a_bitmap_id)
ensure
bitmap_id_set: bitmap_id = a_bitmap_id
feature
bitmap_id: INTEGER
instance: WEL_INSTANCE
bitmap_id
ensure
result_not_void: Result /= void
item: POINTER
WEL_ANY
feature
structure_size: INTEGER
ensure WEL_STRUCTURE
positive_result: Result > 0
feature
exists: BOOLEAN
item
WEL_ANY
ensure WEL_ANY
Result = (item /= default_pointer)
shared: BOOLEAN
item
item
destroy_item
item
WEL_ANY
feature
valid_tool_bar_bitmap_constant (c: INTEGER): BOOLEAN
c
WEL_IDB_CONSTANTS
feature
set_shared
shared
WEL_ANY
ensure WEL_ANY
shared: shared
set_unshared
shared
WEL_ANY
ensure WEL_ANY
unshared: not shared
feature
set_bitmap_id (a_bitmap_id: INTEGER)
bitmap_ida_bitmap_id
require
positive_bitmap_id: a_bitmap_id > 0
ensure
bitmap_id_set: bitmap_id = a_bitmap_id
set_item (an_item: POINTER)
iteman_item
WEL_ANY
ensure WEL_ANY
item_set: item = an_item
set_predefined_bitmap_id (a_bitmap_id: INTEGER)
bitmap_id
a_bitmap_id
WEL_IDB_CONSTANTSa_bitmap_id
require
valid_tool_bar_bitmap_constant: valid_tool_bar_bitmap_constant (a_bitmap_id)
ensure
bitmap_id_set: bitmap_id = a_bitmap_id
feature
dispose
Current
Current
WEL_ANY
feature
to_integer: INTEGER
item
WEL_ANY
ensure WEL_ANY
Result = cwel_pointer_to_integer (item)
feature
initialize
WEL_STRUCTURE
require WEL_STRUCTURE
exists: exists
initialize_with_character (a_character: CHARACTER)
a_character
WEL_STRUCTURE
require WEL_STRUCTURE
exists: exists
memory_copy (source_pointer: POINTER; length: INTEGER)
lengthsource_pointeritem
WEL_STRUCTURE
require WEL_STRUCTURE
length_small_enough: length <= structure_size
length_large_enough: length > 0
exists: exists
feature
predefined_id: BOOLEAN
invariant
ANY
reflexive_equality: standard_is_equal (Current)
reflexive_conformance: conforms_to (Current)
end -- WEL_TOOL_BAR_BITMAP