On Sunday, March 16, 2003, at 06:28 AM, Raymond Irving wrote:



--- Benoit Marchant <[EMAIL PROTECTED]> wrote:
Hi

please have a look at

http://homepage.mac.com/marchant/dynapi3x/examples/
dynapi.api.ext.dragresize.html

This is an example of additions I made to dragevent.
There's new events
dragresizestart .... Features like creating an area
(recatngle, circle
or collection of area) to accept starting drag move
and drag resize
from specific areas only.

I adopted the convention set by
DragEvents.enabledDragEvents, but if
we're moving toward
setDragMode(b,boundry) - enable/disable dragging.

as Raymond suggested it, that will need to be
updated.

ok


There's still a bit of test for all configuration of
test areas, but
otherwise that should be it.

This code bas contains the fixes as well for
event.pageX for ie and
dom, as well as the code to fix the drag events
being sent when a click
happens, as well as the move of the code regarding
form elements in
draggable layers from the mouse_ ... to the
dragevent class.

Please provide feedback on the API before I commit
all that to cvs.

It's awesome! Very nice work indeed! Here goes my two cents worth:

1) I thought you were going to call it DragArea?
The area themselves don't do much. They just model a surface and the test for inclusion of a point

2) DynArea supports maximum and minimum dimensions. How will these affect the use of the fore mentioned setMaximumSize and setMinimumSize functions? Will they then make use of them or can we use the DynArea functions instead?
The test for min/max size is actually done in dragevent.js -> onmousemove. So yes, we can change the current api to specify min/max size to another, more general one.


Benoit


Leif,

I see that Benoit has added some code to the DynArea
class library that supports drag constraints that will
allow users to drag a layer in increments of x pixels.
This is a cool feature that could be used to represent
the grid feature I made mention of sometime ago. What
do you think?

--
Raymond Irving




Benoit





-------------------------------------------------------
This SF.net email is sponsored by:Crypto Challenge
is now open!
Get cracking and register here for some mind
boggling fun and
the chance of winning an Apple iPod:

http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en
_______________________________________________
Dynapi-Dev mailing list
[EMAIL PROTECTED]

http://www.mail-archive.com/[EMAIL PROTECTED]/


__________________________________________________ Do you Yahoo!? Yahoo! Web Hosting - establish your business online http://webhosting.yahoo.com


------------------------------------------------------- This SF.net email is sponsored by:Crypto Challenge is now open! Get cracking and register here for some mind boggling fun and the chance of winning an Apple iPod: http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en _______________________________________________ Dynapi-Dev mailing list [EMAIL PROTECTED] http://www.mail-archive.com/[EMAIL PROTECTED]/




-------------------------------------------------------
This SF.net email is sponsored by:Crypto Challenge is now open! Get cracking and register here for some mind boggling fun and the chance of winning an Apple iPod:
http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en
_______________________________________________
Dynapi-Dev mailing list
[EMAIL PROTECTED]
http://www.mail-archive.com/[EMAIL PROTECTED]/

Reply via email to