Lines Matching refs:char_width
297 …handle->char_width = (u16)(((handle->pixel_width)/FONT_CHAR_WIDTH)-1); // Save a column for p… in DEMOWinCreateWindow()
300 …handle->x_cal = (u16)((handle->pixel_width - (handle->char_width * FONT_CHAR_WIDTH) + 1) / … in DEMOWinCreateWindow()
315 OSReport("char_width : %4d\n", handle->char_width); in DEMOWinCreateWindow()
340 … handle->buffer = (u8 *)__DEMOWin_alloc(sizeof(u8) * handle->total_lines * handle->char_width); in DEMOWinCreateWindow()
343 … memset((void *)(handle->buffer), 0x20, sizeof(u8) * handle->total_lines * handle->char_width); in DEMOWinCreateWindow()
539 … index = (u16)(handle->curr_output_line * handle->char_width + handle->curr_output_col); in DEMOWinLogPrintf()
540 memset((void *)(&handle->buffer[index]), 0x20, sizeof(u8) * handle->char_width); in DEMOWinLogPrintf()
545 … index = (u16)(handle->curr_output_line * handle->char_width + handle->curr_output_col); in DEMOWinLogPrintf()
550 if (handle->curr_output_col >= handle->char_width) in DEMOWinLogPrintf()
557 … index = (u16)(handle->curr_output_line * handle->char_width + handle->curr_output_col); in DEMOWinLogPrintf()
558 memset((void *)(&handle->buffer[index]), 0x20, sizeof(u8) * handle->char_width); in DEMOWinLogPrintf()
591 if ((row >= handle->char_height) || (col >= handle->char_width)) in DEMOWinPrintfXY()
609 string[handle->char_width - col] = 0; in DEMOWinPrintfXY()
611 index = (u16)(buffer_row * handle->char_width + col); in DEMOWinPrintfXY()
778 index = (u16)(buffer_row * handle->char_width); in DEMOWinClearRow()
780 for (i=0; i<handle->char_width; i++) in DEMOWinClearRow()
820 index = (u16)(buffer_row * handle->char_width); in DEMOWinClearWindow()
821 memset((void *)(&handle->buffer[index]), 0x20, sizeof(u8) * handle->char_width); in DEMOWinClearWindow()
848 memset(handle->buffer, 0x20, sizeof(u8) * handle->total_lines * handle->char_width); in DEMOWinClearBuffer()
1019 index = (u16)(n * ptr->char_width); in DEMOWinRefresh()
1024 …Win_puts_n((s16)(ptr->x1+ptr->x_cal), (s16)y, (s16)ptr->priority, ptr->char_width, (char *)(&ptr->… in DEMOWinRefresh()
1028 index = (u16)(n * ptr->char_width); // Recalc index in DEMOWinRefresh()