wavelength 1.0.0
Loading...
Searching...
No Matches
hudletterbox.h
Go to the documentation of this file.
1#pragma once
2
3#include "app/rampanimator.h"
4#include "rnd/rndview.h"
5
12public:
20 explicit HudLetterbox(RndView *pHudView);
21
30 void Poll(float fDelta, float fDeltaTicks);
31
39 void SetClosed(float fClosed);
40
42 RndView *GetView() const {
43 return mView;
44 }
45
47 const RampAnimator &GetSlide() const {
48 return mSlide;
49 }
50
51private:
52 RndView *mView;
53 RampAnimator mSlide;
54};
const RampAnimator & GetSlide() const
Definition hudletterbox.h:47
void Poll(float fDelta, float fDeltaTicks)
Advance the bars, and show them while they are not open.
RndView * GetView() const
Definition hudletterbox.h:42
HudLetterbox(RndView *pHudView)
Construct open bars from HUD letterbox.view.
void SetClosed(float fClosed)
Move the bars toward a part of the way closed.
Value that moves toward a target along an interpolator, and poses an animation on the value.
Definition rampanimator.h:14
View that shows the children of another view, its children owner, under its own transform and frame.
Definition rndview.h:27