Files
MuditaOS/module-apps/application-desktop/windows/PostUpdateWindow.hpp
lblach 76dc6f9f5b [EGD-5771] Create post update info window
Add post update info window.
2021-03-02 09:30:15 +01:00

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 */