GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
XmtCreateColorTable(3) FreeBSD Library Functions Manual XmtCreateColorTable(3)

XmtCreateColorTable(), XmtDestroyColorTable(), XmtColorTableGetParent(), XmtColorTableSetParent() - create and manipulate color tables.

#include <Xmt/Color.h> XmtColorTable XmtCreateColorTable(XmtColorTable parent)

void XmtDestroyColorTable(XmtColorTable table)

XmtColorTable XmtColorTableGetParent(XmtColorTable table)

void XmtColorTableSetParent(XmtColorTable table, XmtColorTable parent)

INPUTS
table
The color table that is to be destroyed, or have its parent queried or set.
parent
The parent color table for the newly created color table or for the specified table.

RETURNS

XmtCreateColorTable() returns a newly created color table. XmtColorTableGetParent() returns the parent of the specified color table.

XmtCreateColorTable() returns a newly created XmtColorTable with no entries. An XmtColorTable maps symbolic color names to actual color names. Symbolic colors can be defined in an XmtColorTable with XmtRegisterColor() and related functions, and can be looked up with XmtLookupColorName().

The parent argument specifies another XmtColorTable to which the newly created table is ``chained''. XmtLookupColorName() looks up symbolic color names by first searching the specified color table, and then by searching its parent, its parent's parent, and so on up the chain, until a color table with a NULL parent is encountered.

XmtDestroyColorTable() frees memory associated with the specified XmtColorTable. Once this function is called, the specified color table should no longer be used.

XmtColorTableGetParent() returns the parent color table of table.

XmtColorTableSetParent() sets the parent of table to parent, thereby ``chaining'' the two table for color lookups with XmtLookupColorName().

Chapter 4, Using Color,
XmtLookupColorName(), XmtRegisterColor, XmtRegisterColors, XmtRegisterPixel, XmtRegisterStandardColors, XmtVaRegisterColors.
Motif Tools Xmt

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.