2.2.1.3 Palette Object
The Palette Object specifies the colors in a logical palette.
|
|
|
|
|
|
|
|
|
|
1 |
|
|
|
|
|
|
|
|
|
2 |
|
|
|
|
|
|
|
|
|
3 |
|
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Start |
NumberOfEntries |
||||||||||||||||||||||||||||||
aPaletteEntries (variable) |
|||||||||||||||||||||||||||||||
... |
Start (2 bytes): A 16-bit unsigned integer that defines the offset into the Palette Object when used with the META_SETPALENTRIES and META_ANIMATEPALETTE record types. When used with META_CREATEPALETTE record type, it MUST be 0x0300.
NumberOfEntries (2 bytes): A 16-bit unsigned integer that defines the number of objects in aPaletteEntries.
aPaletteEntries (variable): An array of NumberOfEntries 32-bit PaletteEntry Objects (section 2.2.2.13).