1111f691c6
Co-authored-by: n.fedorov <mail@nfedorov.dev> Co-committed-by: n.fedorov <mail@nfedorov.dev>
28 lines
622 B
C++
28 lines
622 B
C++
#include <memory>
|
|
|
|
#include <pu/Plutonium>
|
|
|
|
#include <nxst/ui/header_bar.hpp>
|
|
#include <nxst/ui/hint_bar.hpp>
|
|
|
|
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)
|
|
};
|
|
} // namespace ui
|