Old Eye Candy Program

Share your advanced PureBasic knowledge/code with the community.
Effigy
User
User
Posts: 35
Joined: Fri Apr 25, 2003 5:40 pm
Location: Canada
Contact:

Old Eye Candy Program

Post by Effigy »

Hello all I made an Eye candy program a long time ago, and the host that I had it with no longer exists. So I am re-releasing it.

This example uses the GDI+ Plus library to open and display an Alpha channel PNG on the desktop. You can drag it around and right click to end the program.

http://www.gavey.ca/pb/alphabmp.zip

I would love to see someone animate it, or work this into a GUI of some sort.

The code was adapted from some c# code I found on the Internet.

Enjoy!

EDIT --- I went back to look at the old thread and there was an addition from PolyVector that dynamicaly finds the size of the BMP so it doesn't need to be hard coded. I have updated the zip above to handle that ---ENDEDIT
Last edited by Effigy on Thu Sep 22, 2005 5:31 pm, edited 1 time in total.
Derek Gavey
- PB Newbie -
fweil
Enthusiast
Enthusiast
Posts: 725
Joined: Thu Apr 22, 2004 5:56 pm
Location: France
Contact:

Post by fweil »

Effigy,

Works fine on my PC.

I will keep the code to embed some apps with a splash or something like that.

Effect is really nice to see.
My avatar is a small copy of the 4x1.8m image I created and exposed at 'Le salon international du meuble à Paris' january 2004 in Matt Sindall's 'Shades' designers exhibition. The original laminated print was designed using a 150 dpi printout.
Nico
Enthusiast
Enthusiast
Posts: 274
Joined: Sun Jan 11, 2004 11:34 am
Location: France

Post by Nico »

Very nice. :D
User avatar
GeoTrail
Addict
Addict
Posts: 2794
Joined: Fri Feb 13, 2004 12:45 am
Location: Bergen, Norway
Contact:

Post by GeoTrail »

Nice work :)
I Stepped On A Cornflake!!! Now I'm A Cereal Killer!
User avatar
Epyx
User
User
Posts: 44
Joined: Fri May 09, 2003 10:54 am
Location: Germany
Contact:

Post by Epyx »

yes, great
If you can't make it good, at least make it look good.
Bill Gates
User avatar
NoahPhense
Addict
Addict
Posts: 1999
Joined: Thu Oct 16, 2003 8:30 pm
Location: North Florida

Post by NoahPhense »

Very Nice!

- np
rsts
Addict
Addict
Posts: 2736
Joined: Wed Aug 24, 2005 8:39 am
Location: Southwest OH - USA

Post by rsts »

that is a very nice effect.

thanks for sharing it.
josku_x
Addict
Addict
Posts: 997
Joined: Sat Sep 24, 2005 2:08 pm

Post by josku_x »

It is very cool, but can someone give me an example with using that PureBasic Rocks image and drawing INTO that window some API??
Post Reply