Searched refs:total_lines (Results 1 – 2 of 2) sorted by relevance
327 handle->total_lines = (u16)(handle->char_height + handle->num_scroll_lines); in DEMOWinCreateWindow()343 … handle->buffer = (u8 *)__DEMOWin_alloc(sizeof(u8) * handle->total_lines * handle->char_width); in DEMOWinCreateWindow()346 … memset((void *)(handle->buffer), 0x20, sizeof(u8) * handle->total_lines * handle->char_width); in DEMOWinCreateWindow()537 … handle->curr_output_line = (u16)((handle->curr_output_line + 1) % handle->total_lines); in DEMOWinLogPrintf()538 … handle->curr_view_line = (u16)((handle->curr_view_line + 1) % handle->total_lines); in DEMOWinLogPrintf()556 … handle->curr_output_line = (u16)((handle->curr_output_line + 1) % handle->total_lines); in DEMOWinLogPrintf()557 … handle->curr_view_line = (u16)((handle->curr_view_line + 1) % handle->total_lines); in DEMOWinLogPrintf()607 … = (u16)( ((handle->curr_view_line + handle->total_lines) - (handle->char_height-1)) % handle->to… in DEMOWinPrintfXY()610 buffer_row = (u16)((buffer_row + row) % handle->total_lines); in DEMOWinPrintfXY()654 … n = (u16)(((handle->curr_view_line + handle->total_lines) - 1) % handle->total_lines); in DEMOWinScrollWindow()[all …]
222 u16 total_lines; // Total number of buffer lines (including visible) member