jdescottes
e4c14e234e
ok this one is chaos
2013-12-05 22:12:48 +01:00
jdescottes
a0273edb3e
feature : add keyboard shortcuts
...
+ cleanup of color management
+ colors are now stored in palette controller
+ drawing controller has a dependency on palette controller
+ UPDATE COLOR events have been removed (they were used only for
synchronizing palette and drawing controller)
2013-11-19 07:40:35 +01:00
Julian Descottes
ca427e0853
Dev environment : closure compiler + jshint update
...
Fixed error raised by closure compiler
Added es3 option to jshint (detect trailing commas)
Added curly option to jshint (missing curly braces for if/for blocks)
Removed trailing whitespaces (not enforced through jshint though)
2013-09-28 23:52:51 +02:00
Vince
38dc1dc9fe
Closure Compiler: Fix All The things !
...
- Adding some small fixes to pass compile step (mostly /** instead of
/*).
- Adding some closure externs
2013-09-28 21:10:12 +02:00
jdescottes
f468790baa
Merge from master + added more jshint checks (undef and latedef). Very helpful to catch post merge issues.
2013-08-10 14:28:10 +02:00
jdescottes
87a68bfe21
Dev environment:force indentation to 2 spaces. Added new grunt module, grunt-leading-indent to check space consistency, and modified jshint options to enforce 2 spaces
2013-08-10 12:11:16 +02:00
jdescottes
1977141076
Fixed size related issues. Selection Manager no longer depends on the frameoverlay which is now only manipulated by the tools
2013-08-05 23:34:11 +02:00
grosbouddha
fba6693426
Make jshint quiet now
2013-05-27 23:42:53 +02:00
jdescottes
9b40b11703
Support secondary color for color picker
2013-04-09 07:24:07 +02:00
grosbouddha
1441dcd67a
Adding simple color picker
...
Left click colorpicker tool:
- Create PRIMARY/SECONDARY_COLOR_SELECTED/UPDATED events
- remove isPrimary arguments
2013-04-09 01:32:30 +02:00
Vince
e519eb1feb
renaming + bug fixing (0 considered as false …)
2012-09-16 16:42:21 +02:00
Vince
31d2f90bfe
highlight target tool pixel - intial commit
2012-09-16 15:35:30 +02:00
juliandescottes
339ab39ce6
Removed checks against 0 when moving/shifting frames. They didnt bring anything and were making the behavior sloppy
2012-09-16 07:56:22 +02:00
Vince
cfd5050901
UI cleanup
2012-09-16 04:33:26 +02:00
Vince
b761750766
Renaming to VerticalMirrorPen
2012-09-16 00:52:39 +02:00
Vince
1a143ad5e3
Vertical mirror pen - initial implementation
2012-09-16 00:49:52 +02:00
Vince
2e0826f714
Fix variable scope on simplePen
2012-09-16 00:47:24 +02:00
Vince
440a6391e9
Generate tool's markup automatically
2012-09-15 20:25:45 +02:00
Vince
277fd979e9
master conflict merge
2012-09-15 02:24:06 +02:00
Vince
a88826aa1f
Remove code duplication between select tools
2012-09-15 02:02:02 +02:00
juliandescottes
2edda09f08
Finalized first implementation of Circle tool
2012-09-14 23:43:49 +02:00
juliandescottes
f7d235b116
Adding Circle tool - reusing Rectangle implementation for now
2012-09-14 22:20:34 +02:00
juliandescottes
813b60b854
Simplified Rectangle.js and pixelUtils
2012-09-14 22:20:00 +02:00
Vince
841885939d
Basic lasso tool
2012-09-14 20:12:21 +02:00
Vince
e85fe32f02
Basic rectangular select tool basic
2012-09-13 22:57:32 +02:00
Vince
991b66b67c
Basic cut implementation
...
SelectionManager implmentaiton
Rectangular seleciton impl
Utils refacoring
Event manager refactoring
basic cut implmentation
2012-09-12 12:01:47 +02:00
Vince
efbeaf3d50
Initial work + merge
2012-09-11 19:59:00 +02:00
juliandescottes
99e9cf8856
Fixed FilmPreview bugs. Simplified piskel.js, removed refernce to drawingController from tools
2012-09-10 23:34:11 +02:00
juliandescottes
68c2cae658
Cleaned FrameRenderer.js FrameRenderer should also keep a reference on the frame it is updating - initially I wanted the renderer to be frame independant, but it doesnt bring much
2012-09-10 23:34:08 +02:00
juliandescottes
d18c3cd5f7
Cleaned FrameRenderer.js FrameRenderer should also keep a reference on the frame it is updating - initially I wanted the renderer to be frame independant, but it doesnt bring much
2012-09-09 02:34:54 +02:00
juliandescottes
6e7545a1d2
Added drawing loop, unplugged traditional renderers
2012-09-08 23:59:44 +02:00
juliandescottes
869f3d2e00
fixed bug when resizing
2012-09-08 17:57:21 +02:00
Vince
cc22a26933
Fix overlayFrame reference
2012-09-08 15:21:22 +02:00
juliandescottes
022773d3ab
forgot unstaged files
2012-09-07 01:21:05 +02:00
juliandescottes
f06f03a7f7
Added simple move tool
2012-09-07 01:08:25 +02:00
juliandescottes
9a09f11650
oh well ...
2012-09-06 00:40:27 +02:00
juliandescottes
5a36f8a3a8
forgot to render the overlay
2012-09-06 00:36:45 +02:00
juliandescottes
03c56407d3
using clearOverlay
2012-09-06 00:35:02 +02:00
juliandescottes
69a03a3416
Previews are fixed. Removed drawing methods from piskel .js
2012-09-04 22:18:00 +02:00
juliandescottes
4c4faa88e6
Moved drawing logic outside of tools. Previews and animations are broken. Performance is somehow degraded
2012-09-04 14:10:16 +02:00
juliandescottes
3e02037b58
Removed all references to normalizeCOlor
2012-09-03 22:31:56 +02:00
juliandescottes
ad1fc2ecc2
Eraser now inherits from SimplePen. Added a superclass property attached in the inherit util
2012-09-03 22:22:24 +02:00
Vince
2a20cc90ea
Integration (with myself) fixes
...
- Adding default value in empty frames to avoid artifact when paint
bucketing (you may have issues with previously stored model before this
commit, no migration plan for papybrossette :D)
- Fix issue: Model does not show up when loading a remote GAE model
- Removing FRAMESHEET_UPDATED events (remains of history manager
implementation)
2012-09-03 20:45:25 +02:00
Vince
35736949d8
Shit merge
2012-09-03 01:34:11 +02:00
Vince
d7044dc44d
Cleanup of piskel.js
...
Partial cleanup of piskel:
new events and constant
move palette and color picker in ToolSelector
create Notifcation.js and move user message in it
create LocalStorageService and move LS stuff in it
2012-09-03 01:24:55 +02:00
Vince
9758aa62d9
Add interpolation when using the pen tool quickly
2012-09-02 17:49:28 +02:00
Vince
946444a16b
Adding rectangle tool
2012-09-02 13:19:20 +02:00
Vince
4622cf67a7
Adding support for transparent color
2012-09-02 01:41:49 +02:00
Vince
700c6ab144
Stroke tool
...
Add stroke tool
new icons for tools
started some refactoring to help having a big redraw loop
2012-09-02 00:44:55 +02:00
Vince
ca04f8db4d
Tool plugin architecture with eraser/pen/paintbucket tools.
2012-09-01 01:21:58 +02:00