Awoo-Installer/include/ui/mainPage.hpp

35 lines
1.2 KiB
C++
Raw Normal View History

2019-10-17 20:20:40 +00:00
#pragma once
#include <pu/Plutonium>
using namespace pu::ui::elm;
namespace inst::ui {
class MainPage : public pu::ui::Layout
{
public:
MainPage();
PU_SMART_CTOR(MainPage)
void installMenuItem_Click();
void netInstallMenuItem_Click();
2019-11-30 03:58:28 +00:00
void usbInstallMenuItem_Click();
2019-10-17 20:20:40 +00:00
void sigPatchesMenuItem_Click();
2019-10-26 04:38:12 +00:00
void settingsMenuItem_Click();
2019-10-17 20:20:40 +00:00
void exitMenuItem_Click();
void onInput(u64 Down, u64 Up, u64 Held, pu::ui::Touch Pos);
Image::Ref awooImage;
2019-10-17 20:20:40 +00:00
private:
bool appletThreadFinished;
TextBlock::Ref butText;
Rectangle::Ref topRect;
Rectangle::Ref botRect;
Image::Ref titleImage;
2019-11-14 01:23:30 +00:00
TextBlock::Ref appVersionText;
2019-10-17 20:20:40 +00:00
pu::ui::elm::Menu::Ref optionMenu;
pu::ui::elm::MenuItem::Ref installMenuItem;
pu::ui::elm::MenuItem::Ref netInstallMenuItem;
2019-11-30 03:58:28 +00:00
pu::ui::elm::MenuItem::Ref usbInstallMenuItem;
2019-10-17 20:20:40 +00:00
pu::ui::elm::MenuItem::Ref sigPatchesMenuItem;
2019-10-26 04:38:12 +00:00
pu::ui::elm::MenuItem::Ref settingsMenuItem;
2019-10-17 20:20:40 +00:00
pu::ui::elm::MenuItem::Ref exitMenuItem;
2019-10-31 15:42:40 +00:00
Image::Ref eggImage;
2019-10-17 20:20:40 +00:00
};
}