Cleanup.
This commit is contained in:
@@ -22,20 +22,16 @@
|
||||
#include "arch/LoadingWindow/LoadingWindow.h"
|
||||
#include "LocalizedString.h"
|
||||
|
||||
#define SHOW_PLAY_MODE(pm) THEME->GetMetricB("CatalogXml",ssprintf("ShowPlayMode%s",PlayModeToString(pm).c_str()))
|
||||
#define SHOW_STYLE(ps) THEME->GetMetricB("CatalogXml",ssprintf("ShowStyle%s",Capitalize((ps)->m_szName).c_str()))
|
||||
#define INTERNET_RANKING_HOME_URL THEME->GetMetric ("CatalogXml","InternetRankingHomeUrl")
|
||||
#define INTERNET_RANKING_UPLOAD_URL THEME->GetMetric ("CatalogXml","InternetRankingUploadUrl")
|
||||
#define INTERNET_RANKING_VIEW_GUID_URL THEME->GetMetric ("CatalogXml","InternetRankingViewGuidUrl")
|
||||
#define PRODUCT_TITLE THEME->GetMetric ("CatalogXml","ProductTitle")
|
||||
#define FOOTER_TEXT THEME->GetMetric ("CatalogXml","FooterText")
|
||||
#define FOOTER_LINK THEME->GetMetric ("CatalogXml","FooterLink")
|
||||
|
||||
/*
|
||||
* These RStrings store where the Catalog* files are located, and what they
|
||||
* called.
|
||||
*/
|
||||
#define SHOW_PLAY_MODE(pm) THEME->GetMetricB("CatalogXml",ssprintf("ShowPlayMode%s",PlayModeToString(pm).c_str()))
|
||||
#define SHOW_STYLE(ps) THEME->GetMetricB("CatalogXml",ssprintf("ShowStyle%s",Capitalize((ps)->m_szName).c_str()))
|
||||
#define INTERNET_RANKING_HOME_URL THEME->GetMetric ("CatalogXml","InternetRankingHomeUrl")
|
||||
#define INTERNET_RANKING_UPLOAD_URL THEME->GetMetric ("CatalogXml","InternetRankingUploadUrl")
|
||||
#define INTERNET_RANKING_VIEW_GUID_URL THEME->GetMetric ("CatalogXml","InternetRankingViewGuidUrl")
|
||||
#define PRODUCT_TITLE THEME->GetMetric ("CatalogXml","ProductTitle")
|
||||
#define FOOTER_TEXT THEME->GetMetric ("CatalogXml","FooterText")
|
||||
#define FOOTER_LINK THEME->GetMetric ("CatalogXml","FooterLink")
|
||||
|
||||
// Catalog file paths.
|
||||
const RString CATALOG_XML = "Catalog.xml";
|
||||
const RString CATALOG_XSL = "Catalog.xsl";
|
||||
const RString CATALOG_XML_FILE = "Save/" + CATALOG_XML;
|
||||
|
||||
Reference in New Issue
Block a user