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

void OglGui::SelectedViewControl::Init ( int  w,
int  h,
Window targetWnd 
) [inline, private]

Definition at line 85 of file SelectedViewControl.h.

References mImMover, mViewMover, mViewRotator, PreferredSize(), OglGui::Window::ScaleChildren(), OglGui::Window::SetAllowChildScaling(), OglGui::OglWindow::SetBorderType(), and OglGui::OglWindow::SetDimensions().

00086         {
00087         SetBorderType(BEV_ETCHED);
00088 
00089         int pW, pH;
00090         PreferredSize(pW,pH);
00091         SetDimensions(pW, pH);
00092         mViewMover = new ViewMoveControl(this, 2, 2, pW/3, pH, targetWnd, true);
00093         mViewRotator = new ViewRotateControl(this, 2+pW/3, 2, pW/3, pH, targetWnd);
00094         mImMover = new ImMoveControl(this, 2+(2*pW)/3, 2, pW/3, pH, targetWnd);
00095 
00096         ScaleChildren(0,true);
00097         SetAllowChildScaling(false);
00098         SetDimensions(w,h);
00099         }

Here is the call graph for this function:


Generated on Thu Jan 13 09:26:48 2011 for ImpalaSrc by  doxygen 1.5.1