Clément Léger
664821b9f5
Fix coding style and better output
2016-04-05 23:01:27 +02:00
Clement Leger
1b553d28e3
Export: add c file exporter
2016-04-05 22:00:50 +02:00
juliandescottes
327df539a7
Issue #414 : part10: support opacity in preview renderers
2016-03-24 02:17:57 +01:00
jdescottes
99b00bc57f
Issue #414 : part 9: persist layer opacity when resizing
2016-03-24 02:17:57 +01:00
Julian Descottes
add97baf54
Issue #414 : part8: Support transparency for GIF export
...
Transparent layers are rendered properly in GIFs.
As soon as a layer as some opacity (ie not 0 or 1) the GIF will be
rendered with preserveColors set to false. This could be improved,
preserveColors could still be applied if the flattended picture has
only opaque pixels, for a color count lower than the GIF limit.
Other topic to handle : we are creating way to many canvas element.
A simple GIF rendering of a 50 frames animation with 10 layers creates
1000 canvas elements before creating the GIF. Should consider adding some
pooling in the CanvasUtils.createCanvas helper.
2016-03-24 02:17:57 +01:00
Julian Descottes
76a29bf51a
Issue #414 : part7: Support transparency for ZIP export
...
Added renderFrameAt API to LayerUtils
Reuse LayerUtils and PiskelController renderFrameAt in PngExportController
2016-03-24 02:17:57 +01:00
Julian Descottes
7bf2662b66
Issue #414 : part6: Support transparency when exporting as PNG spritesheet
...
Added flattenFrameAt to LayerUtils.
Added renderFrameAt to PiskelController (using flattenFrameAt)
Use renderFrameAt in PiskelRenderer (which is used for PNG spritesheet)
chore: renamed createLayerFromSpritesheet to createFramesFromSpritesheet
(in LayerUtils)
2016-03-24 02:17:57 +01:00
Julian Descottes
d2dc42e7cf
Issue #414 : part5: rename PiskelController getFrameAt to getMergedFrameAt
2016-03-24 02:17:57 +01:00
Julian Descottes
186b5a305a
Issue #414 : part4: UI to view/update layer opacity
2016-03-24 02:17:57 +01:00
Julian Descottes
a75e78e366
Issue #414 : part3: PiskelController api + history support
2016-03-24 02:17:57 +01:00
Matt D
a712764401
Syntax changes to meet code style
2016-03-23 21:50:43 +11:00
Matt D
da105e6237
Moved the padding code to a new StringUtils.js utility and made the export code use it
2016-03-23 21:32:22 +11:00
Matt D
e2b6f0776b
Added frame and layer id padding to splittedExport
2016-03-23 20:51:08 +11:00
Matt D
c7381b771f
Added sprite number padding to mergedExport
2016-03-23 20:45:35 +11:00
Julian Descottes
539d7c7870
Merge pull request #397 from GMartigny/issue_#348
...
Issue #348 : colorpicker showing on top of tooltip
2016-03-11 00:58:36 +01:00
GMartigny
14fde4f8a0
Multi-line title on color selector
2016-03-05 17:31:56 +01:00
GMartigny
7088d9aa33
Revert modifications after discussion
2016-03-05 17:23:25 +01:00
Guillaume Martigny
fc9cb07be1
Revert to whole frame draggable
...
Signed-off-by:Guillaume Martigny <guillaume.martigny@gmail.com>
2016-02-04 15:33:49 +01:00
Guillaume Martigny
eb02e713e2
improve the sortable widget with direction, tolerance and handle
...
fix CSS to prevent horizontal scroll
Signed-off-by:Guillaume Martigny <guillaume.martigny@gmail.com>
2016-02-04 11:53:08 +01:00
Guillaume Martigny
9bd3bf4adf
code formating
...
Signed-off-by:Guillaume Martigny <guillaume.martigny@gmail.com>
2016-02-03 14:17:12 +01:00
Guillaume Martigny
fb9c600b9f
fix #348
...
Add a proposition to replace the title attribute.
Signed-off-by:Guillaume Martigny <guillaume.martigny@gmail.com>
2016-02-03 12:45:44 +01:00
Guillaume Martigny
5eb936d8c2
fix #392
...
Signed-off-by:Guillaume Martigny <guillaume.martigny@gmail.com>
2016-02-03 09:19:21 +01:00
jdescottes
21d4857b74
Update deps, use grunt-connect instead of express, fix jscs errors
2015-12-09 22:38:58 +01:00
jdescottes
c70e339296
Issue #338 : disable sizeInput sync if maintainration is off in usersettings
2015-12-02 00:44:13 +01:00
jdescottes
6583d8f8b9
Issue #357 : Trans. -> white if too many colors + add test files
2015-12-01 20:07:26 +01:00
juliandescottes
5b567683a7
Issue #357 : prevent transparency in GIF export if more than 256 colors
2015-12-01 14:17:26 +01:00
jdescottes
4d8b093941
Fixes #355 : IconMarkupRenderer:render signature changed
2015-12-01 01:16:04 +01:00
jdescottes
12ac85f0f6
Issue #258 : add support for left/right keys + bugfix
2015-12-01 00:50:57 +01:00
jdescottes
222c65a8a5
Issue #258 : Initial implementation : missing tests + cleanup
2015-12-01 00:50:54 +01:00
juliandescottes
070003a414
Issue #344 : Escape django template tags
2015-12-01 00:41:01 +01:00
jdescottes
2b28577813
Issue #344 : Avoid templating syntax conflict with Django
2015-12-01 00:41:00 +01:00
jdescottes
8aa6eff715
Issue #344 : Add image spriting using spritesmith
2015-12-01 00:39:37 +01:00
Patrick Brosset
6f5e2f130e
Fixes #346 by blurring disabled buttons
2015-11-30 16:46:27 +01:00
jdescottes
8d26d693ff
Issue #338 : Cleanup public/private in SettingsController
2015-11-25 00:40:12 +01:00
jdescottes
9329a5fd03
Issue #338 : Remove jquery from settingscontroller, destroy setting controller when closing drawer
2015-11-25 00:36:19 +01:00
jdescottes
30c3cdbcc5
Issue #338 : Store resize prefs to userpref
2015-11-19 08:18:26 +01:00
jdescottes
6d309419d3
Issue #287 : Move utility functions from Shortcuts.js to ShortcutService
2015-11-12 23:14:57 +01:00
jdescottes
460688e2d5
Issue #287 : Move helptext to tooltip, change cheatsheet column layout
2015-11-12 22:47:51 +01:00
jdescottes
0b439e1b00
Issue #287 : Add forbidden keys & helptext
2015-11-12 20:31:50 +01:00
jdescottes
676cbd17ea
Issue #287 : Edit shortcuts from cheatsheet window (WIP)
2015-11-12 20:31:49 +01:00
jdescottes
2e3558ef08
Issue #287 : Edit shortcuts from the Cheatsheet dialog (WIP)
2015-11-12 20:31:49 +01:00
jdescottes
b5234089cd
Issue #287 : Move CheatsheetService to CheatsheetController + DialogsController
2015-11-12 20:31:48 +01:00
jdescottes
ca3bbf1c57
Issue #287 : Shortcuts now rely on Shortcut instances. Shortcut key can be changed dynamically.
2015-11-12 20:31:47 +01:00
jdescottes
2c75daecb1
Issue #287 : Move shortcut definition to tool instances
2015-11-12 20:31:46 +01:00
jdescottes
c11e0d5d8d
Issue #287 : Rename addShortcut/removeShortcut to less ambiguous register/unregister
2015-11-12 20:31:45 +01:00
Alexander Holland
8ec47506bf
Issue #331 : Gruntfile : host as variable
2015-11-11 22:28:10 +01:00
Alexander Holland
4cf6088441
tweak valid checks and event types
2015-11-05 16:12:27 +01:00
Alexander Holland
00a05ee839
fix style error
2015-11-03 15:00:29 +01:00
Alexander Holland
73badf06b0
remove strange file
2015-11-03 03:49:41 +01:00
Alexander Holland
ea679913f9
tablet touch and s-pen
2015-11-03 03:42:31 +01:00