diff options
Diffstat (limited to 'winsup/cygwin/fhandler.h')
-rw-r--r-- | winsup/cygwin/fhandler.h | 15 |
1 files changed, 12 insertions, 3 deletions
diff --git a/winsup/cygwin/fhandler.h b/winsup/cygwin/fhandler.h index 0b930c3cd..200807895 100644 --- a/winsup/cygwin/fhandler.h +++ b/winsup/cygwin/fhandler.h @@ -1,7 +1,7 @@ /* fhandler.h Copyright 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, - 2007, 2008, 2009, 2010, 2011, 2012, 2013 Red Hat, Inc. + 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014 Red Hat, Inc. This file is part of Cygwin. @@ -1246,6 +1246,13 @@ enum ansi_intensity #define gotrparen 9 #define MAXARGS 10 +enum cltype +{ + cl_curr_pos = 1, + cl_disp_beg, + cl_disp_end +}; + class dev_console { WORD default_color, underline_color, dim_color; @@ -1286,7 +1293,7 @@ class dev_console { short Top, Bottom; } scroll_region; - struct + struct console_attrs { SHORT winTop; SHORT winBottom; @@ -1294,6 +1301,8 @@ class dev_console COORD dwBufferSize; COORD dwCursorPosition; WORD wAttributes; + int set_cl_x (cltype); + int set_cl_y (cltype); } info; COORD dwLastCursorPosition; @@ -1346,7 +1355,7 @@ private: /* Output calls */ void set_default_attr (); - void clear_screen (int, int, int, int); + void clear_screen (cltype, cltype, cltype, cltype); void scroll_screen (int, int, int, int, int, int); void cursor_set (bool, int, int); void cursor_get (int *, int *); |