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