78class SoMenuItem :
public SoDialogViz
81 SO_DG_HEADER(SoMenuItem);
87 virtual void buildMenu(
void* parent,
SbBool isActive2d,
int index = -1);
88 static void initClass();
89 static void exitClass();
90 virtual void menuEvent(
void* ,
int ) {};
91 virtual void updateFromSensor(
SoSensor* sensor);
94 virtual void destroyNoDeleteMenuItem() {};
105 static char buildTitleForMotifMenu(
const SbString& inString,
SbString& outString);
107 static SbString getKeyCombination(
const SbString& inString, SoMenuItem* mi,
unsigned int id = 0);
109 virtual ~SoMenuItem();
115 static char* MenuItem;
116 static void change3DSkin();
117 static SbBool isSkinLoaded();
118 static void setSkinLoaded(
SbBool loaded);
121 SO_DG_CATALOG_ENTRY_HEADER( itemFrameSep );
122 SO_DG_CATALOG_ENTRY_HEADER( frame );
123 SO_DG_CATALOG_ENTRY_HEADER( labelSep );
124 SO_DG_CATALOG_ENTRY_HEADER( labelProp );
128 SoTranslation* menuItemFrameTranslation, *menuItemLabelTranslation;
131 virtual void change3DLabel();
135 static SbBool m_isSkinLoaded;
137 void create3DItem(
int index);