45e9809aff7304721fddb95654901b32195c9c7avboxsync/************************************************************
45e9809aff7304721fddb95654901b32195c9c7avboxsyncCopyright (c) 1993 by Silicon Graphics Computer Systems, Inc.
45e9809aff7304721fddb95654901b32195c9c7avboxsyncPermission to use, copy, modify, and distribute this
45e9809aff7304721fddb95654901b32195c9c7avboxsyncsoftware and its documentation for any purpose and without
45e9809aff7304721fddb95654901b32195c9c7avboxsyncfee is hereby granted, provided that the above copyright
45e9809aff7304721fddb95654901b32195c9c7avboxsyncnotice appear in all copies and that both that copyright
45e9809aff7304721fddb95654901b32195c9c7avboxsyncnotice and this permission notice appear in supporting
45e9809aff7304721fddb95654901b32195c9c7avboxsyncdocumentation, and that the name of Silicon Graphics not be
45e9809aff7304721fddb95654901b32195c9c7avboxsyncused in advertising or publicity pertaining to distribution
45e9809aff7304721fddb95654901b32195c9c7avboxsyncof the software without specific prior written permission.
45e9809aff7304721fddb95654901b32195c9c7avboxsyncSilicon Graphics makes no representation about the suitability
45e9809aff7304721fddb95654901b32195c9c7avboxsyncof this software for any purpose. It is provided "as is"
45e9809aff7304721fddb95654901b32195c9c7avboxsyncwithout any express or implied warranty.
45e9809aff7304721fddb95654901b32195c9c7avboxsyncSILICON GRAPHICS DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS
45e9809aff7304721fddb95654901b32195c9c7avboxsyncSOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
45e9809aff7304721fddb95654901b32195c9c7avboxsyncAND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL SILICON
45e9809aff7304721fddb95654901b32195c9c7avboxsyncGRAPHICS BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL
45e9809aff7304721fddb95654901b32195c9c7avboxsyncDAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE,
45e9809aff7304721fddb95654901b32195c9c7avboxsyncDATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
45e9809aff7304721fddb95654901b32195c9c7avboxsyncOR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH
45e9809aff7304721fddb95654901b32195c9c7avboxsyncTHE USE OR PERFORMANCE OF THIS SOFTWARE.
45e9809aff7304721fddb95654901b32195c9c7avboxsync********************************************************/
45e9809aff7304721fddb95654901b32195c9c7avboxsync#define XkbAddGeomOverlayRow SrvXkbAddGeomOverlayRow
45e9809aff7304721fddb95654901b32195c9c7avboxsync#define XkbAddGeomOverlayKey SrvXkbAddGeomOverlayKey
45e9809aff7304721fddb95654901b32195c9c7avboxsync#define XkbAllocGeomKeyAliases SrvXkbAllocGeomKeyAliases
45e9809aff7304721fddb95654901b32195c9c7avboxsync#define XkbAllocGeomOutlines SrvXkbAllocGeomOutlines
45e9809aff7304721fddb95654901b32195c9c7avboxsync#define XkbAllocGeomSectionDoodads SrvXkbAllocGeomSectionDoodads
45e9809aff7304721fddb95654901b32195c9c7avboxsync#define XkbAllocGeomSections SrvXkbAllocGeomSections
45e9809aff7304721fddb95654901b32195c9c7avboxsync#define XkbAllocGeomOverlays SrvXkbAllocGeomOverlays
45e9809aff7304721fddb95654901b32195c9c7avboxsync#define XkbAllocGeomOverlayRows SrvXkbAllocGeomOverlayRows
45e9809aff7304721fddb95654901b32195c9c7avboxsync#define XkbAllocGeomOverlayKeys SrvXkbAllocGeomOverlayKeys
45e9809aff7304721fddb95654901b32195c9c7avboxsync#define XkbFreeGeomKeyAliases SrvXkbFreeGeomKeyAliases
45e9809aff7304721fddb95654901b32195c9c7avboxsync#define XkbFreeGeomProperties SrvXkbFreeGeomProperties
45e9809aff7304721fddb95654901b32195c9c7avboxsync#define XkbFreeGeomOverlayKeys SrvXkbFreeGeomOverlayKeys
45e9809aff7304721fddb95654901b32195c9c7avboxsync#define XkbFreeGeomOverlayRows SrvXkbFreeGeomOverlayRows
45e9809aff7304721fddb95654901b32195c9c7avboxsync#define XkbOutlineIndex(s,o) ((int)((o)-&(s)->outlines[0]))
45e9809aff7304721fddb95654901b32195c9c7avboxsync#define XkbShapeDoodadColor(g,d) (&(g)->colors[(d)->color_ndx])
45e9809aff7304721fddb95654901b32195c9c7avboxsync#define XkbShapeDoodadShape(g,d) (&(g)->shapes[(d)->shape_ndx])
45e9809aff7304721fddb95654901b32195c9c7avboxsync#define XkbSetShapeDoodadColor(g,d,c) ((d)->color_ndx= (c)-&(g)->colors[0])
45e9809aff7304721fddb95654901b32195c9c7avboxsync#define XkbSetShapeDoodadShape(g,d,s) ((d)->shape_ndx= (s)-&(g)->shapes[0])
45e9809aff7304721fddb95654901b32195c9c7avboxsync#define XkbTextDoodadColor(g,d) (&(g)->colors[(d)->color_ndx])
45e9809aff7304721fddb95654901b32195c9c7avboxsync#define XkbSetTextDoodadColor(g,d,c) ((d)->color_ndx= (c)-&(g)->colors[0])
45e9809aff7304721fddb95654901b32195c9c7avboxsync#define XkbIndicatorDoodadShape(g,d) (&(g)->shapes[(d)->shape_ndx])
45e9809aff7304721fddb95654901b32195c9c7avboxsync#define XkbIndicatorDoodadOnColor(g,d) (&(g)->colors[(d)->on_color_ndx])
45e9809aff7304721fddb95654901b32195c9c7avboxsync#define XkbIndicatorDoodadOffColor(g,d) (&(g)->colors[(d)->off_color_ndx])
45e9809aff7304721fddb95654901b32195c9c7avboxsync#define XkbLogoDoodadColor(g,d) (&(g)->colors[(d)->color_ndx])
45e9809aff7304721fddb95654901b32195c9c7avboxsync#define XkbLogoDoodadShape(g,d) (&(g)->shapes[(d)->shape_ndx])
45e9809aff7304721fddb95654901b32195c9c7avboxsync#define XkbSetLogoDoodadColor(g,d,c) ((d)->color_ndx= (c)-&(g)->colors[0])
45e9809aff7304721fddb95654901b32195c9c7avboxsync#define XkbSetLogoDoodadShape(g,d,s) ((d)->shape_ndx= (s)-&(g)->shapes[0])
45e9809aff7304721fddb95654901b32195c9c7avboxsync#define XkbKeyShape(g,k) (&(g)->shapes[(k)->shape_ndx])
45e9809aff7304721fddb95654901b32195c9c7avboxsync#define XkbKeyColor(g,k) (&(g)->colors[(k)->color_ndx])
45e9809aff7304721fddb95654901b32195c9c7avboxsync#define XkbSetKeyShape(g,k,s) ((k)->shape_ndx= (s)-&(g)->shapes[0])
45e9809aff7304721fddb95654901b32195c9c7avboxsync#define XkbSetKeyColor(g,k,c) ((k)->color_ndx= (c)-&(g)->colors[0])
45e9809aff7304721fddb95654901b32195c9c7avboxsync#define XkbGeomColorIndex(g,c) ((int)((c)-&(g)->colors[0]))
45e9809aff7304721fddb95654901b32195c9c7avboxsync char * /* name */,
45e9809aff7304721fddb95654901b32195c9c7avboxsync char * /* value */
45e9809aff7304721fddb95654901b32195c9c7avboxsync char * /* alias */,
45e9809aff7304721fddb95654901b32195c9c7avboxsync char * /* real */
45e9809aff7304721fddb95654901b32195c9c7avboxsync char * /* spec */,
45e9809aff7304721fddb95654901b32195c9c7avboxsync unsigned int /* pixel */
45e9809aff7304721fddb95654901b32195c9c7avboxsync int /* sz_points */
45e9809aff7304721fddb95654901b32195c9c7avboxsync int /* sz_outlines */
45e9809aff7304721fddb95654901b32195c9c7avboxsync int /* sz_keys */
45e9809aff7304721fddb95654901b32195c9c7avboxsync int /* sz_rows */,
45e9809aff7304721fddb95654901b32195c9c7avboxsync int /* sz_doodads */,
45e9809aff7304721fddb95654901b32195c9c7avboxsync int /* sz_overlays */
45e9809aff7304721fddb95654901b32195c9c7avboxsync int /* sz_rows */
45e9809aff7304721fddb95654901b32195c9c7avboxsync int /* row_under */,
45e9809aff7304721fddb95654901b32195c9c7avboxsync int /* sz_keys */
45e9809aff7304721fddb95654901b32195c9c7avboxsync char * /* over */,
45e9809aff7304721fddb95654901b32195c9c7avboxsync char * /* under */
45e9809aff7304721fddb95654901b32195c9c7avboxsync int /* first */,
45e9809aff7304721fddb95654901b32195c9c7avboxsync int /* count */,
45e9809aff7304721fddb95654901b32195c9c7avboxsync int /* first */,
45e9809aff7304721fddb95654901b32195c9c7avboxsync int /* count */,
45e9809aff7304721fddb95654901b32195c9c7avboxsync int /* nDoodads */,
45e9809aff7304721fddb95654901b32195c9c7avboxsync int /* first */,
45e9809aff7304721fddb95654901b32195c9c7avboxsync int /* count */,
45e9809aff7304721fddb95654901b32195c9c7avboxsync int /* first */,
45e9809aff7304721fddb95654901b32195c9c7avboxsync int /* count */,
45e9809aff7304721fddb95654901b32195c9c7avboxsync int /* first */,
45e9809aff7304721fddb95654901b32195c9c7avboxsync int /* count */,
45e9809aff7304721fddb95654901b32195c9c7avboxsync int /* first */,
45e9809aff7304721fddb95654901b32195c9c7avboxsync int /* count */,
45e9809aff7304721fddb95654901b32195c9c7avboxsync int /* first */,
45e9809aff7304721fddb95654901b32195c9c7avboxsync int /* count */,
45e9809aff7304721fddb95654901b32195c9c7avboxsync int /* first */,
45e9809aff7304721fddb95654901b32195c9c7avboxsync int /* count */,
45e9809aff7304721fddb95654901b32195c9c7avboxsync int /* first */,
45e9809aff7304721fddb95654901b32195c9c7avboxsync int /* count */,
45e9809aff7304721fddb95654901b32195c9c7avboxsync int /* first */,
45e9809aff7304721fddb95654901b32195c9c7avboxsync int /* count */,
45e9809aff7304721fddb95654901b32195c9c7avboxsync int /* first */,
45e9809aff7304721fddb95654901b32195c9c7avboxsync int /* count */,
45e9809aff7304721fddb95654901b32195c9c7avboxsync int /* first */,
45e9809aff7304721fddb95654901b32195c9c7avboxsync int /* count */,
45e9809aff7304721fddb95654901b32195c9c7avboxsync unsigned int /* which */,
45e9809aff7304721fddb95654901b32195c9c7avboxsync int /* nProps */
45e9809aff7304721fddb95654901b32195c9c7avboxsync int /* nAliases */
45e9809aff7304721fddb95654901b32195c9c7avboxsync int /* nColors */
45e9809aff7304721fddb95654901b32195c9c7avboxsync int /* nShapes */
45e9809aff7304721fddb95654901b32195c9c7avboxsync int /* nSections */
45e9809aff7304721fddb95654901b32195c9c7avboxsync int /* num_needed */
45e9809aff7304721fddb95654901b32195c9c7avboxsync int /* num_needed */
45e9809aff7304721fddb95654901b32195c9c7avboxsync int /* num_needed */
45e9809aff7304721fddb95654901b32195c9c7avboxsync int /* nDoodads */
45e9809aff7304721fddb95654901b32195c9c7avboxsync int /* nDoodads */
45e9809aff7304721fddb95654901b32195c9c7avboxsync int /* nOL */
45e9809aff7304721fddb95654901b32195c9c7avboxsync int /* nRows */
45e9809aff7304721fddb95654901b32195c9c7avboxsync int /* nPts */
45e9809aff7304721fddb95654901b32195c9c7avboxsync int /* nKeys */
45e9809aff7304721fddb95654901b32195c9c7avboxsyncextern char *
45e9809aff7304721fddb95654901b32195c9c7avboxsync char * /* under */
45e9809aff7304721fddb95654901b32195c9c7avboxsync#endif /* _XKBGEOM_H_ */