You are here

Areo menu

9 posts / 0 new
Last post
cthelight
Offline
Last seen: 17 years 1 month ago
Joined: 2006-12-05 13:13
Areo menu

Well, i was just thinking that what will happen if you make a background transparent were you want to see through...

dragonmage
Offline
Last seen: 1 year 10 months ago
Joined: 2007-01-15 02:25
Everyone wants to know...

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.

The MAZZTer
The MAZZTer's picture
Offline
Last seen: 1 year 10 months ago
Developer
Joined: 2006-11-17 15:31
It's called "Aero"

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.

John T. Haller
John T. Haller's picture
Online
Last seen: 9 min 42 sec ago
AdminDeveloperModeratorTranslator
Joined: 2005-11-28 22:21
Nope

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!

stBorchert
Offline
Last seen: 17 years 9 months ago
Joined: 2007-02-26 11:00
pngdelphi
John T. Haller
John T. Haller's picture
Online
Last seen: 9 min 42 sec ago
AdminDeveloperModeratorTranslator
Joined: 2005-11-28 22:21
Not open source

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!

SmithTech
SmithTech's picture
Offline
Last seen: 2 years 7 months ago
Developer
Joined: 2006-11-24 18:06
How about

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)

John T. Haller
John T. Haller's picture
Online
Last seen: 9 min 42 sec ago
AdminDeveloperModeratorTranslator
Joined: 2005-11-28 22:21
PNG =/= Alpha Transparency to Windows

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!

SmithTech
SmithTech's picture
Offline
Last seen: 2 years 7 months ago
Developer
Joined: 2006-11-24 18:06
Good to know, I thought the

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)

Topic locked