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

void Impala::Application::MediaTable::SelectionCollection::ProcessHighlights (  )  [inline]

Definition at line 238 of file SelectionCollection.h.

References Impala::Application::MediaTable::TableDataView::GetMarkFilter(), mItems, and mSource.

Referenced by AddCollectionToSelectionEvent(), EmptyCollectionEvent(), RemoveCollectionFromSelectionEvent(), SelectCollectionEvent(), and SelectCollectionInvertedEvent().

00239     {
00240         int id = mSource->GetMarkFilter();
00241         for (int x=0; x<mItems.size(); x++)
00242             mItems[x]->SetHighlighted(false);
00243 
00244         if (id==-1)
00245             mItems[0]->SetHighlighted(true);
00246         else
00247         {
00248             if (id== 0)  mItems[1]->SetHighlighted(true);
00249             if (id & 1)  mItems[2]->SetHighlighted(true);
00250             if (id & 2)  mItems[3]->SetHighlighted(true);
00251             if (id & 4)  mItems[4]->SetHighlighted(true);
00252             if (id & 8)  mItems[5]->SetHighlighted(true);
00253             if (id & 16) mItems[6]->SetHighlighted(true);
00254             if (id & 32) mItems[7]->SetHighlighted(true);
00255             if (id & 64) mItems[8]->SetHighlighted(true);
00256             if (id & 128) mItems[9]->SetHighlighted(true);
00257         }
00258    }

Here is the call graph for this function:


Generated on Thu Jan 13 09:15:25 2011 for ImpalaSrc by  doxygen 1.5.1