2019-10-24 19:53:54 +00:00
|
|
|
#pragma once
|
|
|
|
#include <pu/Plutonium>
|
|
|
|
|
|
|
|
using namespace pu::ui::elm;
|
|
|
|
namespace inst::ui {
|
|
|
|
class instPage : public pu::ui::Layout
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
instPage();
|
|
|
|
PU_SMART_CTOR(instPage)
|
|
|
|
void onInput(u64 Down, u64 Up, u64 Held, pu::ui::Touch Pos);
|
|
|
|
TextBlock::Ref pageInfoText;
|
2019-10-27 03:36:45 +00:00
|
|
|
TextBlock::Ref installInfoText;
|
2019-10-25 01:33:41 +00:00
|
|
|
pu::ui::elm::ProgressBar::Ref installBar;
|
2019-10-27 03:36:45 +00:00
|
|
|
Image::Ref awooImage;
|
2019-12-19 02:36:38 +00:00
|
|
|
static void setTopInstInfoText(std::string ourText);
|
|
|
|
static void setInstInfoText(std::string ourText);
|
|
|
|
static void setInstBarPerc(double ourPercent);
|
|
|
|
static void loadMainMenu();
|
|
|
|
static void loadInstallScreen();
|
2019-10-24 19:53:54 +00:00
|
|
|
private:
|
2019-10-27 03:36:45 +00:00
|
|
|
Rectangle::Ref infoRect;
|
|
|
|
Rectangle::Ref topRect;
|
|
|
|
Image::Ref titleImage;
|
2019-11-14 01:23:30 +00:00
|
|
|
TextBlock::Ref appVersionText;
|
2019-10-24 19:53:54 +00:00
|
|
|
};
|
|
|
|
}
|