/[hurd]/hurd/libcons/cons.h
ViewVC logotype

Diff of /hurd/libcons/cons.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.5 by marcus, Fri Sep 13 23:40:10 2002 UTC revision 1.6 by marcus, Tue Sep 17 11:47:15 2002 UTC
# Line 136  extern const char *cons_client_version; Line 136  extern const char *cons_client_version;
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.  */
# Line 165  void cons_vcons_set_cursor_status (vcons Line 174  void cons_vcons_set_cursor_status (vcons
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.

Legend:
Removed from v.1.5  
changed lines
  Added in v.1.6

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26