Lines Matching refs:offset

153   int offset = 0;  in DrawHeader()  local
157 offset += draw_funcs_.DrawWrappedTextLines(x, y + offset, text_headers()); in DrawHeader()
159 offset += draw_funcs_.DrawTextLines(x, y + offset, text_headers()); in DrawHeader()
164 offset += draw_funcs_.DrawTextLine(x, y + offset, cur_selection_str, true); in DrawHeader()
168 return offset; in DrawHeader()
172 int offset = 0; in DrawItems() local
177 offset += draw_funcs_.DrawHorizontalRule(y + offset) + 4; in DrawItems()
186 draw_funcs_.DrawHighlightBar(0, y + offset - 2, screen_width, bar_height); in DrawItems()
192 offset += draw_funcs_.DrawTextLine(x, y + offset, TextItem(i), bold); in DrawItems()
196 offset += draw_funcs_.DrawHorizontalRule(y + offset); in DrawItems()
198 return offset; in DrawItems()
235 int offset = 0; in DrawItems() local
238 offset += draw_funcs_.DrawHorizontalRule(y + offset) + 4; in DrawItems()
246 draw_funcs_.DrawHighlightBar(0, y + offset - 2, screen_width, bar_height); in DrawItems()
251 draw_funcs_.DrawTextIcon(x, y + offset, item.get()); in DrawItems()
252 offset += item->height; in DrawItems()
256 offset += draw_funcs_.DrawHorizontalRule(y + offset); in DrawItems()
258 return offset; in DrawItems()
263 int offset = 0; in Validate() local
264 if (!ValidateGraphicSurface(max_width, max_height, offset, graphic_headers)) { in Validate()
267 offset += graphic_headers->height; in Validate()
270 if (!ValidateGraphicSurface(max_width, max_height, offset, item)) { in Validate()
273 offset += item->height; in Validate()
639 int offset = 0; in DrawTextLines() local
641 offset += DrawTextLine(x, y + offset, line, false); in DrawTextLines()
643 return offset; in DrawTextLines()
650 int offset = 0; in DrawWrappedTextLines() local
669 offset += DrawTextLine(x, y + offset, sub, false); in DrawWrappedTextLines()
672 return offset; in DrawWrappedTextLines()