fixed calculator comments
This commit is contained in:
parent
c87a297a2f
commit
8a40eaa9c5
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user