Changed order of effects

This commit is contained in:
Bob Polis 2021-12-13 15:57:28 +01:00
parent a42f020a36
commit 05e79936aa

View File

@ -69,14 +69,6 @@ void show_grayscale_bar() {
} }
void show_words() { void show_words() {
std::cout << sc::io::redf << " red ";
std::cout << sc::io::greenf << " green ";
std::cout << sc::io::bluef << " blue ";
std::cout << sc::io::cyanf << " cyan ";
std::cout << sc::io::magentaf << " magenta ";
std::cout << sc::io::yellowf << " yellow ";
std::cout << sc::io::rgbf(5, 2, 0) << " orange ";
std::cout << sc::io::bold << std::endl;
std::cout << sc::io::redf << " red "; std::cout << sc::io::redf << " red ";
std::cout << sc::io::greenf << " green "; std::cout << sc::io::greenf << " green ";
std::cout << sc::io::bluef << " blue "; std::cout << sc::io::bluef << " blue ";
@ -93,7 +85,17 @@ void show_words() {
std::cout << sc::io::magentab << " magenta "; std::cout << sc::io::magentab << " magenta ";
std::cout << sc::io::yellowb << " yellow "; std::cout << sc::io::yellowb << " yellow ";
std::cout << sc::io::rgbb(5, 2, 0) << " orange "; std::cout << sc::io::rgbb(5, 2, 0) << " orange ";
std::cout << std::endl << sc::io::bold; std::cout << sc::io::reset << std::endl;
std::cout << sc::io::bold;
std::cout << sc::io::redf << " red ";
std::cout << sc::io::greenf << " green ";
std::cout << sc::io::bluef << " blue ";
std::cout << sc::io::cyanf << " cyan ";
std::cout << sc::io::magentaf << " magenta ";
std::cout << sc::io::yellowf << " yellow ";
std::cout << sc::io::rgbf(5, 2, 0) << " orange ";
std::cout << sc::io::reset << std::endl;
std::cout << sc::io::blackf << sc::io::bold;
std::cout << sc::io::redb << " red "; std::cout << sc::io::redb << " red ";
std::cout << sc::io::greenb << " green "; std::cout << sc::io::greenb << " green ";
std::cout << sc::io::blueb << " blue "; std::cout << sc::io::blueb << " blue ";
@ -108,8 +110,8 @@ void show_words() {
std::cout << sc::io::strikethru << "strike thru" << sc::io::reset << ' '; std::cout << sc::io::strikethru << "strike thru" << sc::io::reset << ' ';
std::cout << sc::io::overline << "overline" << sc::io::reset << ' '; std::cout << sc::io::overline << "overline" << sc::io::reset << ' ';
std::cout << sc::io::reverse << "reverse" << sc::io::reset << ' '; std::cout << sc::io::reverse << "reverse" << sc::io::reset << ' ';
std::cout << sc::io::blinkslow << "blink slowly " << sc::io::reset; std::cout << sc::io::blinkslow << "slow-blink" << sc::io::reset << ' ';
std::cout << sc::io::blinkfast << "blink fast " << sc::io::reset; std::cout << sc::io::blinkfast << "fast-blink" << sc::io::reset;
std::cout << std::endl; std::cout << std::endl;
} }