Jonathan Puckey
|
772174cedc
|
Documentation for Tool and View event handling.
|
2012-02-02 11:45:02 +01:00 |
|
Jürg Lehni
|
2280c0cb94
|
Fix drawing of selected items in zoomed views.
|
2011-12-27 16:40:49 +01:00 |
|
Jürg Lehni
|
7b03dbedb9
|
Move stats update to onFrame handler.
|
2011-12-27 16:06:47 +01:00 |
|
Jürg Lehni
|
010209c70f
|
Pass on view matrix to Project#draw.
So selection drawing is not zoomed.
|
2011-12-20 11:41:23 +01:00 |
|
Jürg Lehni
|
4514c63ed4
|
Merge remote-tracking branch 'origin/master'
|
2011-12-18 21:30:22 +01:00 |
|
Jürg Lehni
|
b0b49d027a
|
Remove unused parameter.
|
2011-12-10 20:05:26 +01:00 |
|
Xin Wang
|
95b3bad6dc
|
Use break to avoid uncaught exception.
|
2011-12-06 09:41:40 +08:00 |
|
Jonathan Puckey
|
1414500f45
|
First version of documentation of Item event handlers and MouseEvent.
|
2011-12-01 11:57:10 +01:00 |
|
Jürg Lehni
|
b5e46971f0
|
Replace new Size(x, y) calls with internal Size.create(x, y).
|
2011-11-29 17:11:15 +01:00 |
|
Jürg Lehni
|
b9f6c99dcd
|
Add comments and clean up code.
|
2011-11-17 19:28:05 +01:00 |
|
Jürg Lehni
|
427cc21b3a
|
Fix a comment.
|
2011-11-17 00:06:21 +01:00 |
|
Jürg Lehni
|
1b484a2f7b
|
Implement MouseEvent#delta for Item#onMouseDrag and #onMouseMove.
|
2011-11-17 00:04:30 +01:00 |
|
Jürg Lehni
|
cf54b1a7c1
|
Change parameter sequence in mouse event code.
|
2011-11-16 23:47:51 +01:00 |
|
Jürg Lehni
|
9061daa935
|
Simplify event handling code.
|
2011-11-16 23:41:47 +01:00 |
|
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 |
|