Tom thanks a lot for the code. I could not select several tracks before I implemented it.
I was wondering how to change the color to something more fitting by the config I use.
I am using the Dark config by CepiPerez.
What code do I need to make the selection area transparent?
Thanks a lot.
You can choose another colour by replacing the RGB codes in the example I gave. I chose a blue, 0-0-200 as an example, if you want to find RGB codes, open a colour palette eg by clicking the colour button next to 'background colour' in the ELPL settings, choose your colour then remember the 3 numbers on the bottom right, for red, green and blue. Put them where 0,0 and 200 are, but keep the hyphens. I think one is a border colour, so they can be different. You can add another number to give a transparency: -0 would be completely transparent, -255 is opaque. E.G red with 50% transparency and a black opaque border is: $drawrect(0,0,%_width%,%_height%,255-0-0-128,0-0-0-255,)
Make sure your code is ordered correctly too, you'd want the backgrounds to go behind the text, so put the rectangle code before the text code.
I'm wondering what you guys have done to your codes, I just checked and there is a selection rectangle that comes with the default view:
$enabledraw(%el_is_valid%)
$if(%el_isplaying%
,$gradientrect(0,0,%el_width%,%el_height%,245-245-245,255-192-192,)
,$if(%el_selected%,$gradientrect(0,0,%el_width%,%el_height%,245-245-245,192-232-255,horizontal),))
$if(%el_focused%,$drawrect(0,0,$sub(%el_width%,1),$sub(%el_height%,1),,54-64-128,),)
I guess you must have deleted it or something!
Pepito: are you sure your selection rectangle is there for %el_selected% and not %el_focused%?
Cheers,
Tom