INDEX CLUSTER FEATURES SHORT FRAMES NO FRAMES

indexing

title: "Specifies the color and usage of an entry in a 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_ENTRY
inherit

WEL_STRUCTURE
rename
make as structure_make
end
creation

make,
make_by_pointer
feature {NONE}-- Initialization

make (a_red, a_green, a_blue, a_flags: INTEGER)
-- Make a palette entry with colors
-- `a_red', `a_green', `a_blue'
-- For `a_flags', see class WEL_PC_FLAGS_CONSTANTS
ensure
red_set: red = a_red
green_set: green = a_green
blue_set: blue = a_blue
flags_set: flags = a_flags
feature -- Access

red: INTEGER

green: INTEGER

blue: INTEGER

flags: INTEGER
feature -- Element change

set_red (a_red: INTEGER)
ensure
red_set: red = a_red

set_green (a_green: INTEGER)
ensure
green_set: green = a_green

set_blue (a_blue: INTEGER)
ensure
blue_set: blue = a_blue

set_flags (a_flags: INTEGER)
ensure
flags_set: flags = a_flags
feature -- Measurement

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

INDEX CLUSTER FEATURES SHORT FRAMES NO FRAMES