Lines Matching refs:index
444 ScreenMode::ModeAt(int32 index)
446 if (index < 0)
447 index = 0;
448 else if (index >= (int32)fModeCount)
449 index = fModeCount - 1;
452 mode.SetTo(fModeList[index]);
459 ScreenMode::DisplayModeAt(int32 index)
461 if (index < 0)
462 index = 0;
463 else if (index >= (int32)fModeCount)
464 index = fModeCount - 1;
466 return fModeList[index];