All Projects → gipert → progressbar

gipert / progressbar

Licence: MIT license
A very simple progress bar for C++ loops

Programming Languages

C++
36643 projects - #6 most used programming language

Projects that are alternatives of or similar to progressbar

angular-progress-bar
This component allow you to easy incorporate progress-bar to angular/ionic project, providing binding and color options
Stars: ✭ 26 (-77.39%)
Mutual labels:  progress, bar
Rpcircularprogress
(Swift) Circular progress UIView subclass with UIProgressView properties
Stars: ✭ 236 (+105.22%)
Mutual labels:  progress, bar
Vue Ellipse Progress
A Vue.js component to create beautiful animated circular progress bars
Stars: ✭ 101 (-12.17%)
Mutual labels:  progress, bar
Alive Progress
A new kind of Progress Bar, with real-time throughput, ETA, and very cool animations!
Stars: ✭ 2,940 (+2456.52%)
Mutual labels:  progress, bar
Ng2 Slim Loading Bar
Angular 2 component shows slim loading bar at the top of the page.
Stars: ✭ 376 (+226.96%)
Mutual labels:  progress, bar
Python Progressbar
Progressbar 2 - A progress bar for Python 2 and Python 3 - "pip install progressbar2"
Stars: ✭ 682 (+493.04%)
Mutual labels:  progress, bar
Uicircularprogressring
A circular progress bar for iOS written in Swift
Stars: ✭ 1,658 (+1341.74%)
Mutual labels:  progress, bar
Telerik Academy
Course exercises | Telerik Academy 2013/2014 | Martin Nikolov
Stars: ✭ 186 (+61.74%)
Mutual labels:  progress
React Spinners Css
Amazing collection of React spinners components with pure css
Stars: ✭ 232 (+101.74%)
Mutual labels:  progress
Skeletonlayout
Skeleton view pattern for Android
Stars: ✭ 186 (+61.74%)
Mutual labels:  progress
Script Progress
Estimate script execution time
Stars: ✭ 175 (+52.17%)
Mutual labels:  progress
Progress dialog
A light weight library to easily manage a progress dialog with simple steps whenever you need to do it. You can easily show and hide it.
Stars: ✭ 196 (+70.43%)
Mutual labels:  progress
AMProgressHUD
A gif progress HUD for iOS.
Stars: ✭ 18 (-84.35%)
Mutual labels:  progress
prompt-password-strength
Custom mask function for prompt-password that adds a 'strength progress meter' that changes color as the password strength increases. Uses zxcvbn, the popular password strength estimation tool brought to you by dropbox.
Stars: ✭ 18 (-84.35%)
Mutual labels:  progress
Srdownloadmanager
Powerful and easy-to-use file download manager based on NSURLSession. Provide download status, progress and completion callback block.
Stars: ✭ 221 (+92.17%)
Mutual labels:  progress
CoolProgressViews
Android library with collection of cool progress views.
Stars: ✭ 83 (-27.83%)
Mutual labels:  progress
Hgcircularslider
A custom reusable circular / progress slider control for iOS application.
Stars: ✭ 2,240 (+1847.83%)
Mutual labels:  progress
Mkmagneticprogress
A circular progress bar for iOS written in Swift
Stars: ✭ 214 (+86.09%)
Mutual labels:  progress
Spinners React
Lightweight SVG/CSS spinners for React
Stars: ✭ 254 (+120.87%)
Mutual labels:  progress
Progressmanager
⏳ Listen the progress of downloading and uploading in Okhttp, compatible Retrofit and Glide (一行代码即可监听 App 中所有网络链接的上传以及下载进度, 包括 Glide 的图片加载进度).
Stars: ✭ 2,463 (+2041.74%)
Mutual labels:  progress

progressbar

A very simple, header-only, fully customizable, progress bar (with percentage) for c++ loops.

Very simple to set up:

#include "progressbar.hpp"

int main() {
    progressbar bar(100);
    for (int i = 0; i < 100; ++i) {
        bar.update();
        // ... the program
    }
    return 0;
}

animated gif

Allows customization:

#include "progressbar.hpp"

int main() {
    progressbar bar(100);
    bar.set_todo_char(" ");
    bar.set_done_char("");
    bar.set_opening_bracket_char("{");
    bar.set_closing_bracket_char("}");
    for (int i = 0; i < 100; ++i) {
        bar.update();
        // ... the program
    }
    return 0;
}

animated gif

Notes

To use the bar in parallelized loops call progressbar::update in a critical section. With OpenMP this can be achieved with the following structure:

#pragma omp parallel for
for ( ... ) {
    #pragma omp critical
        bar.update();
}
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].