barbox.c (b319d934379f5b819cd195be7e03dbd407566fd4) | barbox.c (84823cc70824c8d842f503d8c2e6d7b0c2d95b61) |
---|---|
1/*- 2 * SPDX-License-Identifier: BSD-2-Clause 3 * 4 * Copyright (c) 2021-2022 Alfonso Sabato Siciliano 5 * 6 * Redistribution and use in source and binary forms, with or without 7 * modification, are permitted provided that the following conditions 8 * are met: --- 313 unchanged lines hidden (view full) --- 322 draw_bar(bar, 1, 1, w-8, mainperc, false, -1 /*unused*/); 323 324 wattron(bar, t.bar.color); 325 mvwaddstr(bar, 0, 2, "Overall Progress"); 326 wattroff(bar, t.bar.color); 327 328 wrefresh(bar); 329 | 1/*- 2 * SPDX-License-Identifier: BSD-2-Clause 3 * 4 * Copyright (c) 2021-2022 Alfonso Sabato Siciliano 5 * 6 * Redistribution and use in source and binary forms, with or without 7 * modification, are permitted provided that the following conditions 8 * are met: --- 313 unchanged lines hidden (view full) --- 322 draw_bar(bar, 1, 1, w-8, mainperc, false, -1 /*unused*/); 323 324 wattron(bar, t.bar.color); 325 mvwaddstr(bar, 0, 2, "Overall Progress"); 326 wattroff(bar, t.bar.color); 327 328 wrefresh(bar); 329 |
330 /* getch(); port ncurses shows nothing */ | 330 /* getch(); alternate mode (port devel/ncurses) shows nothing */ |
331 332 delwin(bar); 333 end_dialog(conf, shadow, widget, textpad); 334 335 return (BSDDIALOG_OK); 336} 337 338int --- 412 unchanged lines hidden --- | 331 332 delwin(bar); 333 end_dialog(conf, shadow, widget, textpad); 334 335 return (BSDDIALOG_OK); 336} 337 338int --- 412 unchanged lines hidden --- |