// Rotary - we do this "pre-draw" of all of our possible selections, that will // eliminate the "flicker" on the first selection of the item, because we will have // already drawn the item one time before (here). void Rotary::draw() { if (preDrawSelectList) { int start = 1; Basic::Pair* p = findByIndex(start); while (p != 0) { BasicGL::Graphic* g = dynamic_cast<BasicGL::Graphic*>(p->object()); if (g != 0) g->draw(); p = findByIndex(++start); } preDrawSelectList = false; } BaseClass::draw(); }