Home || Architecture || Video Search || Visual Search || Scripts || Applications || Important Messages || OGL || Src

void OglGui::Slider::Init ( int  minVal,
int  maxVal,
int  val,
int  borderType,
float  r 
) [inline, private]

Definition at line 472 of file Slider.h.

References mAutoDirection, mDrawBlendedThumb, mHorizontal, mIncrement, mIsPressed, mMaxVal, mMinVal, mPageIncrement, mPrecisionIdx, mShowTicks, mShowTickValue, mShowVal, mShowValNeedle, mShowValPerc, mSliderListener, mThumbH, mThumbR, mThumbW, mTickInterval, mUpsideDown, mVal, OglGui::OglWindow::SetBorderType(), OglGui::Window::SetDisableOGLViewKeys(), OglGui::Window::SetDisableOGLViewMouse(), and OglGui::OglWindow::SetRoundness().

00473     {
00474         SetBorderType(borderType);
00475         if (r != 0.0f)
00476             SetRoundness(r, r, r, r);
00477 
00478         mHorizontal = true;
00479         mAutoDirection = true;
00480         mMinVal = minVal;
00481         mMaxVal = maxVal;
00482         mVal = val;
00483         mIncrement = 1;
00484         mPageIncrement = 10;
00485         mIsPressed = false;
00486         mDrawBlendedThumb = false;
00487         mThumbW = 32;
00488         mThumbH = 16;
00489         mThumbR = 10.0f;
00490         mPrecisionIdx = 2;
00491         mShowValPerc = false;
00492         mShowVal = true;
00493         mShowValNeedle = true;
00494         mUpsideDown = false;
00495         mShowTicks = true;
00496         mShowTickValue = true;
00497         mTickInterval = (maxVal-minVal) / 10;
00498         mSliderListener = 0;
00499 
00500         SetDisableOGLViewKeys(true);
00501         SetDisableOGLViewMouse(true);
00502     }

Here is the call graph for this function:


Generated on Fri Mar 19 12:06:14 2010 for ImpalaSrc by  doxygen 1.5.1