Definition at line 94 of file LenseControl.h. References OglGui::OglWindow::ConnectTo(), mLense, mSizeSlider, mZoomSlider, OglGui::Window::SetAllowChildScaling(), OglGui::OglWindow::SetBorderFillShaded(), OglGui::OglWindow::SetBorderType(), OglGui::Window::SetDisableOGLViewKeys(), OglGui::Window::SetDisableOGLViewMouse(), OglGui::Slider::SetIncrement(), OglGui::OglWindow::SetRoundness(), OglGui::Slider::SetShowValPerc(), OglGui::Slider::SetSliderListener(), and OglGui::Slider::SetThumbSizes(). 00095 { 00096 h -= 16; 00097 00098 SetBorderFillShaded(2); 00099 SetBorderType(BEV_RAISED); 00100 SetRoundness(16, 16, 16, 16); 00101 mZoomSlider = new Slider(this, 46, h/2, w-50, h/2-4, 0, maxZoom*100, 00102 100, BEV_RAISED, 16); 00103 mZoomSlider->SetIncrement(2); 00104 mZoomSlider->SetThumbSizes(40, RETAIN); 00105 mZoomSlider->SetShowValPerc(true); 00106 mZoomSlider->SetSliderListener(this, (void*)0); 00107 00108 mSizeSlider = new Slider(this, 46, 2, w-50, h/2-4, 0, 1000, 128, 00109 BEV_RAISED, 16); 00110 mSizeSlider->SetIncrement(2); 00111 mSizeSlider->SetThumbSizes(40, RETAIN); 00112 mSizeSlider->SetSliderListener(this, (void*)1); 00113 00114 mZoomSlider->ConnectTo(this); 00115 mSizeSlider->ConnectTo(this); 00116 00117 mLense = 0; 00118 00119 //ScaleChildren(); 00120 SetAllowChildScaling(false); 00121 00122 SetDisableOGLViewKeys(true); 00123 SetDisableOGLViewMouse(true); 00124 }
Here is the call graph for this function:
|