Home
last modified time | relevance | path

Searched refs:char_width (Results 1 – 2 of 2) sorted by relevance

/RvlSDK-3.2/build/libraries/demo/src/
DDEMOWin.c297 …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()
[all …]
/RvlSDK-3.2/include/demo/
DDEMOWin.h218 u16 char_width; // Width of window, in characters member
415 #define DEMOWinGetNumRows(h) ((h)->char_width)