mirror of
https://github.com/p-ranav/indicators.git
synced 2025-12-16 04:18:51 +08:00
Added single header file v1.7
This commit is contained in:
12
README.md
12
README.md
@@ -70,8 +70,8 @@ int main() {
|
|||||||
option::Lead{">"},
|
option::Lead{">"},
|
||||||
option::Remainder{" "},
|
option::Remainder{" "},
|
||||||
option::End{"]"},
|
option::End{"]"},
|
||||||
option::PostfixText{"Extracting Archive"};
|
option::PostfixText{"Extracting Archive"},
|
||||||
option::ForegroundColor{Color::green};
|
option::ForegroundColor{Color::green}
|
||||||
};
|
};
|
||||||
|
|
||||||
// Update bar state
|
// Update bar state
|
||||||
@@ -174,9 +174,9 @@ int main() {
|
|||||||
option::Remainder{"-"},
|
option::Remainder{"-"},
|
||||||
option::End{"]"},
|
option::End{"]"},
|
||||||
option::PrefixText{"Training Gaze Network 👀"},
|
option::PrefixText{"Training Gaze Network 👀"},
|
||||||
option::ForegroundColor{Color::yellow}
|
option::ForegroundColor{Color::yellow},
|
||||||
option::ShowElapsedTime{true};
|
option::ShowElapsedTime{true},
|
||||||
option::ShowRemainingTime{true};
|
option::ShowRemainingTime{true}
|
||||||
};
|
};
|
||||||
|
|
||||||
// Update bar state
|
// Update bar state
|
||||||
@@ -271,7 +271,7 @@ int main() {
|
|||||||
|
|
||||||
// Configure second progress bar
|
// Configure second progress bar
|
||||||
|
|
||||||
ProgressBar bar1{
|
ProgressBar bar2{
|
||||||
option::BarWidth{50},
|
option::BarWidth{50},
|
||||||
option::Start{"["},
|
option::Start{"["},
|
||||||
option::Fill{"="},
|
option::Fill{"="},
|
||||||
|
|||||||
@@ -1,2 +1,2 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
find ./include ./demo/ ./samples/ -type f \( -iname \*.cpp -o -iname \*.hpp \) | xargs clang-format -style="{ColumnLimit : 100}" -i
|
find ./include ./demo/ ./samples/ ./single_include -type f \( -iname \*.cpp -o -iname \*.hpp \) | xargs clang-format -style="{ColumnLimit : 100}" -i
|
||||||
|
|||||||
1427
single_include/indicators/indicators.hpp
Normal file
1427
single_include/indicators/indicators.hpp
Normal file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user