Commit Graph

93 Commits

Author SHA1 Message Date
jdescottes
bd030fdf1f Merge branch 'master' into zoom-level 2013-11-05 00:15:08 +01:00
jdescottes
eb559eee0c fix : import-picture-panel
- When imported 1 picture and then importing another one, the picture
  preview was not cleaned and was displaying the two images side by side.
  Fixed in ImportController.js
- Switched all double-quoted strings in ImportController to single-quoted
  strings. Should enforce this using jshint
- Aligned all inputs in the import picture panel
- Renamed 'Preview :' import section to 'Info :'. Mostly it's to make it
  shorter, but also I'd like to display additional information to the
  right of the preview in the future.
2013-11-02 11:02:03 +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
c332aa2dea import-picture-panel : IE10 CSS fix for input text with text-align:right 2013-10-25 00:32:42 +02:00
jdescottes
b2258a668d import-picture-panel : IE10 CSS fix for input text with text-align:right 2013-10-25 00:31:45 +02:00
jdescottes
a0a1fa7bdf Added preview picture. Added a flow : start with only file input enabled 2013-10-23 23:34:09 +02:00
jdescottes
3dde3504d1 Synchronize resize fields, resize image when importing 2013-10-23 01:01:35 +02: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
4eebff804b Layers:Review:Renamed layers-container to layers-list-container. Extracted URLs to Constant.js 2013-09-29 23:26:09 +02:00
jdescottes
17ba93cc9f Layers:Review:Renamed layers canvases css classes to layers-above/below-canvas 2013-09-29 23:05:24 +02:00
jdescottes
bcf34e6e55 Layers:Review:Only one selector per line 2013-09-29 22:53:05 +02:00
Julian Descottes
2df811b647 Layers : fix : Set button height to 24px 2013-09-27 23:19:08 +02:00
jdescottes
3a8d96f840 Arrow icons update 2013-09-26 07:47:11 +02:00
jdescottes
9395be3034 Layers : add layer icon. Position buttons on top of list. Fix name generation issue 2013-09-25 22:43:21 +02:00
jdescottes
ff5f9273a8 Layers container style update 2013-09-25 21:03:57 +02:00
jdescottes
80a9fe3396 First layer UI. Just functional, UX far from ideal 2013-09-25 00:11:12 +02:00
jdescottes
6528c7724b Issue 24 : Layers
!! NOT STABLE !!
Initial implementation. No UI update yet.
Check js/model/Piskel.js and js/model/Layer.js for an overview of the new
API.

Piskels can be saved on the existing service.

Previous piskels cannot be loaded. This should be fixed soon.
2013-09-22 21:02:43 +02:00
jdescottes
4f6863eb8a Gif export panel first draft 2013-09-07 17:50:43 +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
3cd2cb1c63 Fix slightly overflowing drawer (on the screen right edge) 2013-06-23 14:46:25 +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
jdescottes
6cb145ae34 Merge branch 'master' into user-settings 2013-06-19 07:38:13 +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
Julian Descottes
e3beb6bd09 Added back the -webkit prefix for radial-gradient used on body 2013-06-16 08:20:48 +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
Patrick Brosset
8210e42601 radial gradient background on FX 2013-06-15 18:55:44 +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
63d9fe29d7 Update scroller overflows VD + fix zindex bug 2013-06-14 00:56:47 +02:00
Vince
8e01afc31a Fix background visual design 2013-06-13 23:35:11 +02:00
Vince
2074380855 New scroll overflow design (smaller teeths) 2013-06-13 23:13:57 +02:00
Vince
8b265bdb9b Adding overflow markers for preview frame scroller 2013-06-13 22:55:19 +02:00
Vince
2a32a7f9fe Fix user messages
I fixed the local storage service, user messages were jsut working fine.
I updated the UXD, they are now sticky to the right-bottom corner.
2013-06-13 20:07:12 +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
a6ef4ace6d Quick poor fix palette/colorpickers 2013-06-13 17:39:59 +02:00
Vince
7484873c03 Clean up image folder names and remove unused icon images 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
f4de6acd2f Update scrollbar gutter to make less visible 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
grosbouddha
5de77dc6fb Adding moar icons + anim preview + code removal 2013-06-12 18:39:33 +02:00