Commit Graph

5300 Commits

Author SHA1 Message Date
David Capello
6ce73a831a Don't allow draw/modify reference layers 2016-10-17 13:49:28 -03:00
David Capello
409a546089 Show reference layers as 'Reference layer' in status bar 2016-10-17 13:41:13 -03:00
David Capello
3f052cfe2e Return nullptr instead of assert in Widget::font() 2016-10-17 10:49:37 -03:00
David Capello
2a16896b7d Include "base/log.h" needed for LOG() 2016-10-16 20:29:57 -03:00
David Capello
bc939d5638 New eyedropper mode to pick colors from reference layers 2016-10-13 21:19:25 -03:00
David Capello
755e621d34 Remove unnecessary char from pref.xml file 2016-10-13 20:39:29 -03:00
David Capello
1b053de2f2 Fix eyedropper/move tool for reference layers 2016-10-13 19:58:42 -03:00
David Capello
1de5837676 Remove fflush() call from Sprite::pickCels()
Probably from an infamous printf() debugging session.
2016-10-13 19:37:04 -03:00
David Capello
bf4d6f1e4e Ask for a file when we add a new reference layer
Also the new reference layer is added centered in the sprite and scaling
it to make it fully visible in the canvas.
2016-10-12 14:41:58 -03:00
David Capello
1aa2a4137a Fix mnemonic char for "Add Reference Layer" 2016-10-12 14:28:46 -03:00
David Capello
2a5ed858dc Load/save precise cel bounds for reference layers in .ase file 2016-10-12 12:48:11 -03:00
David Capello
6f40c8bd35 Merge branch 'beta' 2016-10-11 19:40:14 -03:00
David Capello
e3649305b5 Merge pull request #1288 from pseudogames/beta
Fix some bugs from issue #1271:

- vertical scroll jumps in big chunks when we have a big zoom (e.g. Zoom = 10)
- add zoom with alt+mouse wheel
- zoom is reset each time after we paint
- when we change zoom with mouse wheel we must update the scroll area
2016-10-11 19:28:51 -03:00
Carlo 'zED' Caputo
850b045104 cleanup and fix for the case of a horizontal scroll 2016-10-11 16:43:42 -03:00
David Capello
b83eb89ce4 Use old composite code (faster code) when possible
We use the new general image composite code in case that there is a
reference layer or the background grid is so small that we need a
pixel-by-pixel color blending.
2016-10-11 16:43:37 -03:00
Carlo 'zED' Caputo
ebe9cb807e same direction of timeline mousewheel zoom as the editor 2016-10-11 16:42:11 -03:00
David Capello
8d94dc94d4 Add flag to show render performance in real-time 2016-10-11 16:41:50 -03:00
Carlo 'zED' Caputo
6151948029 skinTheme()->dimensions.timelineBaseSize() 2016-10-11 13:04:44 -03:00
David Capello
0068a2024a Improve composite_image_general() performance 2016-10-11 11:27:47 -03:00
David Capello
080e7e3f68 Add subpixel bounds for reference layer cels
Now we can move a reference layer cel in a X,Y position with floating
point coordinates (i.e. in a subpixel position).
2016-10-10 23:42:47 -03:00
Carlo "zED" Caputo
1d53536709 updating scroll and overlay on timeline zoom 2016-10-09 16:02:51 -03:00
Carlo "zED" Caputo
f0093a2d57 saving timeline zoom pref onProcessMessage 2016-10-08 23:03:48 -03:00
Carlo "zED" Caputo
ab23254cf8 alt+mousewheel zooms the timeline 2016-10-08 22:48:58 -03:00
Carlo "zED" Caputo
594075359f smaller increment on default timeline scroll 2016-10-08 22:34:51 -03:00
David Capello
4a7d601d5d Add composite_image_general() as a generic (slow) image composer 2016-10-05 21:37:53 -03:00
David Capello
512ccb5dd0 Add bounds (width/height) to doc::Cel/CelData 2016-10-04 21:17:17 -03:00
David Capello
99f37ef242 Add LayerFlags::Reference flag to identify a reference layers
With this flag we can show reference layers in a special way on the
Timeline.
2016-10-04 20:06:24 -03:00
David Capello
7cf546c826 Add menu option to insert a reference layer 2016-10-04 19:55:30 -03:00
David Capello
8b27e895f1 Minor changes in .ase encoder/decoder 2016-10-04 19:29:04 -03:00
David Capello
7eade4ea70 Minor changes in .ase file format description 2016-10-04 17:26:30 -03:00
David Capello
28b1ee6625 Add "New Group" command to layer popup menu 2016-10-04 11:08:36 -03:00
David Capello
a4277e8175 Add DEBUG_DOCUMENT_LOCKS to avoid logging doc locks 2016-10-03 13:24:59 -03:00
David Capello
dd54e0b6f9 Use bg1/bg2 directly as alpha=255 in the thumbnails generation 2016-09-26 13:00:01 -03:00
David Capello
e287d0e066 Avoid temporary copy in app::thumb::get_cel_thumbnail()
Convert gfx::Size arg to const gfx::Size&
2016-09-26 12:58:31 -03:00
David Capello
15a7784c16 Minor change in the timeline popup layout 2016-09-26 12:31:40 -03:00
David Capello
8da12cde1d Merge branch 'timeline-thumbnails3' of https://github.com/pseudogames/aseprite into pseudogames-timeline-thumbnails3 2016-09-26 12:21:45 -03:00
David Capello
b41ad4dd21 Merge branch 'timeline-thumbnails2' of https://github.com/pseudogames/aseprite into pseudogames-timeline-thumbnails2 2016-09-26 11:48:32 -03:00
David Capello
8b9c5f4f27 Merge branch 'timeline-thumbnails' into beta 2016-09-26 11:39:40 -03:00
David Capello
7fb984b18d Fix compilation errors when HAVE_CONFIG_H isn't defined 2016-09-26 09:44:43 -03:00
David Capello
f0fb945672 Merge pull request #1210 from pheuberger/master-system-palette-fix
Add all 64 colors to the master system palette
2016-09-26 09:43:13 -03:00
David Capello
e46d453356 Merge branch 'master' into beta 2016-09-23 13:21:51 -03:00
David Capello
fac2dd046c Fix generating CompressedImage with mask 2016-09-23 12:59:20 -03:00
David Capello
ceca640a98 Remove INK_* constants and ink_processing[][] array 2016-09-23 11:36:55 -03:00
David Capello
72ede7e642 Update to v1.1.9-dev 2016-09-23 11:10:45 -03:00
David Capello
ed8b8dfbd4 Add Alt+Shift+N keyboard shortcut for New Group 2016-09-23 11:07:39 -03:00
David Capello
3ba712f038 Fix bug assigning keys to menus w/o commands when we search (fix #1260) 2016-09-23 11:03:40 -03:00
David Capello
b84d0d843e Add --ignore-layer CLI option (fix #1264) 2016-09-23 10:46:31 -03:00
David Capello
b75d87c5fc Fix glitches with 'on sprite crosshair' after modifying sprite areas 2016-09-23 10:28:15 -03:00
David Capello
d4c4cb5f72 Fix graphical glitches while painting (fix #1262) 2016-09-22 20:16:14 -03:00
David Capello
1cab8c3de4 Merge branch 'master' into beta 2016-09-20 11:06:38 -03:00