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.

2D All the way! / Change pixel to colour

Author
Message
kozma_11
22
Years of Service
User Offline
Joined: 17th Sep 2003
Location: Scotland
Posted: 21st Sep 2004 02:13
Hey all,

I'm just looking for a simple command that sets a pixel on screen to a set colour that I define. Any ideas would be appreciated.

Another thing, does anyone know if dword can only be used in DBPro as supposed to DB?

Many thanks in advance.

El Presidente
kozma_11
22
Years of Service
User Offline
Joined: 17th Sep 2003
Location: Scotland
Posted: 21st Sep 2004 02:16
Ignore the pixel question! I look so stupid now!

Any answers as to dword would be appreciated though, and maybe an explanation on how to use it,

Thanks,

El Presidente
IanM
Retired Moderator
23
Years of Service
User Offline
Joined: 11th Sep 2002
Location: In my moon base
Posted: 21st Sep 2004 02:30
Yep, dword is DBPro only. You can still store RGB colours in an integer with no problems though.

*** Coming soon - Network Plug-in - Check my site for info ***
For free Plug-ins, source and the Interface library for Visual C++ 6, .NET and now for Dev-C++ http://www.matrix1.demon.co.uk

Login to post a reply

Server time is: 2026-06-11 17:29:37
Your offset time is: 2026-06-11 17:29:37