INDEX CLUSTER FEATURES SHORT FRAMES NO FRAMES

indexing

title: "Device independent bitmap which can be created from a file. ", "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_DIB
inherit

WEL_STRUCTURE
rename
make as structure_make
end
creation

make_by_file
feature {NONE}-- Initialization

make_by_file (file: RAW_FILE)
-- Create the dib by reading `file'.
require
file_not_void: file /= void
file_exists: file.exists
file_opened: file.is_open_read
ensure
file_closed: file.is_closed
feature -- Access

color_count: INTEGER
-- How many colors in the dib?
require
exists: exists
ensure
positive_result: Result >= 0

width: INTEGER
-- Dib width
require
exists: exists
ensure
positive_result: Result >= 0

height: INTEGER
-- Dib height
require
exists: exists
ensure
positive_result: Result >= 0

item_bits: POINTER
require
exists: exists

palette: WEL_PALETTE
feature -- Basic operations

set_pal_color
-- Transform the dib to be compatible with
-- `Dib_pal_colors' mode.
require
exists: exists
end -- class WEL_DIB

INDEX CLUSTER FEATURES SHORT FRAMES NO FRAMES