[Gag] Moving 3-angle

Guiserver, GTK-server, OpenGL, PostScript,
HTML 5, MIDI, IDE
Locked
newdep
Posts: 2038
Joined: Mon Feb 23, 2004 7:40 pm
Location: Netherlands

[Gag] Moving 3-angle

Post by newdep »

testing drag/drop/move with canvas..

here a demo...

Some small issue's i came up with , see the postings in this forum.
because i think this demo could be 50% smaler ;-)

(load "http://www.nodep.nl/downloads/newlisp/3angle.lsp")


Norman.
-- (define? (Cornflakes))

newdep
Posts: 2038
Joined: Mon Feb 23, 2004 7:40 pm
Location: Netherlands

Post by newdep »

updated the version...its now 99%..

(load "http://www.nodep.nl/downloads/newlisp/3angle.lsp")

Now the squares are always on top and the polygon does
endup in the middle of the squares..
-- (define? (Cornflakes))

newdep
Posts: 2038
Joined: Mon Feb 23, 2004 7:40 pm
Location: Netherlands

Post by newdep »

updated the version...its now 100%..
-- (define? (Cornflakes))

newdep
Posts: 2038
Joined: Mon Feb 23, 2004 7:40 pm
Location: Netherlands

Post by newdep »

aaa last post... ;-) updated again...v 2.7


1 thing I keep on bugging with is... How do I get the Stack-Order right with
the Tags??

I need to have the Tag I press to be always on top of the rest..

Its a simple pop and push probably but cant get it working ;-)

Norman.
-- (define? (Cornflakes))

Lutz
Posts: 5289
Joined: Thu Sep 26, 2002 4:45 pm
Location: Pasadena, California
Contact:

Post by Lutz »

Tagged objects are stagged in the order they are created, you could do a gs:delete-tag and then do a gs:draw-xxx or gs:fill-xxx again, to make them come out on top.

Lutz

Locked