Commit Graph

84 Commits

Author SHA1 Message Date
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
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
Vince
31062a70a9 proto init implementation + less 2013-06-12 14:53:47 +02:00
grosbouddha
1441dcd67a Adding simple color picker
Left click colorpicker tool:
- Create PRIMARY/SECONDARY_COLOR_SELECTED/UPDATED events
- remove isPrimary arguments
2013-04-09 01:32:30 +02:00
jdescottes
944f1a53df Changed icons 2013-04-07 21:14:37 +02:00
jdescottes
1b501bd84b Updated cursor hotspots to be within range of the cursor image (otherwise issue with recent regression in Chrome ; see https://code.google.com/p/chromium/issues/detail?id=172857.) 2013-03-21 01:12:46 +01:00
juliandescottes
019df61cdc Fixed layout issue when hovering on non 32x32 tile previews 2012-09-20 23:01:49 +02:00
juliandescottes
562d669ae1 Basic export - opening new window with concatenated spritesheet in PNG format 2012-09-20 00:43:39 +02:00
juliandescottes
016649bb46 Fixed overlap between drawing canvas and preview. 2012-09-16 23:34:00 +02:00
juliandescottes
0d1775b24c Dynamic size for frame 2012-09-16 18:48:32 +02:00
Vince
cfd5050901 UI cleanup 2012-09-16 04:33:26 +02:00