mirror of
https://github.com/Huntereb/Awoo-Installer
synced 2024-11-22 19:53:07 +00:00
36 lines
No EOL
1.2 KiB
C++
Executable file
36 lines
No EOL
1.2 KiB
C++
Executable file
#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();
|
|
void usbInstallMenuItem_Click();
|
|
void sigPatchesMenuItem_Click();
|
|
void settingsMenuItem_Click();
|
|
void exitMenuItem_Click();
|
|
void onInput(u64 Down, u64 Up, u64 Held, pu::ui::Touch Pos);
|
|
Image::Ref awooImage;
|
|
private:
|
|
bool appletFinished;
|
|
bool updateFinished;
|
|
TextBlock::Ref butText;
|
|
Rectangle::Ref topRect;
|
|
Rectangle::Ref botRect;
|
|
Image::Ref titleImage;
|
|
TextBlock::Ref appVersionText;
|
|
pu::ui::elm::Menu::Ref optionMenu;
|
|
pu::ui::elm::MenuItem::Ref installMenuItem;
|
|
pu::ui::elm::MenuItem::Ref netInstallMenuItem;
|
|
pu::ui::elm::MenuItem::Ref usbInstallMenuItem;
|
|
pu::ui::elm::MenuItem::Ref sigPatchesMenuItem;
|
|
pu::ui::elm::MenuItem::Ref settingsMenuItem;
|
|
pu::ui::elm::MenuItem::Ref exitMenuItem;
|
|
Image::Ref eggImage;
|
|
};
|
|
} |