Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Dark GDK / dgdk.net: SetImageColorKey not shared?

Author
Message
Argon Knight
22
Years of Service
User Offline
Joined: 29th Aug 2002
Location: Gastonia, NC, USA
Posted: 6th Dec 2008 09:15
the help file reads:

Quote: "Sets the general colorkey for all images."


But its not defined as shared (static in c#). I could use the option to set the colorkey for a instance of an image, but does it still work globally on all images? so shouldnt it be a shared function?
APEXnow
Retired Moderator
21
Years of Service
User Offline
Joined: 15th Apr 2003
Location: On a park bench
Posted: 6th Dec 2008 12:04
You are correct, this should be shared. But to clarify, the function will set the Transparency color key for all images that are loaded or have been loaded.

As a side note, I do appreciate these little tidbits as I can reaolve them before releasing updates.

Paul.

Argon Knight
22
Years of Service
User Offline
Joined: 29th Aug 2002
Location: Gastonia, NC, USA
Posted: 6th Dec 2008 18:22
np. I'm converting over my asteroids clone Meteors. It's one of my rosetta stones.

Login to post a reply

Server time is: 2024-09-30 11:23:41
Your offset time is: 2024-09-30 11:23:41