Graphic Object Manager

Developed or developing a new product in PureBasic? Tell the world about it.
User avatar
Mischa
Enthusiast
Enthusiast
Posts: 115
Joined: Fri Aug 15, 2003 7:43 pm

Graphic Object Manager

Post by Mischa »

Hi!

It would be nice, if some of yours could test this one:
(this program could make trouble under win95)

http://www.thinkrelative.de/grfx_test.zip


and please tell me, if its fast enough, and what kind of
win-os you use.

Thank you!

Regards,
Mischa
Fred
Administrator
Administrator
Posts: 18531
Joined: Fri May 17, 2002 4:39 pm
Location: France
Contact:

Post by Fred »

Works perfectly here : WinXP SP1. Nice work !
fweil
Enthusiast
Enthusiast
Posts: 725
Joined: Thu Apr 22, 2004 5:56 pm
Location: France
Contact:

Post by fweil »

Really good work.

OK on Win2000. A bit slow on my 1,2GHz eating half the CPU when moving objects.

Rgrds
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.
zikitrake
Addict
Addict
Posts: 883
Joined: Thu Mar 25, 2004 2:15 pm
Location: Spain

Post by zikitrake »

perfect!!!!

XP PENTIUM IV 2GHz
aaron
Enthusiast
Enthusiast
Posts: 267
Joined: Mon Apr 19, 2004 3:04 am
Location: Canada
Contact:

Post by aaron »

Runs here (winxp home + sp1) on a athlon 2.4G mobile processor... but I noticed a couple bugs perhaps.

If I grab the corner of one of the pictures and then move the mouse quickly back and forth diagonally, two things can occur:

1) Sometimes the mouse doesn't line up with the corner of the box anymore... I still have the left mouse pushed, but the mouse pointer can be 100's of pixels away from the corner... This is noticable when I try to place the mouse cursor on the old picture (to resize it back to the stock size).... because the mouse isn't aligned with the picture edge anymore, placing the cursor on the old edge doesn't make the picture back to the old size.
2) Again something I noticed when trying to resize the picture back to the old size... sometimes the picture can't be rezised back to the old size... it looks like a rounding error in your code perhaps.... Placing the mouse back on the old corner means that the picture will either be too wide or too narrow.

I noticed this on the picture of the face, and it seems to happen primarily when I resize the stock picture. These bugs may not be occuring once the picture has been resized once... I didn't do enough testing to say for sure.

One other thing I noticed is that when resize the pictures, parts of the pictures are clipped sometimes when resizing them large. For instance, the fish picture gets the top left portion of the picture cut off when resizing, although it shows back up once the picture has been resized. Perhaps that is just my graphics card (ATI IVP mobile graphics chip with 64M shared memory)

I can take screen caps of any of these problems if you like.

Regards,
Aaron
User avatar
Mischa
Enthusiast
Enthusiast
Posts: 115
Joined: Fri Aug 15, 2003 7:43 pm

Post by Mischa »

Hi!

Thanks for the nice replies! :)

@aaron: Yes, would be nice if you can make screenshots.

One bug i've fixed: Loading another yov-image
has made problems, cause i forget to reset a counter-variable.
Works now!

Same download link.

But i have another problem. Sometimes scaling/moving freezes
the program. On my system it works again, after i release button.
On another system program terminates.


Regards,
Mischa
dige
Addict
Addict
Posts: 1432
Joined: Wed Apr 30, 2003 8:15 am
Location: Germany
Contact:

Post by dige »

Works fine here ( WinXP / P4 )

Only one smal bug:

* After Object\Load Images ... you cant load yov - image ( wrong size )

The resizing and draging technics are very cool! You'll publish the sources?

cya dige
dell_jockey
Enthusiast
Enthusiast
Posts: 767
Joined: Sat Jan 24, 2004 6:56 pm

Post by dell_jockey »

On XP Prof. it works fine.

On Win NT4 (Build 1381: Service Pack 6), the application exits with an error as soon as one of the picture anchors is grabbed with the mouse. Loading the bitmap is o.k. though.

Does your app check for DX-Versions?
cheers,
dell_jockey
________
http://blog.forex-trading-ideas.com
User avatar
NoahPhense
Addict
Addict
Posts: 2000
Joined: Thu Oct 16, 2003 8:30 pm
Location: North Florida

Re: Graphic Object Manager

Post by NoahPhense »

WOW.. that's sweet.. and I like the grouping.. doubling clicking on the
fish object.. nice

- np

windows 2k pro, 1.6ghz, 64mb video, 1gb ram
TronDoc
Enthusiast
Enthusiast
Posts: 310
Joined: Wed Apr 30, 2003 3:50 am
Location: 3DoorsDown

Post by TronDoc »

I could not use it on my Windows'98fe..
800x600 screen:
{I'll remove the image links after you acknowledge them}
Joe
Last edited by TronDoc on Fri May 14, 2004 3:21 pm, edited 1 time in total.
peace
[pI 166Mhz 32Mb w95]
[pII 350Mhz 256Mb atir3RagePro WinDoze '98 FE & 2k]
[Athlon 1.3Ghz 160Mb XPHome & RedHat9]
gnozal
PureBasic Expert
PureBasic Expert
Posts: 4229
Joined: Sat Apr 26, 2003 8:27 am
Location: Strasbourg / France
Contact:

Post by gnozal »

I have Win98SE (DX 9.0b / GeForce 2), and it looks like TronDoc's post.
User avatar
Mischa
Enthusiast
Enthusiast
Posts: 115
Joined: Fri Aug 15, 2003 7:43 pm

Post by Mischa »

Oh no! What happens here on win89?
:roll:

Ok, the damaged tool-window could be a repaint-problem,
but where are the button-images?
...

I will do some changes, maybe it works better after.

Thanks trondoc, gnozal, NoahPhense, dell_jockey, dige, ...


Regards,
Mischa
User avatar
Mischa
Enthusiast
Enthusiast
Posts: 115
Joined: Fri Aug 15, 2003 7:43 pm

Post by Mischa »

Ok. I've changed some things. (same link)

Can you test it again, trondoc, or gnozal?

Thanks!


Regards,
Mischa
gnozal
PureBasic Expert
PureBasic Expert
Posts: 4229
Joined: Sat Apr 26, 2003 8:27 am
Location: Strasbourg / France
Contact:

Post by gnozal »

Test under WinNT4sp5 : crashes when clicking here (see arrow)

EDIT : image removed

Will test it under Win98SE this evening.
Last edited by gnozal on Sat May 15, 2004 7:26 am, edited 1 time in total.
TronDoc
Enthusiast
Enthusiast
Posts: 310
Joined: Wed Apr 30, 2003 3:50 am
Location: 3DoorsDown

Post by TronDoc »

it seems a little better, but still things disappear.
if I mouse over the bottom of the screen so my task bar pops up
then the GOM titlebar/menubar disappears,
if I attempt to open the window of another program
from the task bar, GOM steals focus unless that other
program is already in full screen mode.
If I notice anything else, I'll let you know.
It looks cool from what I can see.
Sometimes the tree of objects is there
and the times when the objects show,
I can grab and move them...
...maybe it's a video card and/or memory problem?
I have 256Mb RAM and ATIR3-RagePro video.
Is this written using DirectX?
Joe
Post Reply