1 /******************************************************************************
2 * to emulate the serial input and output of an 8051 controller *
3 * frontend.hh - ncurses frontend *
4 ******************************************************************************/
17 typedef struct COORDS_S COORDS;
24 typedef struct COORDINATES_S COORDINATES;
33 void AddStrOutWin(char *string);
34 void GetStrInWin(char *string);
35 void AddChOutWin(char b);
36 char GetChInWin(void);
40 COORDS win_c, inp_c, outp_c;
41 COORDINATES topleft, bottomright, current;
42 int middle_y, middle_x;