finish refactor, add docs and CI
CI / Build NRO (push) Failing after 1s
CI / Format check (push) Successful in 16s
CI / Layering check (push) Successful in 1s

This commit is contained in:
2026-04-27 01:49:41 +03:00
parent dc65a4c8a9
commit 17d1ba02df
48 changed files with 1977 additions and 1471 deletions
+17 -18
View File
@@ -1,29 +1,28 @@
#include <memory>
#include <pu/Plutonium>
#include <nxst/ui/const.h>
#include <nxst/ui/header_bar.hpp>
#include <nxst/ui/hint_bar.hpp>
#include <memory>
namespace ui {
class UsersLayout : public pu::ui::Layout {
private:
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;
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();
public:
void onInput(u64 Down, u64 Up, u64 Held, pu::ui::TouchPoint Pos);
UsersLayout();
int32_t GetCurrentIndex();
void onInput(u64 Down, u64 Up, u64 Held, pu::ui::TouchPoint Pos);
int32_t GetCurrentIndex();
PU_SMART_CTOR(UsersLayout)
};
}
PU_SMART_CTOR(UsersLayout)
};
} // namespace ui