mirror of
https://github.com/mudita/MuditaOS.git
synced 2026-04-20 23:17:35 -04:00
Refactored LockWindow TitleBar handling. Added Sim pin request block on lockedPhone. Added Sim info popup added when pin changed. Updated assets. Removed old PinLock structures. Cleared LockBox structures. Removed old settings sim setters. New CellularMessage adaptation. Cleared Lock structure.
30 lines
901 B
C++
30 lines
901 B
C++
// Copyright (c) 2017-2021, Mudita Sp. z.o.o. All rights reserved.
|
|
// For licensing, see https://github.com/mudita/MuditaOS/LICENSE.md
|
|
|
|
#pragma once
|
|
|
|
#include <module-apps/windows/AppWindow.hpp>
|
|
#include <module-gui/gui/widgets/Text.hpp>
|
|
#include <module-gui/gui/widgets/Icon.hpp>
|
|
|
|
namespace gui
|
|
{
|
|
class PostUpdateWindow : public AppWindow
|
|
{
|
|
Icon *infoIcon = nullptr;
|
|
|
|
void setVisibleState();
|
|
std::string currentOsVersion;
|
|
|
|
public:
|
|
explicit PostUpdateWindow(app::Application *app);
|
|
void onBeforeShow(ShowMode mode, SwitchData *data) override;
|
|
bool onInput(const InputEvent &inputEvent) override;
|
|
|
|
void rebuild() override;
|
|
void buildInterface() override;
|
|
void destroyInterface() override;
|
|
top_bar::Configuration configureTopBar(top_bar::Configuration appConfiguration) override;
|
|
};
|
|
} /* namespace gui */
|