379 Commits

Author SHA1 Message Date
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
e5cc05a62d Merge pull request #59 from p-ranav/feature/countdown_progress_bar
Feature/countdown progress bar
2020-05-24 22:56:04 -05:00
Pranav Srinivas Kumar
885748d4c2 Reverted minor changes to stream helper w.r.t checking if fill, lead and remainder are empty 2020-05-24 22:47:18 -05:00
Pranav Srinivas Kumar
d0562438d5 Added ProgressType enum and updated single include 2020-05-24 22:43:53 -05:00
Pranav Srinivas Kumar
4dff4e7c5b Restored decremental progress demo 2020-05-24 22:43:11 -05:00
Pranav Srinivas Kumar
120f922326 Added progress_type option to indicate incremental/decremental progress 2020-05-24 22:37:58 -05:00
Pranav
2d9bd0c4a0 Update README.md 2020-05-23 17:24:48 -05:00
Pranav
b27888e523 Update README.md 2020-05-23 17:23:46 -05:00
Pranav Srinivas Kumar
ac5e759794 Minor updates 2020-05-23 17:21:58 -05:00
Pranav
545113c00d Update README.md 2020-05-23 17:21:50 -05:00
Pranav
a553ec6d83 Update README.md 2020-05-23 17:20:57 -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
27f4ad1f59 Made cursor control/movement functions static inline #58 2020-05-23 12:40:17 -05:00
Pranav
a5fb2bbcaf Update README.md 2020-05-22 17:14:18 -05:00
Pranav Srinivas Kumar
f4f1402b66 Updated single header version with missing include 2020-05-22 17:10:15 -05:00
Pranav
3515cb5bde Merge pull request #57 from dawidpilarski/master
[issue-54] added missing header
2020-05-22 17:08:21 -05:00
Dawid Pilarski
b66930b173 [issue-54] added missing header 2020-05-23 01:22:49 +02:00
Pranav
9a1e58a836 Fixes travis CI to correctly build indicators samples and demos 2020-05-19 15:09:10 -05:00
Pranav Srinivas Kumar
078ef915a3 Fixed messed up includes in demo. Closes #54 2020-05-18 18:41:18 -05:00
Pranav
695fac00b4 Update README.md v1.8 2020-05-13 15:42:26 -05:00
Pranav Srinivas Kumar
17e1f47fd4 Added amalgamate to help generate single header for indicators 2020-05-13 15:39:20 -05:00
Pranav Srinivas Kumar
a1ad525065 Updated single header file version of indicators
* Added IndeterminateProgressBar
* Added `Color::unspecified` enum field
* Added `option::MaxProgress` and `option::Stream`
2020-05-09 21:41:57 -05:00
Pranav Srinivas Kumar
ad6cddbd0e Updated iterable sample GIF 2020-05-09 21:01:23 -05:00
Pranav Srinivas Kumar
b389f5e559 Updated iterable sample GIF 2020-05-09 20:58:41 -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
e463046745 Update README.md 2020-05-09 20:39:40 -05:00
Pranav
3a798551ba Update README.md 2020-05-09 20:37:20 -05:00
Pranav
26c4c0286e Merge pull request #52 from p-ranav/feature/43
Closes #22
2020-05-09 20:36:09 -05:00
Pranav
5972b18450 Update README.md 2020-05-09 20:35:07 -05:00
Pranav Srinivas Kumar
6f057a51a1 Closes #22 2020-05-09 20:33:15 -05:00
Pranav Srinivas Kumar
b215cb850e Added functions to retrieve terminal width 2020-05-08 18:09:08 -05:00
Pranav
e950065e34 Merge pull request #51 from p-ranav/feature/43
Feature/43
2020-05-08 17:28:47 -05:00
Pranav
643e5ce6a1 Update README.md 2020-05-08 17:25:50 -05:00
Pranav Srinivas Kumar
11ec12c0cb Added indeterminate progress bar demo GIF 2020-05-08 17:23:21 -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
6857345da5 Initial commit 2020-05-08 16:30:47 -05:00
Pranav Srinivas Kumar
3800785216 Updated dynamic progress bar GIF 2020-05-08 16:19:13 -05:00
Pranav Srinivas Kumar
a949efd512 Removed unnecessary mark_as_completed in set_progress sample 2020-05-08 15:23:01 -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
Pranav
66af25ab62 Merge pull request #50 from godbyk/feature/adjustable-tick-size
Add a MaxProgress option (default: 100).
2020-05-02 18:45:30 -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
Pranav
df4a97b068 Merge pull request #49 from godbyk/bugfix/cmake-homepage-url
Support versions of CMake going back to version 3.8.
2020-04-30 17:59:10 -07:00
Kevin M. Godby
55494a572b Support version of CMake going back to version 3.8.
The DESCRIPTION parameter of the project() command was introduced in
CMake version 3.9.

The HOMEPAGE_URL parameter was introduced in CMake version 3.11.
2020-04-30 19:24:17 -05:00
Pranav
3d1d01ba0d Merge pull request #48 from motis-project/win-cursor-mv
Abstraction for Cursor Movements (Issue #46)
2020-04-26 10:28:57 -07: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