Etterna
0.74.4
Loading...
Searching...
No Matches
src
Etterna
Actor
Gameplay
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"
7
class
LyricDisplay
:
public
ActorFrame
8
{
9
public
:
10
LyricDisplay
();
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
ActorFrame
A container for other Actors.
Definition
ActorFrame.h:8
BitmapText
An actor that holds a Font and draws text to the screen.
Definition
BitmapText.h:11
LyricDisplay
Displays lyrics along with the song on Gameplay.
Definition
LyricDisplay.h:8
Generated by
1.9.8