136 |
version specification that should be printed for --version. */ |
version specification that should be printed for --version. */ |
137 |
extern char *cons_extra_version; |
extern char *cons_extra_version; |
138 |
|
|
139 |
|
/* The user must define this function. Deallocate the scarce |
140 |
|
resources (like font glyph slots, colors etc) in the LENGTH entries |
141 |
|
of the screen matrix starting from position COL and ROW. This call |
142 |
|
is immediately followed by calls to cons_vcons_write that cover the |
143 |
|
same area. If there are no scarce resources, the caller might do |
144 |
|
nothing. */ |
145 |
|
void cons_vcons_clear (vcons_t vcons, size_t length, |
146 |
|
uint32_t col, uint32_t row); |
147 |
|
|
148 |
/* The user must define this function. Write LENGTH characters |
/* The user must define this function. Write LENGTH characters |
149 |
starting from STR on the virtual console VCONS, which is locked, |
starting from STR on the virtual console VCONS, which is locked, |
150 |
starting from position COL and ROW. */ |
starting from position COL and ROW. */ |
174 |
prepare a full refresh of the screen. In the latter case the user |
prepare a full refresh of the screen. In the latter case the user |
175 |
should not really perform any scrolling. Instead it might |
should not really perform any scrolling. Instead it might |
176 |
deallocate limited resources (like display glyph slots and palette |
deallocate limited resources (like display glyph slots and palette |
177 |
colors) if that helps to perform the subsequent write. It goes |
colors) if that helps to perform the subsequent write, just like |
178 |
without saying that the same deallocation, if any, should be |
cons_vcons_clear. It goes without saying that the same |
179 |
performed on the area that will be filled with the scrolled in |
deallocation, if any, should be performed on the area that will be |
180 |
content. |
filled with the scrolled in content. |
181 |
|
|
182 |
XXX Possibly need a function to invalidate scrollback buffer, or in |
XXX Possibly need a function to invalidate scrollback buffer, or in |
183 |
general to signal a switch of the console so state can be reset. |
general to signal a switch of the console so state can be reset. |