Files
MuditaOS/module-apps/application-alarm-clock/windows/CustomRepeatWindow.hpp
Lefucjusz cc0ec423bf [MOS-1035] Fixes in new alarm window UI flow
* Fixed disappearing left functional
button label when popup appeared while
focused on sound selection field or
AM/PM field
* Fixed erasing selections on
custom alarm edit window when
popup appeared.
* Added preview playback stopping
after manually blocking the phone.
2023-09-21 11:14:27 +02:00

29 lines
994 B
C++

// Copyright (c) 2017-2023, Mudita Sp. z.o.o. All rights reserved.
// For licensing, see https://github.com/mudita/MuditaOS/LICENSE.md
#pragma once
#include <application-alarm-clock/presenter/CustomRepeatWindowPresenter.hpp>
#include <Application.hpp>
#include <ListView.hpp>
#include <AppWindow.hpp>
namespace app::alarmClock
{
class CustomRepeatWindow : public gui::AppWindow, public CustomRepeatWindowContract::View
{
gui::ListView *list = nullptr;
std::unique_ptr<CustomRepeatWindowContract::Presenter> presenter;
public:
CustomRepeatWindow(app::ApplicationCommon *app,
std::unique_ptr<CustomRepeatWindowContract::Presenter> &&windowPresenter);
void onBeforeShow(gui::ShowMode mode, gui::SwitchData *data) override;
void onClose(CloseReason reason) override;
bool onInput(const gui::InputEvent &inputEvent) override;
void buildInterface() override;
};
} // namespace app::alarmClock