Sign in to follow this  
Followers 0

PNG as GUI, drop shadows, curved edges, you name it

149 posts in this topic

Posted (edited)

I was trying to get UpdateLayeredWindow to work with PaulIA's GDI functions in his Auto3Lib library, but I didn't have the skillset required to see it through to the end. I sent PaulIA the source code I was trying to convert and he not only whipped up a solution in a matter of hours, he went ahead and baked in support for it in Auto3Lib! (Which has since been rolled into AutoIt)

Also, this only works with XP and above, as it uses GDI+. You might be able to get it working if you are running an earlier version if you install the GDI+ Dll from Microsoft, but I'm not familiar with that.

Take a look at the screenshot below. I've written a simple desktop item launcher using a PNG skin based on the one that comes with a program called Launchy. Of course, you could use any PNG you want, so long as it has an alpha channel. That drop shadow is not the result of a gui effect in Vista - this is running in XP, and the drop shadow is defined in the PNG itself, and applied to the GUI. Imagine the possibilities. Goodbye ugly Regions, hello 32 bit Alpha Transparency.

All credit goes to PaulIA, I'm just the messenger. :rolleyes:

Update (5/28/08): I've re-uploaded the demo with GaryFrosts fixes for making this work with AutoIt v3.2.12.0. Thanks Gary!

post-14785-1181809213_thumb.png

lod3n_launcher.zip

Edited by lod3n

Share this post


Link to post
Share on other sites



Posted

Awesome idea!

Share this post


Link to post
Share on other sites

Posted

OMG this is so cool... :rambo: screw vista :x xp can do the same thing :rolleyes:)

10x for sharing this

Share this post


Link to post
Share on other sites

Posted

OMG! :rolleyes::rambo::x

That is awesome. Defintley going into my next GUI!

Maybe, you should make some sort of sidebar tool like Vista using this.

Share this post


Link to post
Share on other sites

Posted

I'm like a kid with a new toy :rolleyes: this is so cool

I made a good looking clock out of it :rambo: it's more like an example of how cool guis can get with this udf :x

Share this post


Link to post
Share on other sites

Posted

1000 %

nice and inspiring

Share this post


Link to post
Share on other sites

Posted

This is very nice! Should help make great GUI's

Share this post


Link to post
Share on other sites

Posted

Very very nice. Yeah, the same effect used with Launchy.

Thanks PaulIA and lod3n.

Share this post


Link to post
Share on other sites

Posted

Finally! Support the .png format!

Thank you, PaulIA and lod3n.

There is truly a god... or two :rolleyes:

Share this post


Link to post
Share on other sites

Posted

Wow!

finally PNG support.

I liked it very much. :rolleyes:

Share this post


Link to post
Share on other sites

Posted

Very nice. :rolleyes:

Share this post


Link to post
Share on other sites

Posted

Extra-Super-Duper-Great script!

Share this post


Link to post
Share on other sites

Posted

Great work!

I was playing around with tranparency levels to get this effect now I can ignore that.

Share this post


Link to post
Share on other sites

Posted

I normally don't play around with graphics, but this was pretty easy.

I just quickly modified the script from the 1st post, and changed the png file to one from the net.

Several versions of the png file, was playing with effects.

post-1967-1181957077_thumb.png

logos_ps.ZIP

Share this post


Link to post
Share on other sites

Posted

This wayyyy too cool. :rolleyes::rambo:

Share this post


Link to post
Share on other sites

Posted

Sounds nice...

But where can i get the file A3LGDIPlus.au3?

I have installed A3Lib but the file is not there :rolleyes:

Somone can upload this file please?

Share this post


Link to post
Share on other sites

Posted (edited)

Sounds nice...

But where can i get the file A3LGDIPlus.au3?

I have installed A3Lib but the file is not there :rolleyes:

Somone can upload this file please?

I'm sorry to hear you're missing the file. I had the same problem and downloaded A3Lib again tonight. The file was included in that installation.

Edited by zfisherdrums

Share this post


Link to post
Share on other sites

Posted (edited)

Sounds nice...

But where can i get the file A3LGDIPlus.au3?

I have installed A3Lib but the file is not there :rolleyes:

Somone can upload this file please?

Wow nice gafrost.

Edit: Sorry. Attachment Removed.

Edited by Mr. Zero

Share this post


Link to post
Share on other sites

Posted

it needs two more :rambo: whatever :rolleyes: as far as I can imagine, nice Alpha Clock

Share this post


Link to post
Share on other sites

Posted

Just in case:

Wow nice gafrost.

Do not, under any circumstances, post parts of Auto3Lib like this! There are changes to several modules in the library that need to be downloaded to make the PNG scripts work! If people would take the time to READ, you'd see that the instructions tell you to download the latest version of Auto3Lib from the download section.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0

  • Recently Browsing   0 members

    No registered users viewing this page.