Commit Graph

501 Commits

Author SHA1 Message Date
Brad Buchanan
7e112776b6 Use Constants.EMPTY_FUNCTION 2016-06-16 18:13:08 -07:00
Brad Buchanan
efbfeca200 Improved comments 2016-06-16 18:12:13 -07:00
Brad Buchanan
e1cba9f13b Re-adopt ns convention for module definition 2016-06-16 18:09:47 -07:00
Brad Buchanan
e37d93f7f9 Extract import logic to ImportService
Isolates import dialog logic from actual import logic, which makes headless import eaiser to implement.
2016-06-14 18:12:25 -07:00
Julian Descottes
c49fe4d6a0 Issue #483 - limit zoom to have 10 sprite pixels displayed on screen 2016-06-09 11:05:59 +02:00
Julian Descottes
c0f0445544 Fix Transform tool CMD modifier on OSX 2016-06-05 00:25:41 +02:00
Julian Descottes
4b8e5ace07 Issue #470: remove references to tiled-preview, rename preferences 2016-06-04 17:03:34 +02:00
Julian Descottes
5533664900 Issue #470: move the seamless overlay color to Constants.js 2016-06-04 16:58:49 +02:00
Julian Descottes
21b2261a9d Feature #470: update application settings layout 2016-06-04 16:50:58 +02:00
juliandescottes
f2ff3bc74e Feature #470: Tiled drawing improvements 2016-06-04 16:50:58 +02:00
Julian Descottes
058b6fa333 Issue #293: add FramesheetRenderer unit tests 2016-05-29 11:47:57 +02:00
Julian Descottes
c8fa83462a Issue #293: remove unused user settings 2016-05-29 11:19:54 +02:00
Julian Descottes
fae04f3616 Issue #293: use input type number and fix linting issues 2016-05-29 11:06:45 +02:00
Julian Descottes
169ce21556 Issue #293: Add spritesheet layout options in PNG export tab 2016-05-29 10:45:19 +02:00
Julian Descottes
2f295825f2 Issue #446: store selected export tab in user preferences 2016-05-23 22:51:48 +02:00
Julian Descottes
c63c764060 Issue #446: Improve export panels style consistency 2016-05-23 22:29:20 +02:00
Julian Descottes
ba8964a2af Issue #446: Cleanup gif export panel 2016-05-23 00:40:23 +02:00
Julian Descottes
f66c2578ab Issue #446: Add export tabs, move zoom controls 2016-05-22 23:37:28 +02:00
Julian Descottes
32e701aa55 Move ImageExportController to ExportController and Fix line height for toolbox titles 2016-05-22 15:49:39 +02:00
Julian Descottes
aa9c1659fc Issue #447: apply review comments 2016-05-22 15:05:22 +02:00
Guillaume Martigny
58a1a6b043 Dirty status compare last save state index and current state index
Signed-off-by:Guillaume Martigny <guillaume.martigny@gmail.com>
2016-05-22 15:03:47 +02:00
Guillaume Martigny
9b6d45e8ed Code formating
Signed-off-by:Guillaume Martigny <guillaume.martigny@gmail.com>
2016-05-22 15:03:47 +02:00
Guillaume Martigny
0f00ef563a Fix the states replay loop
Signed-off-by:Guillaume Martigny <guillaume.martigny@gmail.com>
2016-05-22 15:03:47 +02:00
Guillaume Martigny
eb1320de11 Move history service to linked list with random UUID
Signed-off-by:Guillaume Martigny <guillaume.martigny@gmail.com>
2016-05-22 15:03:47 +02:00
Matt D
299d4fb895 Renamed Align to Center 2016-05-12 10:39:29 +10:00
Matt D
7c4d03b105 Fixed style issues 2016-05-10 21:52:27 +10:00
Matt D
0e4f1046d3 Implemented issue #403 2016-05-10 21:37:00 +10:00
juliandescottes
7c47aa9ecd Issue #467: style changes: smaller toolbox borders, layout fixes 2016-05-08 13:28:19 +02:00
juliandescottes
c1d8c7a20e Issue #467: fix max height for layers & panels lists 2016-05-08 04:12:43 +02:00
Julian Descottes
f32d5dea20 Merge pull request #456 from juliandescottes/issue352-selected-color
Issue #352: add gold/black SVG backgrounds for selected color
2016-04-22 00:14:58 +02:00
Julian Descottes
806b447f93 Issue #352: add gold/black SVG backgrounds for selected color 2016-04-22 00:08:14 +02:00
Julian Descottes
78932048e8 Issue #458: format selected color from spectrum as HexString 2016-04-21 23:44:42 +02:00
Julian Descottes
d46ab48c1b Merge pull request #440 from clementleger/c_file_export
C file export
2016-04-18 16:48:16 +02:00
Clement Leger
e41b8f740b C Export: Remove temporary canvas and directly use the rendered one for export 2016-04-11 16:43:26 +02:00
Clement Leger
dfb8fec0c9 C export: fix after review 2016-04-11 14:33:58 +02:00
Rob Muhlestein
2a1073d0c5 Warp -> Wrap in move tool spelling 2016-04-09 13:06:33 -04:00
Clément Léger
4927557c89 C export: Fix rgb ordering in uint32_t 2016-04-06 19:38:11 +02:00
Clément Léger
d176973e72 C export: add static const qualifier for arrays 2016-04-06 19:17:39 +02:00
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
Julian Descottes
6546b520b3 Issue #414: part2: serialize and deserialize layer opacity 2016-03-24 02:17:57 +01:00
Julian Descottes
7660119b50 Issue #414: part1: add opacity to Layer model 2016-03-24 02:17:57 +01:00