|
PatchworkOS
|
The screen buffer. More...
#include <log_screen.h>
Data Fields | |
| uint64_t | width |
| The width of the buffer in chars. | |
| uint64_t | height |
| The height of the buffer in chars. | |
| uint64_t | firstLineIndex |
| The index of the first line in the buffer. | |
| log_screen_pos_t | invalidStart |
| The start of the invalid region in the buffer, forms a rectangle with invalidEnd. | |
| log_screen_pos_t | invalidEnd |
| The end of the invalid region in the buffer, forms a rectangle with invalidStart. | |
| log_screen_line_t | lines [CONFIG_SCREEN_MAX_LINES] |
| The lines in the buffer, acts as a circular buffer. | |
The screen buffer.
Definition at line 55 of file log_screen.h.
| uint64_t log_screen_t::firstLineIndex |
The index of the first line in the buffer.
Definition at line 59 of file log_screen.h.
Referenced by log_screen_clear(), log_screen_get_line(), log_screen_init(), and log_screen_scroll().
| uint64_t log_screen_t::height |
The height of the buffer in chars.
Definition at line 58 of file log_screen.h.
Referenced by log_screen_advance_cursor(), log_screen_clear(), log_screen_get_height(), log_screen_get_line(), log_screen_init(), log_screen_invalidate(), and log_screen_scroll().
| log_screen_pos_t log_screen_t::invalidEnd |
The end of the invalid region in the buffer, forms a rectangle with invalidStart.
Definition at line 62 of file log_screen.h.
Referenced by log_screen_clear(), log_screen_flush(), log_screen_init(), log_screen_invalidate(), and log_screen_scroll().
| log_screen_pos_t log_screen_t::invalidStart |
The start of the invalid region in the buffer, forms a rectangle with invalidEnd.
Definition at line 61 of file log_screen.h.
Referenced by log_screen_clear(), log_screen_flush(), log_screen_init(), log_screen_invalidate(), and log_screen_scroll().
| log_screen_line_t log_screen_t::lines[CONFIG_SCREEN_MAX_LINES] |
The lines in the buffer, acts as a circular buffer.
Definition at line 63 of file log_screen.h.
Referenced by log_screen_clear(), log_screen_get_line(), and log_screen_init().
| uint64_t log_screen_t::width |
The width of the buffer in chars.
Definition at line 57 of file log_screen.h.
Referenced by log_screen_advance_cursor(), log_screen_get_width(), log_screen_init(), and log_screen_invalidate().