54#ifndef _SO_XT_MATERIAL_LIST_H_
55#define _SO_XT_MATERIAL_LIST_H_
57#include <X11/Intrinsic.h>
113 const char *name = NULL,
115 const char *dir = NULL);
128 void *userData = NULL)
136 void *userData = NULL)
153 virtual SbString getDefaultWidgetName()
const;
154 virtual SbString getDefaultTitle()
const;
155 virtual SbString getDefaultIconTitle()
const;
171 void fillInMaterialList();
179 void constructorCommon(
const char *dir,
SbBool buildNow);
#define TRUE
Possible value of SbBool.
#define SoXtMaterialListCB
void SoXtMaterialListCB(void *userData, const SoMaterial *mtl)
List of generic (void *) pointers.
Class for smart character strings.
Manages a list of callbacks and associated data.
void addCallback(SoCallbackListCB *f, void *userData=NULL)
Adds a function to the list of callback functions.
void removeCallback(SoCallbackListCB *f, void *userData=NULL)
Removes a function from the list of callback functions.
Surface material definition node.
Abstract base class for all Open Inventor components.
Component which lets you edit a material interactively.
SoXtMaterialList(SoWidget parent=NULL, const char *name=NULL, SbBool buildInsideParent=TRUE, const char *dir=NULL)
The constructor is passed a directory name which serves as the home directory for the material palett...
~SoXtMaterialList()
Destructor.
void removeCallback(SoXtMaterialListCB *f, void *userData=NULL)
Removes callback.
void addCallback(SoXtMaterialListCB *f, void *userData=NULL)
Registers functions that will be called whenever the user chooses a new material from the list.
void SoCallbackListCB(void *userData, void *callbackData)