Create a GUI component without a background rectangle


#1

Is there any way to disable the g.fillAll method from a new GUI component created in the introjucer?

if not, is there any reason why it absolutely NEEDS to be called?  

I'm wanting to create a component to layer over others, with an opaque selection area.  The actual selection bounds are usually only a fraction of the total component bounds, but i want to use mouse events from the total bounds, so it feels like the best way is to make the larger component area as my mouseListener, and then only fill the fraction needed for the selection area. 

 

 

 


#2

IIRC if you make the colour transparent, it'll remove the fill call.


#3

oh yeah...that removes the call entirely.  awesome!