Jürg Lehni
|
80d3763c39
|
Implement Item#onMouseDrag evnets, and have them silence #onMouseMove events if both are present.
|
2011-11-16 23:30:14 +01:00 |
|
Jürg Lehni
|
d066ad775d
|
Implement Item#onClick and #onDoubleClick.
|
2011-11-16 23:18:27 +01:00 |
|
Jürg Lehni
|
b3bf57c8e9
|
Implement Item#onMouseEnter / #onMouseLeave.
|
2011-11-16 22:59:39 +01:00 |
|
Jürg Lehni
|
c0e6d5b2ee
|
Remove unused injection scopes.
|
2011-11-16 22:54:03 +01:00 |
|
Jürg Lehni
|
44bf596e51
|
Finish implementing Item#onMouseMove and clean up code.
|
2011-11-16 22:48:38 +01:00 |
|
Jürg Lehni
|
8efc7ce7cd
|
Implement Item#onMouseUp events and work on #onMouseMove.
|
2011-11-16 22:41:22 +01:00 |
|
Jürg Lehni
|
57bd659023
|
Move Item base mouse handling code to CanvasView.
|
2011-11-16 13:12:41 +01:00 |
|
Jürg Lehni
|
577c884a70
|
Prepend non-public Tool methods with '_'.
|
2011-11-16 13:10:39 +01:00 |
|
Jürg Lehni
|
1eff9741a4
|
Separate Canvas related code from View into CanvasView class.
|
2011-11-14 20:18:08 +01:00 |
|
Jürg Lehni
|
c85f0326c3
|
Simplify installling of mouse handlers in View.
|
2011-11-14 13:32:03 +01:00 |
|
Jürg Lehni
|
acbebc2aa4
|
Remove #idleInterval left-overs.
|
2011-11-13 00:09:09 +01:00 |
|
Jürg Lehni
|
fcd92c4ac1
|
Fix updateFocus() documentation.
|
2011-11-13 00:05:28 +01:00 |
|
Jürg Lehni
|
e4586cfeeb
|
Commit beginning of item based mouse events. So far only onMousedown / 'mousedown' is supported.
|
2011-11-12 23:57:25 +01:00 |
|
Jürg Lehni
|
18d44689fa
|
Fix white-space in code example.
|
2011-11-12 23:56:25 +01:00 |
|
Jürg Lehni
|
c33998c140
|
Remove support for Tool#eventInterval.
|
2011-11-12 18:26:03 +01:00 |
|
Jürg Lehni
|
d9ba90ea2d
|
Remove white space.
|
2011-11-12 17:15:04 +01:00 |
|
Jürg Lehni
|
719ae2315c
|
Remove global views list, link View to Project and allow projects to only have one view.
|
2011-11-12 16:56:23 +01:00 |
|
Jürg Lehni
|
24f07dccec
|
Clean up some JSDoc comments.
|
2011-11-12 13:27:29 +01:00 |
|
Jürg Lehni
|
78d1ce1540
|
Make new events work properly for key handlers.
|
2011-11-11 20:12:29 +01:00 |
|
Jürg Lehni
|
e238dea3ac
|
More work to make new events mechanisms work for Tool too.
|
2011-11-11 19:49:31 +01:00 |
|
Jürg Lehni
|
256e48b511
|
Define Callback code for callback based event handling (#atach() / #detach() #fire()) and start implementing it in View.
|
2011-11-11 18:29:28 +01:00 |
|
Jürg Lehni
|
a2358a0fc0
|
Also fire key events for modifier keys. Closes #52.
|
2011-09-18 12:51:03 +02:00 |
|
Ben Ogle
|
7ebd4a17bd
|
Adds other keycodes for command keys in different browsers.
- 224 for firefox
- 93 for the right command key in WebKit browsers.
|
2011-08-25 18:53:30 -07:00 |
|
Jürg Lehni
|
7a5ca5609f
|
Have View#_redraw() properly redraw the content even if nothing has changed inside.
|
2011-08-23 16:36:18 +02:00 |
|
Jürg Lehni
|
a775ddec9e
|
Remove obsolete comment.
|
2011-08-22 11:14:49 +02:00 |
|
Jürg Lehni
|
b54f9f2228
|
Introduce View#_redraw() and use it in #setViewSize() and #_transform().
|
2011-08-22 11:14:38 +02:00 |
|
Jürg Lehni
|
3ca165f413
|
Move #_transform() up.
|
2011-08-22 11:13:42 +02:00 |
|
Jürg Lehni
|
a081419a8b
|
Fix View#bounds for zoom levels other than 1.
|
2011-08-22 11:12:40 +02:00 |
|
Jürg Lehni
|
7c2fabd6a1
|
Remove redundant scope by sharing one between browser and server code.
|
2011-08-22 11:05:59 +02:00 |
|
Jonathan Puckey
|
0ee1e80c68
|
Node.js: add Raster support.
|
2011-08-21 16:38:06 +02:00 |
|
Jonathan Puckey
|
bec8cf967e
|
View: add documentation todos.
|
2011-08-20 15:51:54 +02:00 |
|
Jonathan Puckey
|
70dc88ca91
|
View: Clean up #exportImage() and #exportFrames().
|
2011-08-20 15:46:06 +02:00 |
|
Jonathan Puckey
|
197c2670d6
|
Implement View#exportImage(uri, param)
|
2011-08-18 11:11:24 +02:00 |
|
Jonathan Puckey
|
ebc3b3789b
|
Merge branch 'master' of https://github.com/paperjs/paper.js
|
2011-08-10 18:30:42 +02:00 |
|
Jürg Lehni
|
fe97b94340
|
Define PaperScopeItem as a private base class for all classes that have lists and references in the PaperScope (Project, View, Tool), so they can share functionality (#initialize(), #activate(), #remove()), and add support for multiple tools. Closes #27
|
2011-08-02 10:08:08 +01:00 |
|
Jonathan Puckey
|
a9780374f2
|
Remove logging statements.
|
2011-08-02 11:07:59 +02:00 |
|
Jonathan Puckey
|
94a6860f7f
|
Add back Node.js related changes to View.
|
2011-08-02 11:02:04 +02:00 |
|
Jonathan Puckey
|
30e2ba5582
|
Update View.
|
2011-08-02 10:49:40 +02:00 |
|
Jürg Lehni
|
828c3ae369
|
Doc: Improve View#initialize(canvas).
|
2011-08-01 16:21:00 +01:00 |
|
Jürg Lehni
|
9195f026d7
|
Support passing canvas ids straight to View constructor.
|
2011-08-01 16:18:17 +01:00 |
|
Jürg Lehni
|
d84f0d34cf
|
Fix errors in DomElement.getOffset() by using native #getBoundingClientRect() in DomElement.getBounds() and relying on that. Closes #29
|
2011-07-31 14:13:29 +01:00 |
|
Jonathan Puckey
|
ddec658653
|
Make Paper.js work on Node.js.
|
2011-07-30 02:16:30 +02:00 |
|
Jonathan Puckey
|
595144961d
|
Update View size before calling View#onResize.
|
2011-07-13 14:10:26 +02:00 |
|
Jürg Lehni
|
2851d8e403
|
Define Base#toString() as a mean to render Base objects as object literals, and use it for Key.modifier and onFrame() event objects, through Base.merge() conversion.
|
2011-07-07 14:10:02 +02:00 |
|
Jürg Lehni
|
d1185c5f8b
|
Implement support for properly validating 'data-paper-NAME' attribute names, along with the current 'NAME'.
|
2011-07-06 21:19:38 +02:00 |
|
Jürg Lehni
|
ee23877fd1
|
Move view redrawing from resize handler to #setViewSize().
|
2011-07-01 12:50:11 +02:00 |
|
Jürg Lehni
|
ce9700dc4d
|
Have views redrawn after resize if they do not define a onFrame handler.
|
2011-07-01 12:49:27 +02:00 |
|
Jürg Lehni
|
79c0ad8cc5
|
Update copyright notices.
|
2011-07-01 12:17:45 +02:00 |
|
Richard D. Worth
|
a518b3fd19
|
Remove non-whitespace change
|
2011-06-30 11:02:49 -04:00 |
|
Richard D. Worth
|
ac39873693
|
Whitespace. Removed all trailing whitespace from .js files
|
2011-06-30 06:01:51 -04:00 |
|