From: hadaq Date: Tue, 29 Aug 2017 11:44:03 +0000 (+0200) Subject: little graphical things X-Git-Url: https://jspc29.x-matter.uni-frankfurt.de/git/?a=commitdiff_plain;h=fd49dc153a2ce1bd01957fc4acfed1ab5570a190;p=daqtools.git little graphical things --- diff --git a/users/gsi_dirc/check_tot.cc b/users/gsi_dirc/check_tot.cc index d6b1620..21b63cf 100644 --- a/users/gsi_dirc/check_tot.cc +++ b/users/gsi_dirc/check_tot.cc @@ -48,11 +48,11 @@ int main(int argc, char* argv[]) //cout<=2.0) { - cout<<"\033[1;31m"; + cout<<"\033[5;31m"; cout.precision(1); cout.fill (' '); cout.width(5); @@ -62,7 +62,7 @@ int main(int argc, char* argv[]) } else { - cout<<"\033[1;32m"; + cout<<"\033[0;32m"; cout.precision(1); cout.fill (' '); cout.width(5); @@ -83,14 +83,14 @@ int main(int argc, char* argv[]) if (bad_sum+good_sum!=0) { - cout<<" AVG. bad: "; + cout<<" AVG. "; if (float(bad_sum)/(bad_sum+good_sum)*100>=2.0) { - cout<<"\033[1;31m"; + cout<<"\033[5;31m"; } else { - cout<<"\033[1;32m"; + cout<<"\033[0;32m"; } cout.precision(1); @@ -98,11 +98,11 @@ int main(int argc, char* argv[]) cout.width(5); cout<