INDEX CLUSTER FEATURES SHORT FRAMES NO FRAMES

indexing

title: "Custom colors chosen in a choose color dialog box. ", "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_CUSTOM_COLORS
inherit

WEL_STRUCTURE
end
creation

make
feature -- Access

i_th_color (i: INTEGER): WEL_COLOR_REF
-- Color at the position `i'
require
i_large_enough: i >= 1
i_small_enough: i <= count
ensure
result_not_void: Result /= void

count: INTEGER
feature -- Element change

set_color (a_color: WEL_COLOR_REF; i: INTEGER)
-- Set `a_color' at the position `i'.
require
i_large_enough: i >= 1
i_small_enough: i <= count
a_color_exists: a_color /= void
ensure
color_set: i_th_color (i).is_equal (a_color)
feature -- Measurement

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

INDEX CLUSTER FEATURES SHORT FRAMES NO FRAMES