|
group2 0.1.0
CSE 125 Group 2
|
#include <ScreenDecalWidget.hpp>
Public Member Functions | |
| TopDecalWidget () | |
| Public Member Functions inherited from ScreenDecalWidget | |
| bool | isTopDecal () const |
| void | update (float dt, const HudGameState &state, HudTweenPool &tweens) override |
| Called each frame before draw(). Update animation, consume events. | |
| void | draw (HudContext &ctx, float drawX, float drawY) override |
| Emit geometry into the draw context. | |
| Public Member Functions inherited from HudWidget | |
| virtual | ~HudWidget ()=default |
Additional Inherited Members | |
| Public Attributes inherited from ScreenDecalWidget | |
| float | decalWidth = 1920.f |
| float | decalHeight = 165.65f |
| float | decalScale = 1.f |
| float | decalOffsetX = 0.f |
| float | decalOffsetY = 0.f |
| float | decalStretchX = 1.f |
| float | decalStretchY = 1.f |
| float | decalRotationDeg = 0.f |
| Public Attributes inherited from HudWidget | |
| bool | visible = true |
| HudAnchor | anchor = HudAnchor::TopLeft |
| float | offsetX = 0.f |
| float | offsetY = 0.f |
| float | width = 0.f |
| float | height = 0.f |
| HudColor | tint {1.f, 1.f, 1.f, 1.f} |
| float | uiScale_ = 1.f |
| Set by Hud each frame (screenH / 1080). | |
| Protected Member Functions inherited from ScreenDecalWidget | |
| ScreenDecalWidget (bool top) | |
| TopDecalWidget::TopDecalWidget | ( | ) |