Rev 1552 | Rev 1630 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
| Rev 1552 | Rev 1575 | ||
|---|---|---|---|
| Line 50... | Line 50... | ||
| 50 | keyfield_t *buffer; /**< Screen content - characters and its style. Used as cyclyc buffer. */ |
50 | keyfield_t *buffer; /**< Screen content - characters and its style. Used as cyclyc buffer. */ |
| 51 | unsigned int size_x, size_y; /**< Number of columns and rows */ |
51 | unsigned int size_x, size_y; /**< Number of columns and rows */ |
| 52 | unsigned int position_x, position_y; /**< Coordinates of last printed character for determining cursor position */ |
52 | unsigned int position_x, position_y; /**< Coordinates of last printed character for determining cursor position */ |
| 53 | style_t style; /**< Current style */ |
53 | style_t style; /**< Current style */ |
| 54 | unsigned int top_line; /**< Points to buffer[][] line that will be printed at screen as the first line */ |
54 | unsigned int top_line; /**< Points to buffer[][] line that will be printed at screen as the first line */ |
| - | 55 | unsigned char is_cursor_visible; /**< Cursor state - default is visible */ |
|
| 55 | } screenbuffer_t; |
56 | } screenbuffer_t; |
| 56 | 57 | ||
| 57 | /** Returns keyfield for position on screen. Screenbuffer->buffer is cyclic buffer so we must couted in index of the topmost line. |
58 | /** Returns keyfield for position on screen. Screenbuffer->buffer is cyclic buffer so we must couted in index of the topmost line. |
| 58 | * @param scr screenbuffer |
59 | * @param scr screenbuffer |
| 59 | * @oaram x position on screen |
60 | * @oaram x position on screen |