Jeck - CommonRes transparently finds themed versions of files. Use JRenderer::LoadTexture for unthemed files, and CommonRes::LoadTexture for themed files. Res/graphics/back.jpg renamed to Res/graphics/backdrop.jpg due to collision with sets/back.jpg.
This commit is contained in:
@@ -30,6 +30,7 @@ struct Options {
|
||||
static const string OSD;
|
||||
static const string ACTIVE_PROFILE;
|
||||
static const string ACTIVE_THEME;
|
||||
static const string ACTIVE_MODE;
|
||||
};
|
||||
|
||||
struct Metrics {
|
||||
@@ -115,7 +116,6 @@ public:
|
||||
//The sanity=false option returns the adjusted path even if the file doesn't exist.
|
||||
string profileFile(string filename="", string fallback="", bool sanity=true,bool relative=false);
|
||||
string modeFile(string filename, string fallback, bool relative);
|
||||
string themeGraphic(string filename);
|
||||
|
||||
void checkProfile();
|
||||
void createUsersFirstDeck(int setId);
|
||||
|
||||
Reference in New Issue
Block a user