Replace silver screws with black ones, invert colors
Signed-off-by: falkTX <falktx@falktx.com>
This commit is contained in:
parent
591aad30ec
commit
0f889e77fc
2 changed files with 50 additions and 14 deletions
|
|
@ -16,6 +16,7 @@
|
|||
*/
|
||||
|
||||
#include <asset.hpp>
|
||||
#include <string.hpp>
|
||||
#include <system.hpp>
|
||||
#include <plugin/Plugin.hpp>
|
||||
|
||||
|
|
@ -49,6 +50,9 @@ std::string user(std::string filename) {
|
|||
|
||||
// get system resource, trimming "res/" prefix if we are loaded as a plugin bundle
|
||||
std::string system(std::string filename) {
|
||||
if (string::endsWith(filename, "ComponentLibrary/ScrewSilver.svg")) {
|
||||
filename = filename.substr(0, filename.size()-32) + "ComponentLibrary/ScrewBlack.svg";
|
||||
}
|
||||
return system::join(systemDir, bundlePath.empty() ? filename : trim(filename));
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue