| @@ -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 | ||||