Lines Matching refs:i
79 for (size_t i = 0; i < items_count; ++i) { in TextMenu() local
80 text_items_.emplace_back(items[i].substr(0, max_item_length_)); in TextMenu()
179 for (size_t i = MenuStart(); i < MenuEnd(); ++i) { in DrawItems() local
181 if (i == selection()) { in DrawItems()
192 offset += draw_funcs_.DrawTextLine(x, y + offset, TextItem(i), bold); in DrawItems()
240 for (size_t i = 0; i < graphic_items_.size(); i++) { in DrawItems() local
241 auto& item = graphic_items_[i]; in DrawItems()
242 if (i == selection_) { in DrawItems()
428 for (int i = 0; i < max_stage; ++i) { in draw_background_locked() local
429 const auto& stage_surface = (i < stage) ? stage_marker_fill_ : stage_marker_empty_; in draw_background_locked()
726 for (size_t i = 0; i < title_lines_.size(); i++) { in draw_menu_and_text_buffer_locked() local
727 y += DrawTextLine(x, y, title_lines_[i], i == 0); in draw_menu_and_text_buffer_locked()
847 for (size_t i = 0; i < rows; ++i) { in Alloc2d() local
848 result[i] = new char[cols]; in Alloc2d()
849 memset(result[i], 0, cols); in Alloc2d()
1100 for (size_t i = 0; i < text_rows_; ++i) { in ClearText() local
1101 memset(text_[i], 0, text_cols_ + 1); in ClearText()