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

View* OglGui::ViewStrip::AddImage ( OGLIMAGE *  im,
ViewListener listener = 0 
) [inline]

Definition at line 224 of file ViewStrip.h.

References OglGui::View::GetOGLVIEW2D(), mAspectRatio, mNrIm, OglGui::OglWindow::mOglWnd, mViewListener, mViewTags, PlaceView(), SetScrollBarRange(), and OglGui::View::SetTags().

Referenced by Impala::Application::SDash::IdentificationPane::AddPositive(), Impala::Application::SDash::IdentificationPane::DisplayFunc(), Impala::Application::SDash::AlertWindow::SetSelectedImages(), and Impala::Application::SDash::AlertWindow::ToAttachments().

00225     {
00226         View        *view;
00227         OGLVIEW     *oV;
00228 
00229         if(!im) return 0;
00230 
00231         if(listener == 0 && mViewListener != 0)
00232             listener = mViewListener;
00233 
00234         view = new View(mOglWnd, im, 0, 0, 10, 10,listener);
00235         oV = view->GetOGLVIEW2D();
00236         if (oV->im && mAspectRatio <= 0)
00237             mAspectRatio = oV->im->w / (float) oV->im->h;
00238         PlaceView(oV);
00239         mNrIm++;
00240 
00241         viewSys.SetColor(oV, OGL_BORDER, oglBLACK);
00242 
00243         view->SetTags(mViewTags);
00244         SetScrollBarRange();
00245         return view;
00246     }

Here is the call graph for this function:


Generated on Fri Mar 19 12:10:44 2010 for ImpalaSrc by  doxygen 1.5.1