Re: [Gambas-user] Pictures on buttons doesn't work correctly anymore

2014-08-27 Thread Jussi Lahtinen
OK, that solved the problem! The mask is correct again... despite of the fact it shouldn't be in the first place! Thanks! Jussi On Wed, Aug 27, 2014 at 5:35 PM, Benoît Minisini < gam...@users.sourceforge.net> wrote: > Le 27/08/2014 16:26, Jussi Lahtinen a écrit : > > >> You are not drawing

Re: [Gambas-user] Pictures on buttons doesn't work correctly anymore

2014-08-27 Thread Benoît Minisini
Le 27/08/2014 16:26, Jussi Lahtinen a écrit : > > You are not drawing on button face! You are drawing inside a picture > that you have filling with Color.Transparent. > > > OK, understood. > > Picture are always opaque, but can have a mask. Then we are talking > about "transparent"

Re: [Gambas-user] Pictures on buttons doesn't work correctly anymore

2014-08-27 Thread Jussi Lahtinen
... except I lose the highlighting when mouse cursor is on the button. Looks unresponsive. I don't understand the issue. Since I can use Draw.Picture(MyTransparentPic, 0, 0) to draw transparent pictures correctly on other pictures, but not on button faces. What is the difference? Jussi On Wed,

Re: [Gambas-user] Pictures on buttons doesn't work correctly anymore

2014-08-27 Thread Jussi Lahtinen
> Picture do not support transparent color. It's just that > Color.Transparent was a fully transparent white, and is now a fully > transparent black (for sanity reason: fully transparent black is 0 in > memory, whereas fully transparent white is &H00FF&). > This is really strange, since the co

Re: [Gambas-user] Pictures on buttons doesn't work correctly anymore

2014-08-27 Thread Benoît Minisini
Le 27/08/2014 00:15, Jussi Lahtinen a écrit : > Something went wrong between revision 6426 and 6429. Or at least my > previously working code stopped to work. See attachment. > > [System] > Gambas=3.5.90 > OperatingSystem=Linux > Kernel=3.13.0-34-generic > Architecture=x86_64 > Distribution=Ubuntu

[Gambas-user] Pictures on buttons doesn't work correctly anymore

2014-08-26 Thread Jussi Lahtinen
Something went wrong between revision 6426 and 6429. Or at least my previously working code stopped to work. See attachment. [System] Gambas=3.5.90 OperatingSystem=Linux Kernel=3.13.0-34-generic Architecture=x86_64 Distribution=Ubuntu 14.04.1 LTS Desktop=XFCE Theme=QGtk Language=en_US.UTF-8 Memory