mirror of
https://github.com/mudita/MuditaOS.git
synced 2026-04-19 14:40:57 -04:00
* 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.
29 lines
994 B
C++
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
|