Etterna
0.74.4
Loading...
Searching...
No Matches
src
Etterna
Actor
Menus
ComboGraph.h
1
/* ComboGraph - A bar displaying the player's combo on Evaluation. */
2
#ifndef COMBO_GRAPH_H
3
#define COMBO_GRAPH_H
4
5
#include "Etterna/Actor/Base/ActorFrame.h"
6
#include "Etterna/Models/Misc/ThemeMetric.h"
7
8
class
StageStats
;
9
class
PlayerStageStats
;
10
class
BitmapText
;
11
12
class
ComboGraph
:
public
ActorFrame
13
{
14
public
:
15
ComboGraph
();
16
void
Load(
const
std::string& sMetricsGroup);
17
void
Set(
const
StageStats
& s,
const
PlayerStageStats
& pss);
18
void
SetWithoutStageStats(
const
PlayerStageStats
& pss,
const
float
fLastSecond);
19
ComboGraph
* Copy()
const override
;
20
bool
AutoLoadChildren()
const override
{
return
true
; }
21
22
// Commands
23
void
PushSelf(lua_State* L)
override
;
24
25
private
:
26
ThemeMetric<float>
BODY_WIDTH;
27
ThemeMetric<float>
BODY_HEIGHT;
28
Actor
* m_pBacking;
29
Actor
* m_pNormalCombo;
30
Actor
* m_pMaxCombo;
31
BitmapText
* m_pComboNumber;
32
};
33
34
#endif
ActorFrame
A container for other Actors.
Definition
ActorFrame.h:8
Actor
Base class for all objects that appear on the screen.
Definition
Actor.h:77
BitmapText
An actor that holds a Font and draws text to the screen.
Definition
BitmapText.h:11
ComboGraph
Definition
ComboGraph.h:13
PlayerStageStats
Contains statistics for one stage of play - either one song, or a whole course.
Definition
PlayerStageStats.h:19
StageStats
Contains statistics for one stage of play.
Definition
StageStats.h:15
ThemeMetric
The theme specific data.
Definition
ThemeMetric.h:52
Generated by
1.9.8