Etterna
0.74.4
Loading...
Searching...
No Matches
src
Etterna
Actor
Menus
ModIcon.h
1
#ifndef ModIcon_H
2
#define ModIcon_H
3
4
#include "Etterna/Actor/Base/ActorFrame.h"
5
#include "Etterna/Actor/Base/AutoActor.h"
6
#include "Etterna/Actor/Base/BitmapText.h"
7
#include "Etterna/Models/Misc/ThemeMetric.h"
9
class
ModIcon
:
public
ActorFrame
10
{
11
public
:
12
ModIcon
();
13
ModIcon
(
const
ModIcon
& cpy);
14
void
Load(
const
std::string& sMetricsGroup);
15
void
Set(
const
std::string& sText);
16
17
protected
:
18
BitmapText
m_text;
19
AutoActor
m_sprFilled;
20
AutoActor
m_sprEmpty;
21
22
ThemeMetric<int>
CROP_TEXT_TO_WIDTH;
23
ThemeMetric<std::string>
STOP_WORDS;
24
std::vector<std::string> m_vStopWords;
25
};
26
27
#endif
ActorFrame
A container for other Actors.
Definition
ActorFrame.h:8
AutoActor
A smart pointer for Actor.
Definition
AutoActor.h:13
BitmapText
An actor that holds a Font and draws text to the screen.
Definition
BitmapText.h:11
ModIcon
Shows PlayerOptions and SongOptions in icon form.
Definition
ModIcon.h:10
ThemeMetric
The theme specific data.
Definition
ThemeMetric.h:52
Generated by
1.9.8