• Home
  • Raw
  • Download

Lines Matching refs:draw_funcs_

58     : selection_(initial_selection), draw_funcs_(draw_func) {}  in Menu()
154 draw_funcs_.SetColor(UIElement::HEADER); in DrawHeader()
156 offset += draw_funcs_.DrawWrappedTextLines(x, y + offset, text_headers()); in DrawHeader()
158 offset += draw_funcs_.DrawTextLines(x, y + offset, text_headers()); in DrawHeader()
163 offset += draw_funcs_.DrawTextLine(x, y + offset, cur_selection_str, true); in DrawHeader()
173 draw_funcs_.SetColor(UIElement::MENU); in DrawItems()
176 offset += draw_funcs_.DrawHorizontalRule(y + offset) + 4; in DrawItems()
182 draw_funcs_.SetColor(long_press ? UIElement::MENU_SEL_BG_ACTIVE : UIElement::MENU_SEL_BG); in DrawItems()
185 draw_funcs_.DrawHighlightBar(0, y + offset - 2, screen_width, bar_height); in DrawItems()
188 draw_funcs_.SetColor(UIElement::MENU_SEL_FG); in DrawItems()
191 offset += draw_funcs_.DrawTextLine(x, y + offset, TextItem(i), bold); in DrawItems()
193 draw_funcs_.SetColor(UIElement::MENU); in DrawItems()
195 offset += draw_funcs_.DrawHorizontalRule(y + offset); in DrawItems()
228 draw_funcs_.SetColor(UIElement::HEADER); in DrawHeader()
229 draw_funcs_.DrawTextIcon(x, y, graphic_headers_.get()); in DrawHeader()
236 draw_funcs_.SetColor(UIElement::MENU); in DrawItems()
237 offset += draw_funcs_.DrawHorizontalRule(y + offset) + 4; in DrawItems()
242 draw_funcs_.SetColor(long_press ? UIElement::MENU_SEL_BG_ACTIVE : UIElement::MENU_SEL_BG); in DrawItems()
245 draw_funcs_.DrawHighlightBar(0, y + offset - 2, screen_width, bar_height); in DrawItems()
248 draw_funcs_.SetColor(UIElement::MENU_SEL_FG); in DrawItems()
250 draw_funcs_.DrawTextIcon(x, y + offset, item.get()); in DrawItems()
253 draw_funcs_.SetColor(UIElement::MENU); in DrawItems()
255 offset += draw_funcs_.DrawHorizontalRule(y + offset); in DrawItems()