Nicer formatting in dfstatus.

develop
Petr Mrázek 2011-05-23 21:58:44 +02:00
parent d2e01ec579
commit a1a5df52a1
1 changed files with 12 additions and 12 deletions

@ -58,8 +58,8 @@ WINDOW *create_newwin(int height, int width, int starty, int startx){
mvwprintw(local_win,2 ,2,"Drinks : %d", drinkCount);
mvwprintw(local_win,4 ,2,"Meals : %d", mealsCount);
mvwprintw(local_win,6 ,2,"Plants : %d", plantCount);
mvwprintw(local_win,7,4,"Fish: %d", fishCount);
mvwprintw(local_win,8,4,"Meat: %d", meatCount);
mvwprintw(local_win,7 ,2,"Fish : %d", fishCount);
mvwprintw(local_win,8 ,2,"Meat : %d", meatCount);
mvwprintw(local_win,10,2,"Logs : %d", logsCount);
mvwprintw(local_win,12,2,"Cloth : %d", clothCount);
//second row
@ -70,7 +70,7 @@ WINDOW *create_newwin(int height, int width, int starty, int startx){
mvwprintw(local_win,6,22,"Steel Bars : %d", steelBars);
mvwprintw(local_win,9,22,"Fuel : %d", fuel);
total_time += end_time - start_time;
mvwprintw(local_win,14,2,"Time used: %d ms, Time total: %d ms", end_time - start_time, total_time);
mvwprintw(local_win,14,2,"Time: %d ms last update, %d ms total", end_time - start_time, total_time);
wrefresh(local_win); // paint the screen and all components.