prime/include/GuiSys/CGuiFrame.hpp

24 lines
470 B
C++
Raw Normal View History

2022-11-07 17:06:11 +00:00
#ifndef _CGUIFRAME
#define _CGUIFRAME
#include "rstl/string.hpp"
class CGuiWidget;
class CGuiCamera;
2023-01-14 00:53:27 +00:00
class CGuiLight;
2022-11-07 17:06:11 +00:00
class CGuiFrame {
public:
CGuiWidget* FindWidget(const char* name) const;
CGuiWidget* FindWidget(const rstl::string& name) const;
CGuiCamera* GetFrameCamera() const { return x14_camera; }
2023-01-14 00:53:27 +00:00
void AddLight(CGuiLight* light);
void RemoveLight(CGuiLight* light);
2022-11-07 17:06:11 +00:00
private:
char x0_pad[0x14];
CGuiCamera* x14_camera;
};
#endif // _CGUIFRAME