INDEX CLUSTER FEATURES SHORT FRAMES NO FRAMES

indexing

title: "Contains information about the button images of the toolbar.", "WEL: library of reusable components for Eiffel. ", "Based on WEL library for ISE Eiffel, used with permission. "
project: "Windows Eiffel Library"
copyright: "(c) 1986-1997 Interactive Software Engineering Inc. ", "Modifications and extensions: ", "(c) 1997 Object Tools ", "All rights reserved. Duplication and distribution prohibited", "May be used only with Visual Eiffel under terms of user ", "license "
cluster: wel
class WEL_TOOL_BAR_BITMAP
inherit

WEL_STRUCTURE
rename
make as structure_make
end

WEL_IDB_CONSTANTS
rename
hinst_commctrl as i_hinst_commctrl
export
{NONE}
all
{ANY}
valid_tool_bar_bitmap_constant
end
creation

make,
make_by_predefined_id
feature {NONE}-- Initialization

make (a_bitmap_id: INTEGER)
-- Initialize a toolbar bitmap with the resource bitmap
-- identifier `a_bitmap_id'.
require
positive_bitmap_id: a_bitmap_id > 0
ensure
bitmap_id_set: bitmap_id = a_bitmap_id

make_by_predefined_id (a_bitmap_id: INTEGER)
-- Initialize a toolbar bitmap with the system
-- predefined resource bitmap identifier `a_bitmap_id'.
-- See class WEL_IDB_CONSTANTS for `a_bitmap_id' values.
require
valid_tool_bar_bitmap_constant: valid_tool_bar_bitmap_constant (a_bitmap_id)
ensure
bitmap_id_set: bitmap_id = a_bitmap_id
feature -- Access

bitmap_id: INTEGER
-- Resource identifier of the bitmap resource that
-- contains the button images.

instance: WEL_INSTANCE
-- Instance that contains the bitmap resource
-- `bitmap_id'
ensure
result_not_void: Result /= void
feature -- Element change

set_bitmap_id (a_bitmap_id: INTEGER)
-- Set `bitmap_id' with `a_bitmap_id'.
require
positive_bitmap_id: a_bitmap_id > 0
ensure
bitmap_id_set: bitmap_id = a_bitmap_id

set_predefined_bitmap_id (a_bitmap_id: INTEGER)
-- Set `bitmap_id' with the system predefined resource
-- bitmap identifier `a_bitmap_id'.
-- See class WEL_IDB_CONSTANTS for `a_bitmap_id' values.
require
valid_tool_bar_bitmap_constant: valid_tool_bar_bitmap_constant (a_bitmap_id)
ensure
bitmap_id_set: bitmap_id = a_bitmap_id
feature -- Measurement

structure_size: INTEGER
-- Size to allocate (in bytes)
end -- class WEL_TOOL_BAR_BITMAP

INDEX CLUSTER FEATURES SHORT FRAMES NO FRAMES