I’m wondering what would be cleanest / simplest to implement. We need a simple dropdown with images only (for EQ filter selection).
Option 1: Use a JUCE ComboBox and customise the L&F. Cons: Extra work to customise L&F, extra functionality we don’t need. Pros: Integrates with APVTS via ComboBoxAttachment
Option 2: Create a custom component as a popup menu. Cons: Requires extra work to connect to the parameter, converting the selection to a value for storage in the APVTS. Pros: Cleaner in terms of GUI, we only need a vertical list of image buttons.
Another option is to get the PopupMenu that will be used by the ComboBox (ComboBox::getRootMenu()) and to add custom components as list items (PopupMenu::addCustomItem). This way, you can continue using the APVTS attachments (I think!), and you don’t need to customise the L&F just for this single combo box.