ListBox::startDragAndDrop() and dragImage.multiplyAllAlphas


Can we please move the adjustment for alpha

void ListBox::startDragAndDrop (const MouseEvent& e, DragAndDropData::Ptr dragData)
        dragImage.multiplyAllAlphas (0.6f);

to the end of ListBox::createSnapshotOfSelectedRows():

const Image ListBox::createSnapshotOfSelectedRows (int& imageX, int& imageY)
    snapshot.multiplyAllAlhas (0.6f);
    return snapshot;

I’m overriding createSnapshotOfSelectedRows() and creating my own ARGB Image and I’d like full control over the alpha channel.


Yeah, that makes a lot more sense, thanks!