INDEX CLUSTER FEATURES SHORT FRAMES NO FRAMES

indexing

title: "Logical color palette. ", "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_PALETTE
inherit

WEL_GDI_ANY
end
creation

make,
make_by_pointer
feature {NONE}-- Initialization

make (a_log_palette: WEL_LOG_PALETTE)
-- Create a palette associated to `a_log_palette'
require
a_log_palette_not_void: a_log_palette /= void
feature -- Access

palette_index (i: INTEGER): WEL_COLOR_REF
-- Color number `i' of the palette
require
exists: exists
ensure
result_not_void: Result /= void
end -- class WEL_PALETTE

INDEX CLUSTER FEATURES SHORT FRAMES NO FRAMES