Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
gendl
gendl
Commits
67fa7c71
Commit
67fa7c71
authored
Jul 01, 2013
by
Dave Cooper
Browse files
updating the drag and drop, update due to LI
parent
cb2a4d3d
Changes
3
Hide whitespace changes
Inline
Side-by-side
gwl-graphics/raphael/source/lenses.lisp
View file @
67fa7c71
...
...
@@ -52,17 +52,20 @@
this.transform(\"T\"+(dx+this.odx)+\",\"+(dy+this.ody));
this.lastdx = dx;
this.lastdy = dy;
~a
~a
},
up = function () {
this.animate({opacity: 1.0}, 500, \">\");
~a
~a
};
"
(
the
raphael-canvas-id
)
width
length
(
the
parent
(
gdl-sjax-call
:js-vals?
t
))
(
the
parent
(
gdl-sjax-call
:js-vals?
t
))
;;(the parent (gdl-sjax-call :function-key :on-move))
(
the
parent
(
gdl-sjax-call
:js-vals?
t
:function-key
:on-drop
))
)
(
with-translated-state
(
:raphael
(
make-point
(
-
(
get-x
view-center
))
...
...
gwl-graphics/raphael/source/tests.lisp
View file @
67fa7c71
...
...
@@ -23,7 +23,7 @@
(
define-object
dd
(
base-ajax-sheet
base-object
)
:computed-slots
((
use-raphael?
t
)
(
too-far?
(
>
(
3d-distance
(
first
(
the
poly-1
vertex-list
))
...
...
@@ -45,6 +45,8 @@
(
make-point
0
0
0
))))
:functions
((
on-drop
()
(
format
t
"~&We just dropped an object at ~s~%"
(
the
main-area
dropped-x-y
))))
:objects
((
poly-0
:type
'global-polyline
:display-controls
(
list
:color
:red
:fill-color
:orange
)
:vertex-list
(
list
(
make-point
-2
0
0
)
...
...
gwl/ajax/source/base-ajax-sheet.lisp
View file @
67fa7c71
...
...
@@ -252,7 +252,12 @@ interface. Defaults to nil."
)
:functions
((
back-link
:functions
((
on-move
())
(
on-drop
())
(
back-link
(
&key
(
display-string
"<-Back"
))
(
w-c-w-s
()
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment