Page 1 of 1

Posted: Thu Jan 24, 2002 5:52 pm
by BackupUser
Restored from previous forum. Originally posted by Franco.

Well I try to create a loupe program (proof of concept...).
The first step: copy an area of the dektop to memory is done with WinAPI.
(no PureBasic command)
But AFAIK the only way to show this image is with an ImageGadget.
That works, but I can't change the Image on this gadget and this is bad, really bad.
(when you move the mouse you get normally a different image...)

With an old version of another basic language I need only 2 commands for it! No API calls!

The next step is to magnify the image. How is this possible with PureBasic?

BTW:
ImageGadget(#Gadget, x, y, Width, Heigth, ImageID)
ImageGadget -> The gadget dimension autofit the image size...
Why is there a Width and Heigth variable when calling this command?
It,s not used anyway.



Have a nice day...
Franco

Sometimes you have to go a lonely way to accomplish genius things.

Posted: Fri Jan 25, 2002 10:04 pm
by BackupUser
Restored from previous forum. Originally posted by Franco.

Little update for whom is interested:
... to magnify the image. How is this possible with PureBasic?
this is finished and works fine with WinAPI.
I can display the magnified image on an ImageGadget or on the Window background.

And now the bad thing:
To change the Window background seems to be really slow and it doesn't work allways properly. (moving the mouse and so forth results in new images...)
ImageGadget doesn't allow to change the image.
With an old version of another basic language I need only 2 commands for it! No API calls!
I don't like to look back a lot of years and to say: "It was so easy with..."

Conclusion:
More commands needed!


Have a nice day...
Franco

Sometimes you have to go a lonely way to accomplish genius things.

Posted: Sat Jan 26, 2002 6:43 am
by BackupUser
Restored from previous forum. Originally posted by PB.

> I don't like to look back a lot of years and to say: "It was so easy with..."

You must be more patient with PureBasic... it's written only by Fred and takes
time. Don't expect overnight miracles -- it's not easy writing a programming
language while also trying to please everyone. Go easy on him.


PB - Registered PureBasic Coder

Posted: Mon Jan 28, 2002 5:08 pm
by BackupUser
Restored from previous forum. Originally posted by Franco.
Don't expect overnight miracles -- it's not easy writing a programming
language while also trying to please everyone. Go easy on him.
You have totally right
Don't want to discourage anyone, sorry Fred... take it easy!

Just downloaded 2v9 and I will take a look at it, thanks Fred.


Have a nice day...
Franco

Sometimes you have to go a lonely way to accomplish genius things.

Posted: Mon Jan 28, 2002 10:52 pm
by BackupUser
Restored from previous forum. Originally posted by DarkUni.

As long as PNG makes it in, I'm good.

I'd like to see some 'image strip' type support vice using CLIPSPRITE. At least it can be worked around.

Shane R. Monroe
Dark Unicorn Productions

Posted: Mon Jan 28, 2002 11:17 pm
by BackupUser
Restored from previous forum. Originally posted by mystik.

PNG, you will be asking for OpenGL and mac support next

only joking :)

Steve.

Posted: Mon Jan 28, 2002 11:34 pm
by BackupUser
Restored from previous forum. Originally posted by Pupil.
PNG, you will be asking for OpenGL and mac support next

only joking :)

Steve.
Actually you can find a small openGL demo on the http://www.reelmediaproductions.com/pb/ that is made in PureBasic..

Posted: Mon Jan 28, 2002 11:44 pm
by BackupUser
Restored from previous forum. Originally posted by DarkUni.

Inside Blitz Basic joke ...

One of the reasons probably many of us are here.

Shane R. Monroe
Dark Unicorn Productions

Posted: Mon Jan 28, 2002 11:57 pm
by BackupUser
Restored from previous forum. Originally posted by Pupil.
Inside Blitz Basic joke ...

One of the reasons probably many of us are here.

Shane R. Monroe
Dark Unicorn Productions
Oh, my bad then, didn't quite catch on :wink: