Lines Matching refs:char_width
294 …handle->char_width = (u16)(((handle->pixel_width)/FONT_CHAR_WIDTH)-1); // Save a column for p… in DEMOWinCreateWindow()
297 …handle->x_cal = (u16)((handle->pixel_width - (handle->char_width * FONT_CHAR_WIDTH) + 1) / … in DEMOWinCreateWindow()
312 OSReport("char_width : %4d\n", handle->char_width); in DEMOWinCreateWindow()
337 … handle->buffer = (u8 *)__DEMOWin_alloc(sizeof(u8) * handle->total_lines * handle->char_width); in DEMOWinCreateWindow()
340 … memset((void *)(handle->buffer), 0x20, sizeof(u8) * handle->total_lines * handle->char_width); in DEMOWinCreateWindow()
536 … index = (u16)(handle->curr_output_line * handle->char_width + handle->curr_output_col); in DEMOWinLogPrintf()
537 memset((void *)(&handle->buffer[index]), 0x20, sizeof(u8) * handle->char_width); in DEMOWinLogPrintf()
542 … index = (u16)(handle->curr_output_line * handle->char_width + handle->curr_output_col); in DEMOWinLogPrintf()
547 if (handle->curr_output_col >= handle->char_width) in DEMOWinLogPrintf()
554 … index = (u16)(handle->curr_output_line * handle->char_width + handle->curr_output_col); in DEMOWinLogPrintf()
555 memset((void *)(&handle->buffer[index]), 0x20, sizeof(u8) * handle->char_width); in DEMOWinLogPrintf()
588 if ((row >= handle->char_height) || (col >= handle->char_width)) in DEMOWinPrintfXY()
606 string[handle->char_width - col] = 0; in DEMOWinPrintfXY()
608 index = (u16)(buffer_row * handle->char_width + col); in DEMOWinPrintfXY()
775 index = (u16)(buffer_row * handle->char_width); in DEMOWinClearRow()
777 for (i=0; i<handle->char_width; i++) in DEMOWinClearRow()
817 index = (u16)(buffer_row * handle->char_width); in DEMOWinClearWindow()
818 memset((void *)(&handle->buffer[index]), 0x20, sizeof(u8) * handle->char_width); in DEMOWinClearWindow()
845 memset(handle->buffer, 0x20, sizeof(u8) * handle->total_lines * handle->char_width); in DEMOWinClearBuffer()
1016 index = (u16)(n * ptr->char_width); in DEMOWinRefresh()
1021 …Win_puts_n((s16)(ptr->x1+ptr->x_cal), (s16)y, (s16)ptr->priority, ptr->char_width, (char *)(&ptr->… in DEMOWinRefresh()
1025 index = (u16)(n * ptr->char_width); // Recalc index in DEMOWinRefresh()