155 virtual SoChildList *getChildren()
const;
158 virtual void destroyWidget();
159 static void initClass();
160 static void exitClass();
161 virtual void updateFromSensor(
SoSensor* sensor);
162 void* getMenu(
void* parent);
163 void destroyNoDeleteMenuItems();
164 void updateChildren();
165 virtual void updateAfterSceneGraphChange();
168 virtual void internalRemoveChild(
int index ) {
removeChild(index); }
171 virtual void internalAddChild( SoNode *child ) {
addChild(
dynamic_cast<SoMenuPopup*
>(child)); }
172 virtual int internalFindChild(
const SoNode *child )
const {
return findChild(
dynamic_cast<const SoMenuPopup*
>(child)); }
173 virtual void internalInsertChild( SoNode *child,
int newChildIndex ) {
insertChild(
dynamic_cast<SoMenuPopup*
>(child), newChildIndex); }
174 virtual SoNode *internalGetChild(
int index)
const {
return getChild(index); }
175 virtual void internalReplaceChild(
int index, SoNode *newChild) {
replaceChild(index,
dynamic_cast<SoMenuPopup*
>(newChild)); }
176 virtual void internalReplaceChild( SoNode *oldChild, SoNode *newChild) {
replaceChild(
dynamic_cast<SoMenuPopup*
>(oldChild),
dynamic_cast<SoMenuPopup*
>(newChild)); }
181 virtual SbBool readInstance(SoInput *in,
unsigned short flags);
184 virtual SbBool readChildren(SoInput *in);
187 virtual void getSize(SbVec2i32 &size, SbVec2i32 &min, SbVec2i32 &max);
190 int m_numberOfChildren;
194 void createMenuBar(SoWidget parent);
196 void updateMenuBar();
197 virtual void changeEnable();
198 virtual void applyAuditor(SoDialogViz* dlgCpt);
203 static char* MenuBar;
204 static void change3DSkin();
205 static SbBool isSkinLoaded();
206 static void setSkinLoaded(
SbBool loaded);
208 virtual void show3D(
SbBool show);
209 void show3DChildren(
SbBool show);
210 virtual void set3DParentTranslation(SbVec3f& tsl);
211 void update3DChildrenSize();
214 SO_DG_CATALOG_ENTRY_HEADER( frameSep );
215 SO_DG_CATALOG_ENTRY_HEADER( frame );
217 SoScale* menuBarFrameScale;
218 SoTranslation* menuBarFrameTranslation;
219 SoTransform* menuBarFrameTransform;
222 static SbBool m_isSkinLoaded;
223 float m_mBarCachedDepth;
227 void update3DChildren();
228 virtual void change3DPosition();
231 virtual void getBoundingBox(SoGetBoundingBoxAction* action);
232 virtual void rayPick(SoRayPickAction *action);
233 virtual void search(SoSearchAction *action);
234 virtual void write(SoWriteAction *action);