mirror of
https://github.com/MonsterDruide1/OdysseyDecomp
synced 2026-04-23 09:04:21 +00:00
44 lines
908 B
C++
44 lines
908 B
C++
#pragma once
|
|
|
|
#include <basis/seadTypes.h>
|
|
|
|
namespace nn::ui2d {
|
|
class Layout;
|
|
class DrawInfo;
|
|
} // namespace nn::ui2d
|
|
|
|
namespace eui {
|
|
class Screen;
|
|
}
|
|
|
|
namespace al {
|
|
class LayoutPaneGroup;
|
|
class LayoutResource;
|
|
class CustomTagProcessor;
|
|
|
|
class LayoutKeeper {
|
|
public:
|
|
LayoutKeeper();
|
|
|
|
void initScreen(eui::Screen*);
|
|
void initLayout(nn::ui2d::Layout* layout, LayoutResource* resource);
|
|
void initDrawInfo(nn::ui2d::DrawInfo*);
|
|
void initTagProcessor(CustomTagProcessor*);
|
|
LayoutPaneGroup* getGroup(const char*) const;
|
|
LayoutPaneGroup* getGroup(s32) const;
|
|
s32 getGroupNum() const;
|
|
void calcAnim(bool);
|
|
void draw();
|
|
|
|
private:
|
|
CustomTagProcessor* mTagProcessor;
|
|
nn::ui2d::DrawInfo* mDrawInfo;
|
|
nn::ui2d::Layout* mLayout;
|
|
void* filler_18[2];
|
|
eui::Screen* mScreen;
|
|
void* filler_30;
|
|
};
|
|
|
|
static_assert(sizeof(LayoutKeeper) == 0x38);
|
|
} // namespace al
|