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

void Impala::Application::SDash::MonitorSelector::Init ( int  w,
int  h,
int  nCameras 
) [inline, private]

Definition at line 76 of file MonitorSelector.h.

References mCameraSquares, mHideOnSelect, mListener, OglGui::OglWindow::SetBackground(), OglGui::OglWindow::SetBorderType(), OglGui::Window::SetDoStateFeedback(), and OglGui::Window::SetWindowListener().

00077     {
00078         int camW = (w-(nCameras+1)*4)/nCameras;
00079 
00080         for (int i=0; i<3; i++)
00081         {
00082             mCameraSquares[i] = new Window(this,4+i*(camW+4),4,camW,h-8);
00083             mCameraSquares[i]->SetDoStateFeedback(true);
00084             mCameraSquares[i]->SetBorderType(BEV_RAISED);
00085             mCameraSquares[i]->SetBackground(oglBLACK);
00086             mCameraSquares[i]->SetWindowListener(this, i);
00087         }
00088         mListener = 0;
00089         mHideOnSelect = true;
00090     }

Here is the call graph for this function:


Generated on Thu Jan 13 09:16:05 2011 for ImpalaSrc by  doxygen 1.5.1