Lines Matching refs:offset

152   int offset = 0;  in DrawHeader()  local
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()
167 return offset; in DrawHeader()
171 int offset = 0; in DrawItems() local
176 offset += draw_funcs_.DrawHorizontalRule(y + offset) + 4; in DrawItems()
185 draw_funcs_.DrawHighlightBar(0, y + offset - 2, screen_width, bar_height); in DrawItems()
191 offset += draw_funcs_.DrawTextLine(x, y + offset, TextItem(i), bold); in DrawItems()
195 offset += draw_funcs_.DrawHorizontalRule(y + offset); in DrawItems()
197 return offset; in DrawItems()
234 int offset = 0; in DrawItems() local
237 offset += draw_funcs_.DrawHorizontalRule(y + offset) + 4; in DrawItems()
245 draw_funcs_.DrawHighlightBar(0, y + offset - 2, screen_width, bar_height); in DrawItems()
250 draw_funcs_.DrawTextIcon(x, y + offset, item.get()); in DrawItems()
251 offset += item->height; in DrawItems()
255 offset += draw_funcs_.DrawHorizontalRule(y + offset); in DrawItems()
257 return offset; in DrawItems()
262 int offset = 0; in Validate() local
263 if (!ValidateGraphicSurface(max_width, max_height, offset, graphic_headers)) { in Validate()
266 offset += graphic_headers->height; in Validate()
269 if (!ValidateGraphicSurface(max_width, max_height, offset, item)) { in Validate()
272 offset += item->height; in Validate()
636 int offset = 0; in DrawTextLines() local
638 offset += DrawTextLine(x, y + offset, line, false); in DrawTextLines()
640 return offset; in DrawTextLines()
647 int offset = 0; in DrawWrappedTextLines() local
666 offset += DrawTextLine(x, y + offset, sub, false); in DrawWrappedTextLines()
669 return offset; in DrawWrappedTextLines()