#include typedef struct progress_bar { float total; float current; WINDOW *scr; } PROGRESS_BAR; PROGRESS_BAR* new_progress_bar(WINDOW*, float); void bar_step(PROGRESS_BAR*, float);