Mercurial > public > ostc4
comparison Discovery/Src/tMenuEditHardware.c @ 884:940f8e132638 Evo_2_23
Minor screen cleanup:
In flipped mode some visualization did not match the non flipped version. Also depth display in T7 view has been moved
author | Ideenmodellierer |
---|---|
date | Sun, 01 Sep 2024 20:31:01 +0200 |
parents | 48b6a3b1f3f8 |
children | c4c9850a2039 |
comparison
equal
deleted
inserted
replaced
883:7755a476f164 | 884:940f8e132638 |
---|---|
904 buttonBalanceText_helper(i,text); | 904 buttonBalanceText_helper(i,text); |
905 write_field_button(eventListButtonBalance[i],360,500,ME_Y_LINE4-(i*ME_Y_LINE_STEP),&FontT48,text); | 905 write_field_button(eventListButtonBalance[i],360,500,ME_Y_LINE4-(i*ME_Y_LINE_STEP),&FontT48,text); |
906 } | 906 } |
907 | 907 |
908 snprintf(text,32,"%c",TXT_ButtonLock); | 908 snprintf(text,32,"%c",TXT_ButtonLock); |
909 write_field_on_off(StMHARD5_ButtonLock, 30, 95, ME_Y_LINE5, &FontT48, text, settingsGetPointer()->buttonLockActive); | 909 write_field_on_off(StMHARD5_ButtonLock, 30, 700, ME_Y_LINE5, &FontT48, text, settingsGetPointer()->buttonLockActive); |
910 | 910 |
911 setEvent(StMHARD5_Button1, (uint32_t)OnAction_Button); | 911 setEvent(StMHARD5_Button1, (uint32_t)OnAction_Button); |
912 | 912 |
913 for(int i=2;i>=0;i--) | 913 for(int i=2;i>=0;i--) |
914 { | 914 { |
943 for(int i=0;i<3;i++) | 943 for(int i=0;i<3;i++) |
944 { | 944 { |
945 sens[i] = settingsHelperButtonSens_translate_hwOS_values_to_percentage(stateRealGetPointer()->lifeData.buttonPICdata[i]); | 945 sens[i] = settingsHelperButtonSens_translate_hwOS_values_to_percentage(stateRealGetPointer()->lifeData.buttonPICdata[i]); |
946 } | 946 } |
947 snprintf(text,64,"\020\016\016%c%c \017 (%03u %03u %03u)",TXT_2BYTE,TXT2BYTE_LowerIsLess,sens[2],sens[1],sens[0]); | 947 snprintf(text,64,"\020\016\016%c%c \017 (%03u %03u %03u)",TXT_2BYTE,TXT2BYTE_LowerIsLess,sens[2],sens[1],sens[0]); |
948 write_label_var( 20, 340, ME_Y_LINE6, &FontT42, text); | 948 write_label_var( 20, 700, ME_Y_LINE6, &FontT42, text); |
949 | 949 |
950 tMenuEdit_refresh_field(StMHARD5_Button1); | 950 tMenuEdit_refresh_field(StMHARD5_Button1); |
951 tMenuEdit_refresh_field(StMHARD5_ButtonBalance1); | 951 tMenuEdit_refresh_field(StMHARD5_ButtonBalance1); |
952 tMenuEdit_refresh_field(StMHARD5_ButtonBalance2); | 952 tMenuEdit_refresh_field(StMHARD5_ButtonBalance2); |
953 tMenuEdit_refresh_field(StMHARD5_ButtonBalance3); | 953 tMenuEdit_refresh_field(StMHARD5_ButtonBalance3); |