Well, i was just thinking that what will happen if you make a background transparent were you want to see through...
New: Kanri (Oct 9, '24), Platform 29.5.3 (Jun 27, '24)
1,100+ portable packages, 1.1 billion downloads
No Ads November!, Please donate today
how to do this. There is a way to make see thru areas with this engine but it might not be very pretty. I'll make a post later detailing it.
And with the current system I don't think that's possible or at least feasible. I suggest that John support per-pixel alpha using PNG images, but right now it uses a bitmap for the background and another for a simple one-bit transparency mask along the top.
Signature automatically removed for being too awesome.
There's no GPLed PNG library for Delphi. There's not even an open source one from what I've seen from looking around. So, don't expect it to be added.
Sometimes, the impossible can become possible, if you're awesome!
Hi.
Did you know http://pngdelphi.sourceforge.net/?
It's not under an OSI-approved open source license, so we can't use it. I don't know if it would be considered open source without an OSI-approved license, which I thought was a requirement to be on SourceForge.
Sometimes, the impossible can become possible, if you're awesome!
How about this
http://freeimage.sourceforge.net
Says it supports PNG, Delphi, and is released under GPL or FIPL which ever works better for the developer.
"Because they stand on a wall and say, 'Nothing is going to hurt you tonight. Not on my watch.'" (A Few Good Men)
Coincidence is God's way of remaining anonymous.(Albert Einstein)
Even if I add it, it still won't gain you alpha transparency to Windows. You need Delphi itself to support alpha transparency to the operating system and it doesn't. It only support per-pixel transparency. PNG libraries will allow you alpha transparency within the menu... but not of the menu to the operating system, which is what you seem to be wanting.
Delphi supports per-pixel transparency of a single color of a form going back to Windows (which is how I round the corners of the top of the menu). And it supports an alpha value on the form itself (which is how I fade it in and out). But Delphi does not support per-pixel alpha transparency. So, you can not do a menu with partially see-through parts of it.
Sometimes, the impossible can become possible, if you're awesome!
Good to know, I thought the issue was that there wasn't a GPL'd PNG library.
"Because they stand on a wall and say, 'Nothing is going to hurt you tonight. Not on my watch.'" (A Few Good Men)
Coincidence is God's way of remaining anonymous.(Albert Einstein)