diff --git a/sleepyhead/common_gui.cpp b/sleepyhead/common_gui.cpp index 5028a7ac..79899fe8 100644 --- a/sleepyhead/common_gui.cpp +++ b/sleepyhead/common_gui.cpp @@ -81,6 +81,7 @@ QColor COLOR_PressurePulse = Qt::red; QColor COLOR_PulseChange = COLOR_LightGray; QColor COLOR_SPO2Drop = COLOR_LightBlue; QColor COLOR_UserFlag1 = QColor("#e0e0e0"); +QColor COLOR_UserFlag2 = QColor("#c0c0e0"); // Chart Colors QColor COLOR_EPAP = Qt::blue; diff --git a/sleepyhead/common_gui.h b/sleepyhead/common_gui.h index f4e72af3..5d6cba30 100644 --- a/sleepyhead/common_gui.h +++ b/sleepyhead/common_gui.h @@ -57,6 +57,7 @@ extern QColor COLOR_PressurePulse; extern QColor COLOR_PulseChange; extern QColor COLOR_SPO2Drop; extern QColor COLOR_UserFlag1; +extern QColor COLOR_UserFlag2; // Chart Colors extern QColor COLOR_EPAP; diff --git a/sleepyhead/daily.cpp b/sleepyhead/daily.cpp index 1190d9e4..9a02366a 100644 --- a/sleepyhead/daily.cpp +++ b/sleepyhead/daily.cpp @@ -1363,7 +1363,7 @@ void Daily::Load(QDate date) EventDataType ahi=(cpap->count(CPAP_Obstructive)+cpap->count(CPAP_Hypopnea)+cpap->count(CPAP_ClearAirway)+cpap->count(CPAP_Apnea)); if (p_profile->general->calculateRDI()) ahi+=cpap->count(CPAP_RERA); ahi/=hours; - EventDataType csr,uai,oai,hi,cai,rei,fli,sai,nri,lki,vs,vs2,exp,lk2; + EventDataType csr,uai,oai,hi,cai,rei,fli,sai,nri,lki,vs,vs2,exp,lk2,uf1, uf2; if (!isBrick && hours>0) { html+="