AutoHotkey Homepage AutoHotkey Community
Let's help each other out
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

is there a command like PixelSetColor?

 
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Wish List
View previous topic :: View next topic  
Author Message
niwi



Joined: 27 Feb 2005
Posts: 128
Location: Heidelberg, Germany

PostPosted: Wed Mar 02, 2005 5:47 pm    Post subject: is there a command like PixelSetColor? Reply with quote

Hi,

I haven't found this not yet: but is there such a command to change the color of a pixel? This could be usefull for simple drawings without loading images (just like lines or boxes).

Regards, NiWi.
Back to top
View user's profile Send private message
jonny



Joined: 13 Nov 2004
Posts: 3004
Location: Minnesota

PostPosted: Wed Mar 02, 2005 7:54 pm    Post subject: Reply with quote

No, there isn't a command like that yet.
Back to top
View user's profile Send private message
Titan



Joined: 11 Aug 2004
Posts: 5390
Location: /b/

PostPosted: Wed Mar 02, 2005 8:04 pm    Post subject: Reply with quote

AutoHotkey Planned Features wrote:
PixelWaitColor: Waits for a pixel to change color (BeastMaster).
Chris maybe you would want to think about PixelChangeColour too, being it possible and not hard to impliment ofcourse.
_________________

Back to top
View user's profile Send private message Visit poster's website
Chris
Site Admin


Joined: 02 Mar 2004
Posts: 10480

PostPosted: Thu Mar 03, 2005 2:25 am    Post subject: Reply with quote

Well, the API has a SetPixel() function in it, but any changes made by it aren't likely to be permanent (probably lost the moment a window or game redraws itself). Does anyone else have a need for this? I'm wondering what use it might have.
Back to top
View user's profile Send private message Send e-mail
jonny



Joined: 13 Nov 2004
Posts: 3004
Location: Minnesota

PostPosted: Thu Mar 03, 2005 2:30 am    Post subject: Reply with quote

Pixel-by-pixel drawing in a gui, perhaps? Surely there must be some way to permanently alter a pixel in a window owned by the script. As for the uses, you could use a loop to draw your own shapes and lines. Not as nice-looking as a group-box, but way more versatile.
Back to top
View user's profile Send private message
Chris
Site Admin


Joined: 02 Mar 2004
Posts: 10480

PostPosted: Thu Mar 03, 2005 2:38 am    Post subject: Reply with quote

Interesting, and GUI drawing is already on the to-do list (though I'm pretty sure SetPixel() would not be appropriate for it).
Back to top
View user's profile Send private message Send e-mail
niwi



Joined: 27 Feb 2005
Posts: 128
Location: Heidelberg, Germany

PostPosted: Thu Mar 03, 2005 5:24 pm    Post subject: Reply with quote

Hi Chris,

yes, I like to have such a function just for drawing simple shapes. But it is not realy important.

Regards, NiWi.
Back to top
View user's profile Send private message
[¤GoO¤]



Joined: 22 Feb 2005
Posts: 60
Location: Sweden

PostPosted: Mon Mar 07, 2005 9:20 am    Post subject: PixelSetColor Reply with quote

Chris wrote:
Does anyone else have a need for this? I'm wondering what use it might have.


Well, to be honest with you, the only thing AHK lacks is the power of creating graphics.

I used to work with BASIC before I started with AHK, and I miss the ability to create simple shapes and colors in AHK.

Then it would be possible to create simple games, graphics applications or mathematical graphs etc.

Keep up the good work!
_________________
"Make everything as simple as possible, but not simpler."
- Albert Einstein (1879-1955)
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Wish List All times are GMT
Page 1 of 1

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum


Powered by phpBB © 2001, 2005 phpBB Group