| 44 | extern int key_dc; |
| 45 | |
| 46 | class ScreenPrinter { |
| 47 | public: |
| 48 | ScreenPrinter(): |
| 49 | M_headless(!isatty(fileno(stdout))), |
| 50 | M_last(false) |
| 51 | {}; |
| 52 | void redraw(); |
| 53 | void print_closing_stats(); |
| 54 | void print_to_file(FILE* f); |
| 55 | bool M_headless; |
| 56 | |
| 57 | private: |
| 58 | void get_lines(); |
| 59 | void draw_scenario_screen(); |
| 60 | void draw_tdm_screen(); |
| 61 | void draw_vars_screen(); |
| 62 | void draw_stats_screen(); |
| 63 | void draw_repartition_screen(int which); |
| 64 | void draw_repartition_detailed(CStat::T_dynamicalRepartition * tabRepartition, |
| 65 | int sizeOfTab); |
| 66 | |
| 67 | std::vector<std::string> lines; |
| 68 | |
| 69 | bool M_last; |
| 70 | }; |
| 71 | |
| 72 | extern ScreenPrinter* sp; |
| 73 |
nothing calls this directly
no outgoing calls
no test coverage detected