Pranav Srinivas Kumar
6f057a51a1
Closes #22
2020-05-09 20:33:15 -05:00
Pranav Srinivas Kumar
6d73795218
Implemented indeterminate progress bar w/ sample
2020-05-08 17:13:28 -05:00
Pranav Srinivas Kumar
6857345da5
Initial commit
2020-05-08 16:30:47 -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
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
4aef1470f1
Showing [00:00<00:00] if start time is not saved yet #45
2020-04-15 10:18:28 -05: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
07b9eede8a
Minor updates to support FontStyles
2020-04-06 11:05:44 -07:00
Lesley
99f4f3f05b
fix MSVC unused parameter warning
2020-03-03 22:02:11 -07:00
Pranav Srinivas Kumar
d4a38eb034
Closes 25 - Changed to
2020-02-22 11:02:16 +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
Anonymous Maarten
83da7c3469
Put NOMINMAX just before inclusion of windows.h header
2020-02-21 00:36:03 +01:00
Pranav Srinivas Kumar
89ae8cec39
Clang format
2020-02-13 14:21:01 +05:30
Pranav Srinivas Kumar
2b27d8f516
Minor update
2020-02-13 13:49:51 +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
0588904b9d
Closes #24
2020-02-11 16:31:31 +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
186f1aafc7
What about license?
2020-02-10 23:15:09 +01:00
Dawid Pilarski
cfb1593806
fixed multi_block_progress_bar.cpp
2020-02-10 21:51:20 +01:00
Dawid Pilarski
d543453c0c
code changes done
2020-02-10 20:54:20 +01:00
Severin Gsponer
840743f312
Remove extra ;
...
Removes a extra ; that breaks build with gcc and `-Werror=pedantic`.
2020-02-06 02:18:55 +00:00
Dawid Pilarski
46c9983fab
Progress spinner changed, default values approach changed, templates refactored
2020-02-04 23:36:44 +01:00
pilarski
46bccdcc1c
ProgressBar API change - make ProgressBar constructible with options
2020-02-03 23:48:21 +01:00
Dawid Pilarski
3c8975aa34
API change - progress bar can be constructed with proper settings.
2020-02-03 20:50:19 +01:00
Pranav Srinivas Kumar
866c008492
Closes #18
2020-01-30 08:19:25 -06:00
hyperxor
cfcc9f3b4c
small fixes
2020-01-21 20:43:10 +03:00
hyperxor
91ac917bbc
fix passed parameters
2020-01-21 08:19:53 +03:00
hyperxor
0939406db4
Extract progress scale writing code into separate classes
2020-01-21 07:49:47 +03:00
hyperxor
0dec563049
Remove code duplication: move _print_duration to details + small fixes
2020-01-19 21:53:43 +03:00
hyperxor
a91d3b6ff7
Remove code duplication: extract set_stream_color function
2020-01-19 16:20:01 +03:00
hyperxor
b1f01d5e52
Small improvement: using lock_guard instead of unique_lock
2020-01-19 13:36:10 +03:00
Pranav Srinivas Kumar
e697a43fec
Clang format
2019-12-18 12:47:10 -06:00
Pranav Srinivas Kumar
8190a1e513
Minor update
2019-12-18 11:57:07 -06:00
Pranav Srinivas Kumar
72644e5134
Setting multiprogress mode in MultiProgress constructor
2019-12-18 11:55:56 -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
2694badc93
Added locking to .current()
2019-12-18 07:55:22 -06:00
Pranav Srinivas Kumar
70f843ce01
Minor update to API
2019-12-17 20:56:17 -06:00
Pranav Srinivas Kumar
4e5e5cfa19
Added missing includes
2019-12-17 20:40:44 -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
01966b8239
First attempt at MultiProgress
2019-12-17 19:10:52 -06:00
Pranav
936043b7d4
Update block_progress_bar.hpp
2019-12-17 15:24:05 -06:00
Pranav
c90f375952
Update progress_spinner.hpp
2019-12-17 15:23:45 -06:00
Pranav
2241c00bb6
Update block_progress_bar.hpp
2019-12-17 15:23:26 -06:00