refactor: phase 0 & 1

This commit is contained in:
2026-04-26 20:02:15 +03:00
parent 844093e3e7
commit b5c506cf03
36 changed files with 690 additions and 137 deletions
+29
View File
@@ -0,0 +1,29 @@
#include <pu/Plutonium>
#include <const.h>
#include <ui/header_bar.hpp>
#include <ui/hint_bar.hpp>
#include <memory>
namespace ui {
class UsersLayout : public pu::ui::Layout {
private:
pu::ui::elm::Menu::Ref usersMenu;
pu::ui::elm::Rectangle::Ref loadingBg;
pu::ui::elm::TextBlock::Ref loadingText;
std::unique_ptr<HeaderBar> header;
std::unique_ptr<HintBar> hints;
public:
UsersLayout();
void onInput(u64 Down, u64 Up, u64 Held, pu::ui::TouchPoint Pos);
int32_t GetCurrentIndex();
PU_SMART_CTOR(UsersLayout)
};
}