nanogui: How to change the alpha value of a pixmap?


Previous by date: 23 Jun 2012 19:55:15 -0000 Re: Compile v0.92 for eCos (addendum), Greg Haerr
Next by date: 23 Jun 2012 19:55:15 -0000 VNC with latest Git image of Nano-X, Pete Klemm
Previous in thread:
Next in thread: 23 Jun 2012 19:55:15 -0000 Re: How to change the alpha value of a pixmap?, Greg Haerr

Subject: How to change the alpha value of a pixmap?
From: arne hoch ####@####.####
Date: 23 Jun 2012 19:55:15 -0000
Message-Id: <4FE61F07.1070809@derhoch.de>

Hello,

how can I efficiently change the alpha value of all pixels in a pixmap?
I want to do a fadein/-out effect. In a previous version I could do sth
like this:

GrCopyArea(trg, gc, 0, 0, w, h, src, 0, 0,
    MWROP_BLENDCONSTANT | (fadelevel & 0xFF));

But this does not work anymore, since the constant is now fixed at 150.


Regards,

arne

Previous by date: 23 Jun 2012 19:55:15 -0000 Re: Compile v0.92 for eCos (addendum), Greg Haerr
Next by date: 23 Jun 2012 19:55:15 -0000 VNC with latest Git image of Nano-X, Pete Klemm
Previous in thread:
Next in thread: 23 Jun 2012 19:55:15 -0000 Re: How to change the alpha value of a pixmap?, Greg Haerr


Powered by ezmlm-browse 0.20.