Browse Source

Set canvas icons on some native plugins

tags/1.9.4
falkTX 11 years ago
parent
commit
2a30af05fa
1 changed files with 23 additions and 0 deletions
  1. +23
    -0
      source/backend/plugin/NativePlugin.cpp

+ 23
- 0
source/backend/plugin/NativePlugin.cpp View File

@@ -2202,6 +2202,29 @@ public:
return false; return false;
} }


// ---------------------------------------------------------------
// set icon

if (std::strcmp(fDescriptor->label, "audiofile") == 0)
fIconName = "file";
else if (std::strcmp(fDescriptor->label, "midifile") == 0)
fIconName = "file";
else if (std::strcmp(fDescriptor->label, "sunvoxfile") == 0)
fIconName = "file";

else if (std::strcmp(fDescriptor->label, "3BandEQ") == 0)
fIconName = "distrho";
else if (std::strcmp(fDescriptor->label, "3BandSplitter") == 0)
fIconName = "distrho";
else if (std::strcmp(fDescriptor->label, "Nekobi") == 0)
fIconName = "distrho";
else if (std::strcmp(fDescriptor->label, "Notes") == 0)
fIconName = "distrho";
else if (std::strcmp(fDescriptor->label, "PingPongPan") == 0)
fIconName = "distrho";
else if (std::strcmp(fDescriptor->label, "StereoEnhancer") == 0)
fIconName = "distrho";

// --------------------------------------------------------------- // ---------------------------------------------------------------
// get info // get info




Loading…
Cancel
Save