25#ifndef _SO_WIN_SLIDER_
26#define _SO_WIN_SLIDER_
32class SoFloatCallbackList;
53 const char *name = NULL,
73 const char *
getLabel()
const {
return labelStr; }
132 virtual void redraw();
133 virtual void processEvent(
XAnyEvent *anyevent);
134 virtual void sizeChanged(
const SbVec2s &newSize);
142 virtual void drawSliderTopRegion();
146 short slx1, sly1, slx2, sly2;
147 short thumx1, thumy1, thumx2, thumy2;
151 SoWidget mgrWidget, numberWidget, sliderWidget, labelWidget;
159 short position, posdiff;
162 void doLabelLayout();
163 void doNumberLayout();
166 SoFloatCallbackList *startCallbacks;
167 SoFloatCallbackList *changedCallbacks;
168 SoFloatCallbackList *finishCallbacks;
172 void constructorCommon(
SbBool buildNow);
#define TRUE
Possible value of SbBool.
void removeValueChangedCallback(SoWinSliderCB *f, void *userData=NULL)
static void textFieldCB(SoWinSlider *p, SoWidget hCtrl)
void SoWinSliderCB(void *userData, float val)
void setValue(float v, SbBool updateText=TRUE)
SbBool isNumericFieldVisible() const
void setNumericFieldVisible(SbBool b)
void addFinishCallback(SoWinSliderCB *f, void *userData=NULL)
void addValueChangedCallback(SoWinSliderCB *f, void *userData=NULL)
void removeStartCallback(SoWinSliderCB *f, void *userData=NULL)
const char * getLabel() const
void setSliderSize(const SbVec2s &size)
void interactivity(SbBool flag)
void setLabel(const char *newlabel)
void addStartCallback(SoWinSliderCB *f, void *userData=NULL)
void removeFinishCallback(SoWinSliderCB *f, void *userData=NULL)
void setNumberWidget(SoWidget hWnd)
SoWidget getNumberWidget()
<a href="IconLegend.html"><img src="extTGS.gif" alt="VSG extension" border="0"></a> Translates and r...