# HG changeset patch # User Ideenmodellierer # Date 1600022998 -7200 # Node ID 1f557e5f4b5a6b63db475e35866339a298af9d2b # Parent b33a8c1c72e5226bbff7fc3cd640540fd3c149e9 Change color ID used in strings for light grey: CLUT of id 21 and 31 were the same. Changed CLUT of 21 back to a dark grey (used to show off state) and updated strings to 31 => No visible change in menus diff -r b33a8c1c72e5 -r 1f557e5f4b5a Discovery/Src/gfx_colors.c --- a/Discovery/Src/gfx_colors.c Sun Sep 13 20:44:50 2020 +0200 +++ b/Discovery/Src/gfx_colors.c Sun Sep 13 20:49:58 2020 +0200 @@ -39,7 +39,7 @@ { // ARGB 0x00FFFFFF, // \020 wei� - 0x00777777, // \021 grau f�r inaktiv / hw 151027: war zuvor 0x00555555 grau + 0x00333333, // \021 dark grey 0x0050FF50, // \022 units 0x003060FF, // \023 blau 0x00FFFF00, // \024 + CLUT_WarningYellow @@ -47,7 +47,7 @@ 0x0000FF00, // \026 + CLUT_NiceGreen 0x00FFFFFF, // \027 DIVE_MainColorIfNotWhite\020 0x00FFFFFF, // \030 DIVE_PluginBoxMainColor - 0x00777777, // \031 DIVE_PluginBoxGrey + 0x00777777, // \031 DIVE_PluginBoxGrey also used to display deactivation 0x0050FF50, // \032 DIVE_LabelColor 0x00FFFFFF, // CLUT_DIVE_FieldSeperatorLines 0x0050FF50, // CLUT_DIVE_pluginbox // old pink 0x00FF20FF diff -r b33a8c1c72e5 -r 1f557e5f4b5a Discovery/Src/tInfoLog.c --- a/Discovery/Src/tInfoLog.c Sun Sep 13 20:44:50 2020 +0200 +++ b/Discovery/Src/tInfoLog.c Sun Sep 13 20:49:58 2020 +0200 @@ -328,11 +328,11 @@ date[month] = logbookHeader.dateMonth; text[textPointer++] = '\034';// monospaced space large size mode - textPointer += snprintf(&text[textPointer], 20,"\021%04u \020", number); + textPointer += snprintf(&text[textPointer], 20,"\031%04u \020", number); /* if(number < 1000) - textPointer += snprintf(&text[textPointer], 20,"\021%2u \020", number); + textPointer += snprintf(&text[textPointer], 20,"\031%2u \020", number); else - textPointer += snprintf(&text[textPointer], 20,"\021\016\016%3u \017\020", number); + textPointer += snprintf(&text[textPointer], 20,"\031\016\016%3u \017\020", number); */ textPointer += snprintf(&text[textPointer], 20,"%02d.%02d ",date[0],date[1]); textPointer += snprintf(&text[textPointer], 20,"%02d:%02d ",logbookHeader.timeHour,logbookHeader.timeMinute); diff -r b33a8c1c72e5 -r 1f557e5f4b5a Discovery/Src/tMenuEditHardware.c --- a/Discovery/Src/tMenuEditHardware.c Sun Sep 13 20:44:50 2020 +0200 +++ b/Discovery/Src/tMenuEditHardware.c Sun Sep 13 20:49:58 2020 +0200 @@ -480,7 +480,7 @@ write_buttonTextline(TXT2BYTE_ButtonBack,TXT2BYTE_ButtonEnter,TXT2BYTE_ButtonNext); - text[0] = '\020'; // '\021'; + text[0] = '\020'; // '\031'; text[1] = TXT_2BYTE; text[2] = TXT2BYTE_LowerIsLess; text[3] = 0; diff -r b33a8c1c72e5 -r 1f557e5f4b5a Discovery/Src/tMenuEditPlanner.c --- a/Discovery/Src/tMenuEditPlanner.c Sun Sep 13 20:44:50 2020 +0200 +++ b/Discovery/Src/tMenuEditPlanner.c Sun Sep 13 20:49:58 2020 +0200 @@ -493,7 +493,7 @@ textptr += snprintf(&text[textptr],20," %3i'", lengthInMinutes); } else - textptr = snprintf(text,20,"\021\034%2u\016\016m\017 ",depthNext); + textptr = snprintf(text,20,"\031\034%2u\016\016m\017 ",depthNext); for(int i = 0; i < ListCount; i++) { @@ -630,7 +630,7 @@ text[textpointer] = 0; if(tMplan_pGasConsumption[j] == 0) - text[textpointer++] = '\021'; + text[textpointer++] = '\031'; textpointer += write_gas(&text[textpointer], settingsGetPointer()->gas[j].oxygen_percentage, settingsGetPointer()->gas[j].helium_percentage ); text[textpointer] = 0; @@ -641,7 +641,7 @@ text[textpointer] = 0; if(tMplan_pGasConsumption[j] == 0) - text[textpointer++] = '\021'; + text[textpointer++] = '\031'; textpointer += snprintf(&text[textpointer],20,"\002%u\016\016 ltr\017",tMplan_pGasConsumption[j]); text[textpointer] = 0; diff -r b33a8c1c72e5 -r 1f557e5f4b5a Discovery/Src/tMenuHardware.c --- a/Discovery/Src/tMenuHardware.c Sun Sep 13 20:44:50 2020 +0200 +++ b/Discovery/Src/tMenuHardware.c Sun Sep 13 20:49:58 2020 +0200 @@ -105,11 +105,11 @@ if(stateUsed->diveSettings.ppo2sensors_deactivated) { if(stateUsed->diveSettings.ppo2sensors_deactivated & 1) - sensorStatusColor[0] = '\021'; + sensorStatusColor[0] = '\031'; if(stateUsed->diveSettings.ppo2sensors_deactivated & 2) - sensorStatusColor[1] = '\021'; + sensorStatusColor[1] = '\031'; if(stateUsed->diveSettings.ppo2sensors_deactivated & 4) - sensorStatusColor[2] = '\021'; + sensorStatusColor[2] = '\031'; } textPointer += snprintf(&text[textPointer],20,"%c%01.1f %c%01.1f %c%01.1f\020" ,sensorStatusColor[0], stateUsed->lifeData.ppO2Sensor_bar[0] diff -r b33a8c1c72e5 -r 1f557e5f4b5a Discovery/Src/tMenuSetpoint.c --- a/Discovery/Src/tMenuSetpoint.c Sun Sep 13 20:44:50 2020 +0200 +++ b/Discovery/Src/tMenuSetpoint.c Sun Sep 13 20:49:58 2020 +0200 @@ -94,7 +94,7 @@ if((first == 0) || (actual_menu_content != MENU_SURFACE)) strcpy(&text[textPointer++],"\177"); - char color = '\021'; + char color = '\031'; if(depthUp) color = '\020';