~aleteoryx/muditaos

ce51ed076cf55c98d8d69dfd28cedd4e9a60549a — Mateusz Grzegorzek 4 years ago 76b5204
[BH-925] Replace placeholder icons with final ones

Replace placeholder icons with final ones.
Replace old bad icons with a new good one.
D art/bell/alarm_snooze_W_M.png => art/bell/alarm_snooze_W_M.png +0 -0
R art/bell/alarm_ringing_W_G.png => art/bell/bell_alarm_ringing_W_G.png +0 -0
D art/bell/bell_alarm_ringing_W_M.png => art/bell/bell_alarm_ringing_W_M.png +0 -0
M art/bell/bell_alarm_snooze_W_M.png => art/bell/bell_alarm_snooze_W_M.png +0 -0
D image/assets/images/bell/alarm_snooze_W_M.vpi => image/assets/images/bell/alarm_snooze_W_M.vpi +0 -0
R image/assets/images/bell/alarm_ringing_W_G.vpi => image/assets/images/bell/bell_alarm_ringing_W_G.vpi +0 -0
D image/assets/images/bell/bell_alarm_ringing_W_M.vpi => image/assets/images/bell/bell_alarm_ringing_W_M.vpi +0 -0
M image/assets/images/bell/bell_alarm_snooze_W_M.vpi => image/assets/images/bell/bell_alarm_snooze_W_M.vpi +0 -0
M image/assets/lang/English.json => image/assets/lang/English.json +1 -1
@@ 614,7 614,7 @@
  "app_bell_settings_alarm_settings_snooze_chime_interval_bot_desc": "recurring during\nsnooze",
  "app_bell_settings_alarm_settings_snooze_chime_tone": "Snooze chime tone",
  "app_bell_settings_alarm_settings_snooze_chime_volume": "Snooze chime volume",
  "app_bellmain_home_screen_bottom_desc": "Next alarm will ring",
  "app_bellmain_home_screen_bottom_desc": "Next alarm will ring in",
  "app_bellmain_home_screen_bottom_desc_dp": "Deep press to activate",
  "app_bell_alarm_deactivated": "<text>Alarm deactivated<br /></text>",
  "app_bell_alarm_set_not_active": "<text>Alarm set.<br />Deep press to activate.</text>",

M module-apps/apps-common/widgets/AlarmSetSpinner.cpp => module-apps/apps-common/widgets/AlarmSetSpinner.cpp +1 -1
@@ 102,7 102,7 @@ namespace gui
            alarmImg->setImage("bell_alarm_deactivated_W_M");
            break;
        case Status::RINGING:
            alarmImg->setImage("bell_alarm_ringing_W_M");
            alarmImg->setImage("bell_alarm_ringing_W_G");
            break;
        case Status::SNOOZE:
            alarmImg->setImage("bell_alarm_snooze_W_M");

M products/BellHybrid/apps/application-bell-background-sounds/windows/BGSoundsPausedWindow.cpp => products/BellHybrid/apps/application-bell-background-sounds/windows/BGSoundsPausedWindow.cpp +1 -1
@@ 26,7 26,7 @@ namespace gui
        auto body = new gui::VBox(this, 0, 0, style::window_width, style::window_height);
        body->setAlignment(Alignment(Alignment::Horizontal::Center, Alignment::Vertical::Center));

        new gui::Image(body, "pause");
        new gui::Image(body, "big_pause_W_G");

        auto text = new gui::Text(body, 0, 0, body->getWidth(), bgSoundsStyle::pause::textH);
        text->setText(utils::translate("common_paused"));

M products/BellHybrid/apps/application-bell-powernap/windows/PowerNapSessionEndedWindow.cpp => products/BellHybrid/apps/application-bell-powernap/windows/PowerNapSessionEndedWindow.cpp +5 -5
@@ 14,7 14,7 @@ namespace gui
{
    PowerNapSessionEndedWindow::PowerNapSessionEndedWindow(
        app::ApplicationCommon *app, std::shared_ptr<app::powernap::PowerNapSessionEndedContract::Presenter> presenter)
        : WindowWithTimer(app, gui::window::name::powernapSessionEnded), presenter{std::move(presenter)}
        : WindowWithTimer(app, window::name::powernapSessionEnded), presenter{std::move(presenter)}
    {
        buildInterface();
    }


@@ 28,14 28,14 @@ namespace gui

    void PowerNapSessionEndedWindow::buildLayout()
    {
        auto body = new gui::VBox(this, 0, 0, style::window_width, style::window_height);
        auto body = new VBox(this, 0, 0, style::window_width, style::window_height);
        body->setAlignment(Alignment(Alignment::Horizontal::Center, Alignment::Vertical::Center));

        new gui::Image(body, "tethering_notification_icon"); // TODO: ICON!!!!
        new Image(body, "big_namaste_W_G");

        auto text = new gui::Text(body, 0, 0, body->getWidth(), powerNapStyle::sessionEnd::textH);
        auto text = new Text(body, 0, 0, body->getWidth(), powerNapStyle::sessionEnd::textH);
        TextFormat format(FontManager::getInstance().getFont(powerNapStyle::descriptionFont));
        gui::text::RichTextParser parser;
        text::RichTextParser parser;
        auto textParsed = parser.parse(utils::translate("app_bell_powernap_session_ended_message"), &format);
        text->setText(std::move(textParsed));
        text->setAlignment(Alignment(Alignment::Horizontal::Center, Alignment::Vertical::Center));