Commit Graph

106 Commits

Author SHA1 Message Date
jdescottes
087b8c57c5 UI : Align PNG export with GIF export
- PNG export now has its own panel
- Lots of code duplication between PNG and GIF controller => FIXIT
- Added a link displayed after image upload
2014-03-08 17:23:20 +01:00
jdescottes
85084b8279 Added localstorage save + read 2014-02-10 01:00:16 +01:00
juliandescottes
9fc971f40b Added resize canvas panel 2013-12-24 12:57:03 +01:00
juliandescottes
fbdf1aaf9a added loading over + fixed bug with highlighted pixel removal 2013-12-23 15:04:13 +01:00
jdescottes
e4cf2ac40b Merged 2013-12-18 23:22:25 +01:00
jdescottes
b11b16b427 initial 2013-12-06 18:04:04 +01:00
jdescottes
c04a645991 Design attempt 2013-11-26 23:49:55 +01:00
jdescottes
5bbbdf64d9 Merge from master 2013-11-26 21:40:43 +01:00
juliandescottes
11a3155e38 Merge branch 'master' into improve-color-selection-ux 2013-11-23 19:51:47 +01:00
juliandescottes
e852fb7c57 Merge with master after PR zoom-level 2013-11-23 19:50:53 +01:00
jdescottes
f26b1d4ebc improve : color picker : initial implementation using spectrum 2013-11-21 00:44:46 +01:00
jdescottes
e0b76f5329 feature : add keyboard shortcuts : added help panel displayed on shift+? 2013-11-18 23:53:12 +01:00
jdescottes
8a380b6c78 merged from master 2013-11-01 23:37:09 +01:00
jdescottes
bd99027852 feature : zoom
- Added MinimapController that displays a frame on the animated preview
  when zoomed in
- Added bounds for the offset to make sure it doesn't go crazy
- Added new utility Math.js with a minmax function
- TODO : the minimap controller has a lot of dependencies, see if could be
  cleaned up
- TODO : DrawingController knows the size of the picture it has to render
  only indirectly, which makes it hard in some cases (such as boundary
  checking performed during setOffset)
2013-11-01 23:11:11 +01:00
jdescottes
6c0f54032d Import panel 2013-10-22 07:40:08 +02:00
jdescottes
f549174424 Import panel:
- added pskl.controller.settings.ImportController (empty atm)
- moved SettingsController under settings namespace
- move settings templates in a dedicated folder
- created import icon (svg is in the resources folder)
- added import button in right-layer
2013-10-11 00:04:40 +02:00
jdescottes
1e99a051e6 Rollback of initialization sequence 2013-10-04 23:46:19 +02:00
jdescottes
894486fba6 Review : fixes 2013-10-04 23:26:53 +02:00
jdescottes
a87b09908d Refactor : moved cheap-templates.js to lib. Added documentation 2013-10-04 22:25:47 +02:00
jdescottes
64daa05140 Layers:Review:Rename layers.html to layers-list.html 2013-09-30 21:20:40 +02:00
jdescottes
80a9fe3396 First layer UI. Just functional, UX far from ideal 2013-09-25 00:11:12 +02:00
jdescottes
4f6863eb8a Gif export panel first draft 2013-09-07 17:50:43 +02:00
jdescottes
73b98850db Added cheap lazy templates + logic to switch between setting controllers 2013-08-12 07:31:09 +02:00
jdescottes
2299f35977 Introducing iframe based templates 2013-08-11 01:26:38 +02:00
jdescottes
a16e1bab09 added Function.prototype.bind polyfill for PhantomJS. Make Casper happy. 2013-08-04 21:20:25 +02:00
jdescottes
91bacd1dd9 Added concat and uglify tasks to grunt. Piskel on master will only be able to work in debug mode, by passing ?debug in URL. The minified version is built in /build, which has been added to .gitignore 2013-08-04 18:27:32 +02:00
jdescottes
e7ef8fbf5a Rolled back too many changes. some piskel.something managed to creep back in 2013-07-14 23:36:31 +02:00
jdescottes
023f9332cd added empty readonly name field to index.html for consistency 2013-07-14 23:25:12 +02:00
jdescottes
4e1deee851 Reintegrating css changes from master 2013-07-14 23:18:03 +02:00
jdescottes
032c8c4485 Added logic to switch behavior between appengine and static mode. Removed piskel on window in favor of pskl.app 2013-07-14 23:04:42 +02:00
Vince
e1e7dbf2e1 Fix right sticky panel on FF
width can't be force on a display:table element in firefox.
I added a level of wrappers to workaround.
2013-06-23 14:42:12 +02:00
Vince
4618cb643a Fix canvas size when grid display is active
- Dynamic resizing of canvas when display_grid is activated/deactivated
 - Adding a main-wrapper to get a perfect alignement at the top and
bottom the application screen
 - fix DPI update on page load (independent of grid option).
 - fix available width for DPI calculation (using margin-box, was using
only content before)
2013-06-19 19:01:12 +02:00
Vince
5913b19641 Plug canvas background settings on UserSettings storage
Canvas background class are now manager at the FrameRenderer level
instead of CSS classes at the top of the DOM.
2013-06-17 23:10:35 +02:00
Vince
889d5c0d53 Add basic UserSettings persistence static utility.
Based on localStorage for now.
2013-06-17 19:54:43 +02:00
Vince
97ddc6ecc1 Adding simple backgorund picker (without persistence) 2013-06-17 11:36:56 +02:00
Vince
cc3bd72b86 Small settings panel styles update 2013-06-17 10:37:23 +02:00
Vince
3d67be94a1 Initial quick design for right settings drawer 2013-06-16 10:36:05 +02:00
Vince
955a49d2dd Adding SettingsController 2013-06-16 10:17:50 +02:00
Vince
19b213129a Moving settings markup to drawer 2013-06-16 10:16:26 +02:00
Vince
4208e40c24 Adding drawer prototype 2013-06-15 19:35:55 +02:00
Vince
13de7cbcfb New layout: application actions sticking to the right edge 2013-06-15 19:04:36 +02:00
Vince
a524c57014 Add preferences action 2013-06-15 18:20:25 +02:00
Vince
0bb097e54b Add 'visit gallery' action 2013-06-14 13:17:53 +02:00
Vince
460c391326 Code cleanup + unsued images removal 2013-06-14 13:17:20 +02:00
Vince
d34f24141a Add canvas background switcher
A quick integration to make our minds on different backgrounds and ask
for feedback
2013-06-14 13:16:18 +02:00
Vince
8b265bdb9b Adding overflow markers for preview frame scroller 2013-06-13 22:55:19 +02:00
Vince
9478055658 Move 'add frame button' to preview frames
and change UXD
2013-06-13 17:39:59 +02:00
Vince
d1f292bd69 Fix save/upload buttons UX
- new look and feel
- upload for png spritesheet & animated gif
- remove host code (window.open) from spritesheetRenderer
2013-06-13 17:39:59 +02:00
Vince
b89409f82e Make tools sticky on screen's left edge
So that the drawing canvas can expend full height
2013-06-13 17:39:59 +02:00
Vince
5b0a8f157d Fixing DnD, removing LESS, cleaning code
- Updating DnD to use Sortable instead of draggable/dropppable
(updating deps as well).
- much simpler logic for DnD
- Remove LESS for now since it's a bit yet overkill
- fix moveFrame function
2013-06-13 00:04:39 +02:00