juliandescottes
2d8db76a5e
Context menu needs to also be deactivated on the palette, to easily pick a previously used color as a secondary color.
2012-09-15 23:44:28 +02:00
juliandescottes
ba6879875c
Fixed dynamic dpi update for drawing canvas, added throttle on resize event.
2012-09-14 00:33:46 +02:00
Vince
e85fe32f02
Basic rectangular select tool basic
2012-09-13 22:57:32 +02:00
juliandescottes
feadca9d1f
Added clear method to pskl.model.Frame
2012-09-10 23:34:12 +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
Patrick Brosset
873a10caa2
Fix the duplication in the overlay when grid toggl
...
When the grid was toggled, the overlay would actually
draw the main drawing frame instead of just redrawing
itself with transparent pixels.
This was due to the drawingcontroller passing the ref
to the same frame object when initialiwing both
renders.
By the way, the overlay should probably be treated a
bit differently as redrawing all its transprent pixels
in that case is useless.
2012-09-10 23:34:06 +02:00
juliandescottes
63d8cd7eb7
Slight performance improvement, previewfilmcontroller still buggy
2012-09-09 01:12:54 +02:00
juliandescottes
2fa95fa1bc
Added DrawingLoop.js and plugged basic rendering on each controller
2012-09-09 00:40:05 +02:00
Vince
1a99fed64d
pull/merge from master
2012-09-08 23:59:13 +02:00
Vince
f169a90644
Checkbox crappy styling and fixing overlayproxy grid
2012-09-08 23:53:59 +02:00
Vince
df945e10dd
Add grid checkbox
2012-09-08 23:43:16 +02:00
Vince
6b9904935f
Adding grid
2012-09-08 22:26:27 +02:00
Vince
82da78abf1
Adding grid
2012-09-08 22:26:17 +02:00
Vince
9dc7afee61
Moving drawing canvas code from piskel.js to drawingController.js
2012-09-08 18:44:06 +02:00
juliandescottes
869f3d2e00
fixed bug when resizing
2012-09-08 17:57:21 +02:00
Vince
ba5500b4b0
Dynamic DPIs !
2012-09-08 16:32:28 +02:00
Vince
bca16a3964
Creating renderingOptions object for FrameRenderer
...
Contains dpi, grid info, etc
2012-09-08 15:34:13 +02:00
Vince
eb7511c721
Encapsulate canvas element in FrameRenderer
...
From this change set, the HTML canvas element, which is the frame view,
is encapsulated inside the FrameRenderer.
You won't need to give the view handle from the controller layer
anymore.
It will make view alteration implementations much easier (like grid for
instance)
2012-09-08 15:08:00 +02:00
Vince
9411b2e3ae
Moving (rendering related) DPI into FrameRenderer domain object
2012-09-08 12:24:55 +02:00
juliandescottes
53436009e3
Changed main-canvas to drawing-canvas
2012-09-05 00:13:45 +02:00
juliandescottes
a567992a1d
moved Frame and FrameSheet to model package
2012-09-04 22:40:54 +02:00