Help! I'd like to add a "spotlight" feature into my program. I'd like the user to be able to: add as many spotlight as needed, be able to adjust the outside brightness (shared value with other spotlights), be able to resize, be able to relocate each light as needed, and be able to set its borders.
I was thinking each spotlight would be its own layer. During on the OnPaint event of the TImageEnView object, I'd make a selection copy to bitmap and update the appropriate spotlight layer. I'd use a black layer the size of the background layer and change its opacity to adjust darkness of the background image.
How would you go about implementing this? I'd prefer it to be as little taxing on the computer as possible. Any guidance would be greatly appreciated.