81 Commits

Author SHA1 Message Date
Pranav Srinivas Kumar
04fddb9014 Removed redundant includes of termcolor.hpp and updated single include. Closes #68 2020-07-21 10:14:52 -05:00
Pranav Srinivas Kumar
f6cef6161d Removed sleep 2020-05-25 09:47:48 -05:00
Pranav Srinivas Kumar
7c1d7d6367 Added dynamic postfix text sample based on #56 2020-05-25 09:14:23 -05:00
Pranav Srinivas Kumar
bd586bbb88 Updated countdown progress bar sample 2020-05-24 23:07:02 -05:00
Pranav Srinivas Kumar
728c4f7f7f Added countdown progress bar sample 2020-05-24 23:03:39 -05:00
Pranav Srinivas Kumar
a2e11d4707 Clang format 2020-05-24 22:56:57 -05:00
Pranav Srinivas Kumar
ac5e759794 Minor updates 2020-05-23 17:21:58 -05:00
Pranav Srinivas Kumar
16eb028686 Improved support for unicode including indeterminate progress bar. Updated unicode sample 2020-05-23 17:15:18 -05:00
Pranav Srinivas Kumar
cf1f888a0f Better support for displaying unicode characters in the progress bar, while respecting bar_width 2020-05-23 17:00:13 -05:00
Pranav Srinivas Kumar
04cdd25844 Added sample to show max_progress working with iterables. Updated README 2020-05-09 20:54:32 -05:00
Pranav Srinivas Kumar
6f057a51a1 Closes #22 2020-05-09 20:33:15 -05:00
Pranav Srinivas Kumar
d2179d75ce Updated sample for indeterminate_progress_bar and added demo GIF 2020-05-08 17:18:00 -05:00
Pranav Srinivas Kumar
6d73795218 Implemented indeterminate progress bar w/ sample 2020-05-08 17:13:28 -05:00
Pranav Srinivas Kumar
296bde6088 Minor bug fixes and updates:
* Removed progress bar sample that progresses in reverse direction - This needs a class of its own
* Fixed a casting error in progress_bar class when dealing with max_progress variable
* Minor update to the cursor movement functions in linux
* Updated single include to include these changes
2020-05-08 15:14:52 -05:00
Kevin M. Godby
371bcb2c3b Add a MaxProgress option (default: 100).
The MaxProgress option allows you to set the maximum number of ticks
that are within a progress bar. Each call to tick() increments the tick
count. The progress bar percentage is the number of ticks divided by the
MaxProgress option.

The default MaxProgress is 100, so each tick would be 1%.  If
MaxProgress is set to 500, for example, then each tick would be 0.2%.
2020-04-30 21:37:06 -05:00
Felix Gündling
c2beb2ac22 adjust readme, demo, and examples: replace show/hide cursor calls 2020-04-26 18:52:23 +02:00
Felix Gündling
d99cad1ede setting console mode to processed output not neccesary if we use SetConsoleCursorPosition 2020-04-25 08:57:32 +02:00
Felix Gündling
ad5cf841be cursor movement and cursor hiding support for windows 2020-04-25 08:49:30 +02:00
Pranav Srinivas Kumar
16d3484788 Fixed build 2020-04-06 11:25:54 -07:00
Pranav Srinivas Kumar
833e1cd6db Initial commit 2020-04-06 11:10:41 -07:00
Pranav Srinivas Kumar
5049e70c50 Minor update 2020-02-22 00:53:13 +05:30
Pranav Srinivas Kumar
f5c1e61676 Minor updates 2020-02-22 00:40:38 +05:30
Pranav Srinivas Kumar
c7b25e7c3a Added dynamic progress GIFs 2020-02-22 00:38:03 +05:30
Pranav Srinivas Kumar
5e75c285fe First pass implementation of dynamic progress bar 2020-02-21 22:40:16 +05:30
Pranav Srinivas Kumar
89ae8cec39 Clang format 2020-02-13 14:21:01 +05:30
Pranav Srinivas Kumar
a6c55b6936 Updated enums to lowercase per the core guidelines. Bumped to wip v1.7 2020-02-11 17:29:41 +05:30
Pranav Srinivas Kumar
4442e3570f Minor update to sample 2020-02-11 13:45:22 +05:30
Pranav
764d796f87 Merge pull request #21 from dawidpilarski/dev
API change - progress bar can be constructed with proper settings.
2020-02-11 13:38:14 +05:30
Dawid Pilarski
5c54b69e55 post review changes 2020-02-11 08:57:38 +01:00
Dawid Pilarski
4a207b8223 fixed multi_block_progress_bar.cpp 2020-02-10 21:48:36 +01:00
Dawid Pilarski
d543453c0c code changes done 2020-02-10 20:54:20 +01:00
Dawid Pilarski
46c9983fab Progress spinner changed, default values approach changed, templates refactored 2020-02-04 23:36:44 +01:00
Pranav Srinivas Kumar
a2272eba8a Closes #26 2020-02-04 07:45:47 -06:00
pilarski
46bccdcc1c ProgressBar API change - make ProgressBar constructible with options 2020-02-03 23:48:21 +01:00
Pranav Srinivas Kumar
e697a43fec Clang format 2019-12-18 12:47:10 -06:00
Pranav Srinivas Kumar
222a8ae4f9 Added explicit constructor for MultiProgress to remove insert API 2019-12-18 11:51:58 -06:00
Pranav Srinivas Kumar
2719604ba9 Updated README 2019-12-17 22:02:40 -06:00
Pranav Srinivas Kumar
4f0cd06969 Minor update 2019-12-17 20:57:28 -06:00
Pranav Srinivas Kumar
70f843ce01 Minor update to API 2019-12-17 20:56:17 -06:00
Pranav Srinivas Kumar
8e41f2712e Added sample showing MultiProgress with BlockProgressBar 2019-12-17 20:21:33 -06:00
Pranav Srinivas Kumar
03000c8493 Changed MultiProgress into a template container class 2019-12-17 20:14:05 -06:00
Pranav Srinivas Kumar
92725d6cb2 Draft implementation of MultiProgress for progress bars 2019-12-17 20:06:50 -06:00
Pranav Srinivas Kumar
1e45ef3530 Updated README 2019-12-17 09:59:15 -06:00
Pranav Srinivas Kumar
aa5dffa4e2 Time elapsed/remaining is hidden by default 2019-12-17 09:43:53 -06:00
Pranav Srinivas Kumar
6224a46371 Updated samples/demos to show usage of hide/show time elapsed/remaining 2019-12-17 09:31:43 -06:00
offa
ab63e2c45b CMake support for building the samples added. 2019-12-16 18:45:19 +01:00
Pranav Srinivas Kumar
094f25e012 Added progress bar samples 2019-12-16 11:03:31 -06:00
Pranav Srinivas Kumar
fb2d9bddbe Added progress spinner sample 2019-12-16 10:19:47 -06:00
Pranav Srinivas Kumar
21391f3ca0 Added sample for smooth block progress bar 2019-12-16 09:11:25 -06:00
Pranav Srinivas KumaR
0a00d5f953 Renamed samples directory to demo/ 2019-12-04 20:04:00 -06:00