INDEX CLUSTER FEATURES SHORT FRAMES NO FRAMES

indexing

title: "Visual Eiffel Library.", "Win32 API: Color Functions"
project: "Visual Eiffel Win32 Library"
revision: "$Revision: 1.1 $"
copyright: "Copyright (C) 1996-2005 Object Tools Group"
license: "http://visual-eiffel.com/license"
cluster: winlib
class WAPI_COLOR_FUNCTIONS
inherit

WAPI_ERROR_SERVER
end
feature -- Access

CreateHalftonePalette (hdc: INTEGER): INTEGER
-- The 'CreateHalftonePalette' function creates a halftone palette
-- for the specified device context.
require
correct_hdc: hdc /= null_

CreatePalette (lplgpl: POINTER): INTEGER
-- The 'CreatePalette' function creates a logical color palette.
require
correct_lplgpl: lplgpl /= default_pointer

SelectPalette (hdc, hpal, bforcebackground: INTEGER): INTEGER
-- The 'SelectPalette' function selects the specified logical palette
-- into a device context.
require
correct_hdc: hdc /= null_

SetPaletteEntries (hpal, istart, centries: INTEGER; lppe: POINTER): INTEGER
-- The 'SetPaletteEntries' function sets RGB (red, green, blue)
-- color values and flags in a range of entries in a logical palette.
require
correct_lppe: lppe /= default_pointer

RealizePalette (hdc: INTEGER): INTEGER
-- The RealizePalette function maps palette entries from 
-- the current logical palette to the system palette
feature -- Implementation

wCreateHalftonePalette (hdc: INTEGER): INTEGER

wCreatePalette (lplgpl: POINTER): INTEGER

wSelectPalette (hdc, hpal, bforcebackground: INTEGER): INTEGER

wSetPaletteEntries (hpal, istart, centries: INTEGER; lppe: POINTER): INTEGER
end -- class WAPI_COLOR_FUNCTIONS

INDEX CLUSTER FEATURES SHORT FRAMES NO FRAMES