From f025bef793bed56c394289d1ec1edbaa857bdddd Mon Sep 17 00:00:00 2001 From: tofasthacker Date: Thu, 28 Sep 2023 20:38:01 -0400 Subject: [PATCH] fixed calculator comments (cherry picked from commit 8a40eaa9c5ded0690efedfc347c92989b6742ed1) --- src/displayapp/screens/Calculator.cpp | 18 ------------------ 1 file changed, 18 deletions(-) diff --git a/src/displayapp/screens/Calculator.cpp b/src/displayapp/screens/Calculator.cpp index f2bbae6e..2f77c5dd 100644 --- a/src/displayapp/screens/Calculator.cpp +++ b/src/displayapp/screens/Calculator.cpp @@ -53,24 +53,6 @@ Calculator::Calculator() { lv_obj_set_style_local_bg_main_stop(buttonMatrix, LV_BTNMATRIX_PART_BTN, LV_STATE_CHECKED, 128); // BackSpace Button - /* - lv_style_init(&btn_style); - lv_style_set_radius(&btn_style, LV_STATE_DEFAULT, 10); - lv_style_set_bg_color(&btn_style, LV_STATE_DEFAULT, Colors::bgAlt); - /* - back = lv_btn_create(lv_scr_act(), nullptr); - back->user_data = this; - lv_obj_set_event_cb(back, eventHandler); - - lv_obj_set_style_local_text_font(back, LV_LABEL_PART_MAIN, LV_STATE_DEFAULT, &jetbrains_mono_bold_20); - //lv_label_set_text_static(back, "A"); - //lv_label_set_align(back, LV_LABEL_ALIGN_CENTER); - lv_label_set_text_static(back, "A"); - - lv_obj_set_size(back, 59, 44); - lv_obj_align(back, nullptr, LV_ALIGN_IN_TOP_LEFT, 179, 16); -*/ - back = lv_btn_create(lv_scr_act(), nullptr); back->user_data = this;