2018-10-07 03:42:33 +00:00
|
|
|
#pragma once
|
2016-03-17 02:18:01 +00:00
|
|
|
|
2019-09-22 21:52:05 +00:00
|
|
|
#include <zeus/CVector3f.hpp>
|
2016-12-30 06:37:01 +00:00
|
|
|
|
2021-04-10 08:42:06 +00:00
|
|
|
namespace metaforce {
|
2016-03-17 02:18:01 +00:00
|
|
|
|
2018-12-08 05:30:43 +00:00
|
|
|
struct CGuiWidgetDrawParms {
|
|
|
|
float x0_alphaMod = 1.f;
|
|
|
|
zeus::CVector3f x4_cameraOffset;
|
2016-12-29 05:53:00 +00:00
|
|
|
|
2020-04-26 05:15:02 +00:00
|
|
|
constexpr CGuiWidgetDrawParms() = default;
|
|
|
|
constexpr CGuiWidgetDrawParms(float alphaMod, const zeus::CVector3f& cameraOff)
|
2018-12-08 05:30:43 +00:00
|
|
|
: x0_alphaMod(alphaMod), x4_cameraOffset(cameraOff) {}
|
2020-04-26 05:15:02 +00:00
|
|
|
|
|
|
|
static constexpr CGuiWidgetDrawParms Default() { return {}; }
|
2016-03-17 02:18:01 +00:00
|
|
|
};
|
|
|
|
|
2021-04-10 08:42:06 +00:00
|
|
|
} // namespace metaforce
|