Etterna 0.74.4
Loading...
Searching...
No Matches
LyricDisplay.h
1#ifndef LYRIC_DISPLAY_H
2#define LYRIC_DISPLAY_H
3
4#include "Etterna/Actor/Base/ActorFrame.h"
5#include "Etterna/Actor/Base/BitmapText.h"
7class LyricDisplay : public ActorFrame
8{
9 public:
11 void Update(float fDeltaTime) override;
12
13 // Call when song changes:
14 void Init();
15
16 // Call on song failed:
17 void Stop();
18
19 private:
20 BitmapText m_textLyrics[2];
21 unsigned m_iCurLyricNumber;
22 float m_fLastSecond;
23 bool m_bStopped;
24};
25
26#endif
A container for other Actors.
Definition ActorFrame.h:8
An actor that holds a Font and draws text to the screen.
Definition BitmapText.h:11
Displays lyrics along with the song on Gameplay.
Definition LyricDisplay.h:8