135 static void initClass();
136 static void exitClass();
138 virtual void destroyWidget();
139 virtual SoWidget getLabelWidget();
140 virtual void updateFromSensor(
SoSensor* sensor);
141 virtual void eventNotify(
unsigned int event, uintptr_t param);
143 void activateButton();
144 void updateLabelWidget();
145 void updateButtonWidget();
146 void applyDlgCptAuditor();
149 SoWidget m_buttonWidget;
154 virtual void changeEdgeStyle();
155 virtual void changeLabelVisibility();
156 virtual void changeEnable();
157 virtual void changeWidgetEnable(
SbBool state);
158 virtual void changeLabel();
159 virtual void changeLabelAlignment();
160 void changeButtonLabel();
161 void changeButtonState(
SbBool state);
168 void createLabelWidget();
169 void createButtonWidget();
170 virtual SbVec2i32 getComponentInitSize();
176 static char* DialogPushButton;
177 static void change3DSkin();
178 static SbBool isSkinLoaded();
179 static void setSkinLoaded(
SbBool loaded);
181 void set3DPressedGeometry(
SoNode* node);
182 void set3DReleasedGeometry(
SoNode* node);
185 SO_DG_CATALOG_ENTRY_HEADER(labelSep);
186 SO_DG_CATALOG_ENTRY_HEADER(labelSwitch);
187 SO_DG_CATALOG_ENTRY_HEADER(labelProp);
188 SO_DG_CATALOG_ENTRY_HEADER(frameSep);
189 SO_DG_CATALOG_ENTRY_HEADER(frameSwitch);
190 SO_DG_CATALOG_ENTRY_HEADER(released);
191 SO_DG_CATALOG_ENTRY_HEADER(pressed);
192 SO_DG_CATALOG_ENTRY_HEADER(buttonLabelSep);
193 SO_DG_CATALOG_ENTRY_HEADER(buttonLabelProp);
195 SoText3 *pushButtonButtonLabel, *pushButtonLabel;
196 SoTranslation *pushButtonLabelTranslation, *pushButtonFrameTranslation;
202 SbBox3f m_buttonLabelCachedBBox;
203 static SbBool m_isSkinLoaded;
205 void create3DDialogPushButton();
206 void update3DButton();
207 void update3DLabel();
209 void change3DButtonLabel();
210 virtual void change3DLabelVisibility();
211 virtual void change3DLabel();
212 virtual void change3DLabelAlignment();
213 void change3DButtonState(
SbBool state);
215 static void startCB3D(
void *,
SoDragger *inDragger );
216 static void finishCB3D(
void *,
SoDragger *inDragger );
217 void draggerStartCallback3D();
218 void draggerFinishCallback3D();