2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-12-10 13:47:46 +00:00

Various widget constructor stubs and factories

This commit is contained in:
Jack Andersen
2016-03-11 18:58:56 -10:00
parent b952b80e22
commit d81c9698ff
27 changed files with 512 additions and 74 deletions

View File

@@ -6,6 +6,21 @@
namespace urde
{
class CGuiCamera : public CGuiWidget
{
public:
enum class Projection
{
Perspective,
Orthographic
};
private:
Projection xf8_proj;
public:
CGuiCamera(const CGuiWidgetParms& parms, float, float, float, float, float, float);
CGuiCamera(const CGuiWidgetParms& parms, float fov, float aspect, float znear, float zfar);
static CGuiCamera* Create(CGuiFrame* frame, CInputStream& in, bool flag);
};
}