Пример #1
0
void menus::drawList() {            //used to draw the list of items, and highlight the currently selected one
    display.setCursor(0, 10);
    drawListItem(mTime.getTitle(), 0);
    drawListItem("Reserved", 1);
    drawListItem("About", 2);
    drawListItem("Return", 3);
}
Пример #2
0
bool_t CC_CALL UIList::drawListIndexItem(Draw2D &_draw2d, const float _delta, cc_double_iterator_t *_itemData, int32_t _offset, int32_t index)
{
    return drawListItem(_draw2d, _delta, _itemData, _offset, select == index);
}