Jürg Lehni
|
78a9f9afe9
|
Let Keyboard handlers know which view should receive keyboard focus.
|
2011-05-16 00:17:37 +01:00 |
|
Jürg Lehni
|
3e71278b78
|
Make sure the frame handler stops when a view is removed.
|
2011-05-16 00:05:11 +01:00 |
|
Jürg Lehni
|
abcba7deb4
|
Remove all views in Document#remove().
|
2011-05-16 00:05:03 +01:00 |
|
Jürg Lehni
|
3a15360efc
|
Rename ChangeFlags.PATH to GEOMETRY.
|
2011-05-16 00:01:06 +01:00 |
|
Jürg Lehni
|
690a79722f
|
Add alternative code for setting handler on tool that does not rely on eval(), commented out for now.
|
2011-05-15 23:56:41 +01:00 |
|
Jürg Lehni
|
5bc2889f1c
|
Add documentation and remove dontSwitch parameter, since it will also receive the time as defined for requestAnimationFrame() callback.
|
2011-05-15 23:50:53 +01:00 |
|
Jürg Lehni
|
535e5fc5fc
|
Add support for onResize handler.
|
2011-05-15 23:46:34 +01:00 |
|
Jürg Lehni
|
3bd4db802c
|
Simplify onFrame handling.
|
2011-05-15 23:41:24 +01:00 |
|
Jürg Lehni
|
c1dc823706
|
Move onFrame handler to DocumentView.
|
2011-05-15 23:37:40 +01:00 |
|
Jürg Lehni
|
f69b0a404a
|
Remove unused #document from Tool.
|
2011-05-15 22:45:15 +01:00 |
|
Jürg Lehni
|
824870196e
|
Clean up mouseup handler.
|
2011-05-15 22:43:30 +01:00 |
|
Jürg Lehni
|
83373576f2
|
Fix various refactoring errors.
|
2011-05-15 22:41:56 +01:00 |
|
Jürg Lehni
|
e8033730c8
|
Move event handling from Tool to DocumentView.
|
2011-05-15 22:25:46 +01:00 |
|
Jürg Lehni
|
f0e8c54008
|
Step one of transition to proper separation of view and document, regarding canvas drawing, mouse interaction, resizing, frame handling, etc. Work in progress.
|
2011-05-15 21:56:43 +01:00 |
|
Jürg Lehni
|
0dc2241a9c
|
No need to set _index to null since Base.splice() handles that for us.
|
2011-05-15 21:42:31 +01:00 |
|
Jürg Lehni
|
9c97e44207
|
Have Base.splice() delete the indices of removed items.
|
2011-05-15 21:37:01 +01:00 |
|
Jürg Lehni
|
31be916c4f
|
Add dontModify parameter to #set() method in Linked* classes, and rename #_set to #_setter.
|
2011-05-15 20:34:22 +01:00 |
|
Jürg Lehni
|
a2dc2c7dd8
|
Fix comment.
|
2011-05-15 20:27:12 +01:00 |
|
Jürg Lehni
|
818c847d73
|
Add LinkedSize and use it in Rectangle#getSize().
|
2011-05-15 20:26:56 +01:00 |
|
Jürg Lehni
|
10d56f318f
|
Add Size#isZero().
|
2011-05-15 20:26:37 +01:00 |
|
Jürg Lehni
|
638d768406
|
Move Point#equals() to other test methods.
|
2011-05-15 20:26:20 +01:00 |
|
Jürg Lehni
|
217a2e6ecb
|
Remove dirty rectangle test code for now.
|
2011-05-15 20:09:50 +01:00 |
|
Jürg Lehni
|
ef0347a6bc
|
Fix accidental internal bean access to #segments.
|
2011-05-15 19:58:29 +01:00 |
|
Jürg Lehni
|
ebdf5a2dfd
|
Shorten CompoundPath#moveBy().
|
2011-05-15 19:58:09 +01:00 |
|
Jürg Lehni
|
54161f81f1
|
Add expected parameters to function signature.
|
2011-05-15 19:57:48 +01:00 |
|
Jürg Lehni
|
c4c4f51eb9
|
Shorten getCurrentPath().
|
2011-05-15 19:31:25 +01:00 |
|
Jürg Lehni
|
dff0c595f0
|
Add simple CompoundPath example.
|
2011-05-15 19:14:21 +01:00 |
|
Jürg Lehni
|
7ba2fcad2a
|
Allow passing of Paths to CompoundPath constructor as arguments, without an array object.
|
2011-05-15 19:14:09 +01:00 |
|
Jürg Lehni
|
e9e93abb44
|
Add test for #clockwise orientation in CompoundPath.
|
2011-05-15 19:10:12 +01:00 |
|
Jürg Lehni
|
0fd8c4e046
|
Fix CompoundPath test and add it to load.js so it actually gets tested.
|
2011-05-15 19:09:34 +01:00 |
|
Jürg Lehni
|
c9d0f982c2
|
Don't set _clockwise in Path#isClockwise(), as it should only be set once the use explicitely does so.
|
2011-05-15 19:02:50 +01:00 |
|
Jürg Lehni
|
441dc3641d
|
Add additional test for #name.
|
2011-05-15 18:53:22 +01:00 |
|
Jürg Lehni
|
d12608c708
|
Minor clean ups.
|
2011-05-15 18:53:09 +01:00 |
|
Jonathan Puckey
|
a9fbc41e15
|
Clean up Item#name code.
|
2011-05-15 19:27:32 +02:00 |
|
Jonathan Puckey
|
16ab461fde
|
Merge remote branch 'origin/master'
|
2011-05-15 19:14:05 +02:00 |
|
Jonathan Puckey
|
db06f55e3f
|
Add tests for named access of items.
|
2011-05-15 19:13:55 +02:00 |
|
Jürg Lehni
|
1b58719202
|
Merge remote-tracking branch 'origin/master'
|
2011-05-15 18:13:00 +01:00 |
|
Jürg Lehni
|
cd7544c7c7
|
Switch examples to using event.count in onFrame().
|
2011-05-15 18:12:56 +01:00 |
|
Jonathan Puckey
|
a90aa09bd7
|
Merge remote branch 'origin/master'
|
2011-05-15 19:12:38 +02:00 |
|
Jonathan Puckey
|
d998cd30f3
|
Add support for accessing items by name through their parent's children list.
|
2011-05-15 19:12:27 +02:00 |
|
Jürg Lehni
|
36c9286ca9
|
Add #count to onFrame() event.
|
2011-05-15 18:08:41 +01:00 |
|
Jürg Lehni
|
4cee442a05
|
Rename items parameter to paths.
|
2011-05-15 18:05:47 +01:00 |
|
Jürg Lehni
|
3d76034600
|
Use Path#setClockwise() in CompoundPath constructor to reverse top path so that the others appear as holes cut out from it.
|
2011-05-15 18:05:00 +01:00 |
|
Jürg Lehni
|
813b70c70b
|
Update comment a bit to make code more clear.
|
2011-05-15 17:59:57 +01:00 |
|
Jürg Lehni
|
6e0e31480a
|
Remove recently introduced code blocks for small conditional statements.
|
2011-05-15 17:59:37 +01:00 |
|
Jürg Lehni
|
40c988b313
|
Add Path#is/setClockwise(), as a way to check and define a path's orientation.
|
2011-05-15 17:59:06 +01:00 |
|
Jürg Lehni
|
6fc418b581
|
Fix accidentally reversed change and clean up code a bit.
|
2011-05-15 15:12:59 +01:00 |
|
Jürg Lehni
|
f150552a9c
|
Remove test for Path#hidden which was removed already.
|
2011-05-15 15:10:53 +01:00 |
|
Jürg Lehni
|
252a3635dc
|
Replace {@true} tags in documentation ({@true ([^}]*)} -> true $1, false otherwise.)
|
2011-05-15 15:06:10 +01:00 |
|
Jürg Lehni
|
ee8b66e19a
|
Remove methods / fields that are hidden on Scriptographer through @jshide.
|
2011-05-15 15:03:33 +01:00 |
|