Add metric to determine default lyrics color

This commit is contained in:
Aaron VonderHaar
2003-09-07 20:51:46 +00:00
parent 76711921e6
commit 9da20ccf14
2 changed files with 5 additions and 1 deletions
+4 -1
View File
@@ -7,11 +7,14 @@
#include "RageException.h"
#include "RageUtil.h"
#include "LyricsLoader.h"
#include "ThemeManager.h"
#include "RageFile.h"
#include <map>
using namespace std;
#define LYRICS_DEFAULT_COLOR THEME->GetMetricC("ScreenGameplay","LyricsDefaultColor")
static int CompareLyricSegments(const LyricSegment &seg1, const LyricSegment &seg2)
{
return seg1.m_fStartTime < seg2.m_fStartTime;
@@ -30,7 +33,7 @@ bool LyricsLoader::LoadFromLRCFile( CString sPath, Song &out )
string line;
RageColor CurrentColor(0,1,0,1);
RageColor CurrentColor = LYRICS_DEFAULT_COLOR;
out.m_LyricSegments.clear();