• Home
  • Raw
  • Download

Lines Matching refs:draw_funcs_

64     : selection_(initial_selection), draw_funcs_(draw_func) {}  in Menu()
160 draw_funcs_.SetColor(UIElement::HEADER); in DrawHeader()
162 offset += draw_funcs_.DrawWrappedTextLines(x, y + offset, text_headers()); in DrawHeader()
164 offset += draw_funcs_.DrawTextLines(x, y + offset, text_headers()); in DrawHeader()
169 offset += draw_funcs_.DrawTextLine(x, y + offset, cur_selection_str, true); in DrawHeader()
179 draw_funcs_.SetColor(UIElement::MENU); in DrawItems()
182 offset += draw_funcs_.DrawHorizontalRule(y + offset) + 4; in DrawItems()
188 draw_funcs_.SetColor(long_press ? UIElement::MENU_SEL_BG_ACTIVE : UIElement::MENU_SEL_BG); in DrawItems()
191 draw_funcs_.DrawHighlightBar(0, y + offset - 2, screen_width, bar_height); in DrawItems()
194 draw_funcs_.SetColor(UIElement::MENU_SEL_FG); in DrawItems()
197 offset += draw_funcs_.DrawTextLine(x, y + offset, TextItem(i), bold); in DrawItems()
199 draw_funcs_.SetColor(UIElement::MENU); in DrawItems()
201 offset += draw_funcs_.DrawHorizontalRule(y + offset); in DrawItems()
234 draw_funcs_.SetColor(UIElement::HEADER); in DrawHeader()
235 draw_funcs_.DrawTextIcon(x, y, graphic_headers_.get()); in DrawHeader()
242 draw_funcs_.SetColor(UIElement::MENU); in DrawItems()
243 offset += draw_funcs_.DrawHorizontalRule(y + offset) + 4; in DrawItems()
248 draw_funcs_.SetColor(long_press ? UIElement::MENU_SEL_BG_ACTIVE : UIElement::MENU_SEL_BG); in DrawItems()
251 draw_funcs_.DrawHighlightBar(0, y + offset - 2, screen_width, bar_height); in DrawItems()
254 draw_funcs_.SetColor(UIElement::MENU_SEL_FG); in DrawItems()
256 draw_funcs_.DrawTextIcon(x, y + offset, item.get()); in DrawItems()
259 draw_funcs_.SetColor(UIElement::MENU); in DrawItems()
261 offset += draw_funcs_.DrawHorizontalRule(y + offset); in DrawItems()