Remove hacks for GlueTheGiant, will need to be handled differently
This commit is contained in:
parent
8ed1859f92
commit
65244f1979
2 changed files with 26 additions and 20 deletions
|
|
@ -56,22 +56,6 @@ std::string system(std::string filename) {
|
|||
// get plugin resource
|
||||
std::string plugin(plugin::Plugin* plugin, std::string filename) {
|
||||
DISTRHO_SAFE_ASSERT_RETURN(plugin != nullptr, {});
|
||||
// always use dark scheme
|
||||
if (plugin->slug == "GlueTheGiant")
|
||||
{
|
||||
if (filename == "res/BusDepot.svg"
|
||||
|| filename == "res/BusRoute.svg"
|
||||
|| filename == "res/EnterBus.svg"
|
||||
|| filename == "res/ExitBus.svg"
|
||||
|| filename == "res/GigBus.svg"
|
||||
|| filename == "res/MetroCityBus.svg"
|
||||
|| filename == "res/MiniBus.svg"
|
||||
|| filename == "res/Road.svg"
|
||||
|| filename == "res/SchoolBus.svg")
|
||||
{
|
||||
filename = filename.substr(0, filename.size()-4) + "_Night.svg";
|
||||
}
|
||||
}
|
||||
return system::join(plugin->path, filename);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue