Note:
This function has been superseded by the
PEXChangeTableValues,
but it is maintained here for backwards compatibility with
PEXlib 5.1.
void PEXSetTableEntries(
Display *display,
PEXLookupTable table,
unsigned int start,
unsigned int count,
int table_type,
PEXPointer entries
)
- display
- A pointer to a display structure returned by a successful
XOpenDisplay call.
- table
- The resource identifier of the lookup table.
- start
- The index of the first table entry to be set.
- count
- The number of table entries to be set.
- table_type
- The type of lookup table entries to be set (see the
Description).
- entries
- An array of table entries.
None.
Invoke PEXSetTableEntries to set the lookup table
entries in the specified lookup table, starting at the
specified entry index.
The entries must point to an array of structures having
one of the following types:
- BadAlloc
- The implementation failed to allocate the resource.
- BadPEXColorType
- The specified color type is invalid or unsupported.
- BadPEXLookupTable
- The specified lookup table resource identifier is invalid,
or the table type is unsupported.
- BadValue
- The sum of start plus count is too large, a table entry
field contains an invalid value, or index 0 is invalid for
the specified table type.
For an overview, see Lookup Tables.