Replace icomoon system font with material design icons (#1228)
This commit is contained in:
@@ -22,7 +22,7 @@ FlashLight::FlashLight(Pinetime::Applications::DisplayApp* app,
|
||||
|
||||
flashLight = lv_label_create(lv_scr_act(), nullptr);
|
||||
lv_obj_set_style_local_text_font(flashLight, LV_LABEL_PART_MAIN, LV_STATE_DEFAULT, &lv_font_sys_48);
|
||||
lv_label_set_text_static(flashLight, Symbols::highlight);
|
||||
lv_label_set_text_static(flashLight, Symbols::flashlight);
|
||||
lv_obj_align(flashLight, nullptr, LV_ALIGN_CENTER, 0, 0);
|
||||
|
||||
for (auto& indicator : indicators) {
|
||||
|
@@ -39,17 +39,16 @@ namespace Pinetime {
|
||||
static constexpr const char* home = "\xEF\x80\x95";
|
||||
|
||||
// lv_font_sys_48.c
|
||||
static constexpr const char* settings = "\xEE\xA4\x82"; // e902
|
||||
static constexpr const char* settings = "\xEE\xA2\xB8";
|
||||
|
||||
static constexpr const char* brightnessHigh = "\xEE\xA4\x84"; // e904
|
||||
static constexpr const char* brightnessLow = "\xEE\xA4\x85"; // e905
|
||||
static constexpr const char* brightnessMedium = "\xEE\xA4\x86"; // e906
|
||||
static constexpr const char* brightnessLow = "\xEE\x8E\xAA";
|
||||
static constexpr const char* brightnessMedium = "\xEE\x8E\xAB";
|
||||
static constexpr const char* brightnessHigh = "\xEE\x8E\xAC";
|
||||
|
||||
static constexpr const char* notificationsOff = "\xEE\xA4\x8B"; // e90b
|
||||
static constexpr const char* notificationsOn = "\xEE\xA4\x8C"; // e90c
|
||||
|
||||
static constexpr const char* highlight = "\xEE\xA4\x87"; // e907
|
||||
static constexpr const char* notificationsOff = "\xEE\x9F\xB6";
|
||||
static constexpr const char* notificationsOn = "\xEE\x9F\xB7";
|
||||
|
||||
static constexpr const char* flashlight = "\xEF\x80\x8B";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@@ -72,7 +72,7 @@ QuickSettings::QuickSettings(Pinetime::Applications::DisplayApp* app,
|
||||
lv_obj_t* lbl_btn;
|
||||
lbl_btn = lv_label_create(btn2, nullptr);
|
||||
lv_obj_set_style_local_text_font(lbl_btn, LV_LABEL_PART_MAIN, LV_STATE_DEFAULT, &lv_font_sys_48);
|
||||
lv_label_set_text_static(lbl_btn, Symbols::highlight);
|
||||
lv_label_set_text_static(lbl_btn, Symbols::flashlight);
|
||||
|
||||
btn3 = lv_btn_create(lv_scr_act(), nullptr);
|
||||
btn3->user_data = this;
|
||||
|
Reference in New Issue
Block a user