metaforce/Runtime/GuiSys/CGuiWidgetDrawParms.hpp

23 lines
488 B
C++
Raw Normal View History

2016-03-17 02:18:01 +00:00
#ifndef __URDE_CGUIWIDGETDRAWPARMS_HPP__
#define __URDE_CGUIWIDGETDRAWPARMS_HPP__
2016-12-30 06:37:01 +00:00
#include "zeus/CVector3f.hpp"
2016-03-17 02:18:01 +00:00
namespace urde
{
struct CGuiWidgetDrawParms
{
2016-12-29 05:53:00 +00:00
float x0_alphaMod = 1.f;
2016-12-30 06:37:01 +00:00
zeus::CVector3f x4_cameraOffset;
2016-12-29 05:53:00 +00:00
2016-12-30 06:37:01 +00:00
CGuiWidgetDrawParms() = default;
CGuiWidgetDrawParms(float alphaMod, const zeus::CVector3f& cameraOff)
: x0_alphaMod(alphaMod), x4_cameraOffset(cameraOff) {}
2016-12-29 05:53:00 +00:00
static CGuiWidgetDrawParms Default;
2016-03-17 02:18:01 +00:00
};
}
#endif // __URDE_CGUIWIDGETDRAWPARMS_HPP__