Definition at line 373 of file ImageSetIdxGrid.h. References FindIndexFwd(), mIdxs, mViews, and Impala::Application::DemoCamera2d::oglWnd. Referenced by SetSelected(). 00374 { 00375 if (idx < 0 || idx >= mIdxs.size()) 00376 return; 00377 int vIdx = FindIndexFwd(idx); 00378 if (vIdx >=0 && vIdx < mViews.size()) 00379 { 00380 if (mode) 00381 { 00382 ULONG col = oglSys.GetSelectColor(mViews[0]->oglWnd); 00383 viewSys.SetTags(mViews[vIdx],selectedTag); 00384 viewSys.SetColor(mViews[vIdx],OGL_BG,col); 00385 } 00386 else 00387 { 00388 viewSys.ClearTags(mViews[vIdx],selectedTag); 00389 viewSys.SetColor(mViews[vIdx],OGL_BG,0); 00390 } 00391 } 00392 }
Here is the call graph for this function:
|