mirror of
https://github.com/hax4dazy/TinWoo.git
synced 2025-02-09 19:25:05 +01:00
Add files via upload
This commit is contained in:
parent
e14df7993d
commit
efe355b29a
31
include/ui/ThemeInstPage.hpp
Normal file
31
include/ui/ThemeInstPage.hpp
Normal file
@ -0,0 +1,31 @@
|
|||||||
|
#pragma once
|
||||||
|
#include <pu/Plutonium>
|
||||||
|
|
||||||
|
using namespace pu::ui::elm;
|
||||||
|
namespace inst::ui {
|
||||||
|
class ThemeInstPage : public pu::ui::Layout
|
||||||
|
{
|
||||||
|
public:
|
||||||
|
ThemeInstPage();
|
||||||
|
PU_SMART_CTOR(ThemeInstPage)
|
||||||
|
void startNetwork();
|
||||||
|
void onInput(u64 Down, u64 Up, u64 Held, pu::ui::TouchPoint touch_pos);
|
||||||
|
TextBlock::Ref pageInfoText;
|
||||||
|
private:
|
||||||
|
std::vector<std::string> ourUrls;
|
||||||
|
std::vector<std::string> modded;
|
||||||
|
std::vector<std::string> selectedUrls;
|
||||||
|
std::vector<std::string> alternativeNames;
|
||||||
|
TextBlock::Ref butText;
|
||||||
|
Rectangle::Ref topRect;
|
||||||
|
Rectangle::Ref infoRect;
|
||||||
|
Rectangle::Ref botRect;
|
||||||
|
Image::Ref titleImage;
|
||||||
|
TextBlock::Ref appVersionText;
|
||||||
|
pu::ui::elm::Menu::Ref menu;
|
||||||
|
Image::Ref infoImage;
|
||||||
|
void drawMenuItems(bool clearItems);
|
||||||
|
void drawMenuItems_withext(bool clearItems);
|
||||||
|
void selectTitle(int selectedIndex);
|
||||||
|
};
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user