54#ifndef _SO_XTRESOURCE_
55#define _SO_XTRESOURCE_
57#include <X11/Intrinsic.h>
58#include <X11/Xresource.h>
168 XrmQuarkList nameList;
169 XrmQuarkList classList;
179 static SbBool getResource(Display *,
char *sName,
char *sClass,
unsigned short &u);
192 static SbBool getResource(Display *, XrmQuarkList qName, XrmQuarkList qClass,
short &i);
193 static SbBool getResource(Display *, XrmQuarkList qName, XrmQuarkList qClass,
unsigned short &u);
194 static SbBool getResource(Display *, XrmQuarkList qName, XrmQuarkList qClass,
char *&s);
196 static SbBool getResource(Display *, XrmQuarkList qName, XrmQuarkList qClass,
float &f);
Used to retrieve X resources for SoXt components and widgets .
~SoXtResource()
Destructor.
SbBool getResource(char *resName, char *resClass, SbBool &b)
Returns the X resource value for the specified resource name and class.
SbBool getResource(char *resName, char *resClass, unsigned short &u)
Returns the X resource value for the specified resource name and class.
SbBool getResource(char *resName, char *resClass, char *&s)
Returns the X resource value for the specified resource name and class.
SbBool getResource(char *resName, char *resClass, SbColor &c)
Returns the X resource value for the specified resource name and class.
SbBool getResource(char *resName, char *resClass, short &i)
Returns the X resource value for the specified resource name and class.
SbBool getResource(char *resName, char *resClass, float &f)
Returns the X resource value for the specified resource name and class.
SoXtResource(SoWidget w)
Constructor.