Entwickler-Ecke
Grafische Benutzeroberflächen (VCL & FireMonkey) - Anyone imagine how this COLOR feature was implemented ...
freedy - Mo 08.01.07 10:27
HI!
I don't think this would be easy to implement. Look at the picture. There is still a shadow. Perhaps he uses the alpha channel.
Greetings.
joelrodrigues - Mo 08.01.07 13:23
lol... Yes, i know.
freedy - Mo 08.01.07 13:43
So, what's your problem? You only have to search for a component which can display images with alpha channel (like *.png).
Then choose some panels, put your image component over them (not upon) that's it. Tricky... Perhaps not the best solution.
joelrodrigues - Mo 08.01.07 13:52
That is the problem. I don´t know any component that implement that.
What are the best sites to search for Delphi components, please?
And ... This component should be able to show the alpha channel with a gradient (choosing 2 colors).
freedy - Mo 08.01.07 13:57
Try
www.tmssoftware.com [
http://www.tmssoftware.com/]. Thy have got an Image component with alpha channel functionality.
But I didn't hear about an alpha channel gradient. Do you really know what the alpha channel is? ;-)
joelrodrigues - Mo 08.01.07 14:03
Ok... My fault.
Yes... I know what it means.
The alpha channel would be used to display just one button. I will need 3 TImages with alpha channel (left, middle and right mouse buttons).
But the question: how to fill it with a blending color gradient on each button?
freedy - Mo 08.01.07 14:09
joelrodrigues hat folgendes geschrieben: |
Ok... My fault.
Yes... I know what it means.
The alpha channel would be used to display just one button. I will need 3 TImages with alpha channel (left, middle and right mouse buttons).
But the question: how to fill it with a blending color gradient on each button? |
The transparency must be adjust in your image. The areas where you want to show your special colour it would be full transparent. The edges where the shadow is shown your image is gray with lower transparency. That's it.
Entwickler-Ecke.de based on phpBB
Copyright 2002 - 2011 by Tino Teuber, Copyright 2011 - 2026 by Christian Stelzmann Alle Rechte vorbehalten.
Alle Beiträge stammen von dritten Personen und dürfen geltendes Recht nicht verletzen.
Entwickler-Ecke und die zugehörigen Webseiten distanzieren sich ausdrücklich von Fremdinhalten jeglicher Art!