29 void Load(
const char *pszName);
HideablePanel(const char *pszAnim, const char *pszDrawable, bool bShown)
Construct a panel and find its animation and drawable.
OvyController(RndView *pHudView)
Construct a hidden picture and draw it into the letterboxed view of the head-up display.
~OvyController() override=default
Destroy the picture.
void ShowButton(int nButton, bool bShow)
Show or hide a button, and start or stop its animation.
void SetHighlight(bool bHighlight)
Light or darken the picture.
RndAnimatable * GetPosAnim() const
Definition ovycontroller.h:87
static constexpr int kNumButtons
The number of buttons of the picture, one per JoypadButton from kPadL2 to kPadDLeft.
Definition ovycontroller.h:18
Highlight
The materials of the picture, the indices of mMats.
Definition ovycontroller.h:36
@ kNumHighlights
Definition ovycontroller.h:39
@ kHighlightOff
Definition ovycontroller.h:37
@ kHighlightOn
Definition ovycontroller.h:38
void Reset()
Hide the picture and every button at once.
Mix-in for an object driven by a frame.
Definition rndanimatable.h:16
Mix-in for an object that draws itself and then a list of other drawables.
Definition rnddrawable.h:16
Surface description: blending, lighting colours, culling, and a list of texture stages.
Definition rndmat.h:20
Triangle mesh with a material.
Definition rndmesh.h:31
View that shows the children of another view, its children owner, under its own transform and frame.
Definition rndview.h:27