mirror of
https://github.com/mudita/MuditaOS.git
synced 2026-01-24 05:47:58 -05:00
31 lines
900 B
C++
31 lines
900 B
C++
// Copyright (c) 2017-2020, Mudita Sp. z.o.o. All rights reserved.
|
|
// For licensing, see https://github.com/mudita/MuditaOS/LICENSE.md
|
|
|
|
#pragma once
|
|
|
|
#include "AppWindow.hpp"
|
|
#include "Text.hpp"
|
|
#include "gui/widgets/Image.hpp"
|
|
|
|
namespace gui
|
|
{
|
|
class PostUpdateWindow : public AppWindow
|
|
{
|
|
gui::Image *successImage = nullptr;
|
|
gui::Text *infoText = nullptr;
|
|
|
|
void setVisibleState();
|
|
void invalidate() noexcept;
|
|
|
|
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 */
|