David Capello
36bfa1d641
Merge branch 'beta' into layer-folder
2016-07-28 23:02:24 -03:00
David Capello
8823f6bf21
Merge branch 'master' into beta
2016-07-28 11:03:56 -03:00
David Capello
97d42de696
Improve image resize algorithm
...
It might be a possible fix for #502
2016-07-25 12:15:42 -03:00
David Capello
f838b8787e
Merge branch 'beta' into layer-folder
2016-07-07 12:47:42 -03:00
David Capello
36ffc8d2bd
Merge branch 'master' into beta
2016-07-06 15:46:22 -03:00
David Capello
b13ac1d340
Add crop_image() with a gfx::Rect
2016-07-01 18:42:10 -03:00
David Capello
3df6572170
We can return a const& in Cel::position()
2016-07-01 18:41:26 -03:00
David Capello
9897256d26
Don't trim background layer cels automatically ( fix #1166 )
2016-07-01 11:14:50 -03:00
David Capello
2d6412357c
Remove Sprite::getLayersList() member
2016-06-29 10:59:37 -03:00
David Capello
7f4fbb0e85
Fix 'auto select layer' in Move tool for groups
2016-06-21 12:17:18 -03:00
David Capello
7b55037abb
Replace LayersRange with Sprite::all*Layers() members
2016-06-21 12:02:31 -03:00
David Capello
0f77bf0712
Move selected layers into the new group
...
If the Timeline has an active selected range of layers and the user
creates a new layer group, the selected layers will be be grouped as
children of the new layer 'group'.
2016-06-21 00:02:13 -03:00
David Capello
139b8f6d74
Fix goto next/previous layer for multiple group levels
2016-06-20 21:15:35 -03:00
David Capello
6a66e660a7
Update doc library copyright year
2016-06-15 16:34:07 -03:00
David Capello
ebb6825b87
Don't enter in collapsed groups with GotoNext/PrevLayer
2016-06-15 15:49:39 -03:00
David Capello
ac20d1edfc
Fix some commands/editor states to check parent group editable/visible state too
2016-06-15 15:27:38 -03:00
David Capello
a2a06965db
Show disabled eye/padlock in Timeline when parent is deactivated
...
We've added a new "disabled" style state to do this.
2016-06-15 12:00:31 -03:00
David Capello
5e89ab3148
Fix GotoNext/PreviousLayer for groups
2016-06-14 15:00:11 -03:00
David Capello
47eeb4f564
Fix CelsRange to iterate over layer groups
2016-06-14 12:57:13 -03:00
David Capello
ad518b7fb2
Add SelectedFrames::reversed() function
2016-06-14 11:14:24 -03:00
David Capello
e58d54600a
Fix #endif footer in some files
2016-06-14 11:08:17 -03:00
David Capello
5d222c9c3e
Add SelectedFrames::ranges/firstFrame/lastFrame()
2016-06-14 11:05:03 -03:00
David Capello
8a3e74f7ec
Add doc::select_all_layers() function
2016-06-14 10:56:30 -03:00
David Capello
147588ff6f
Identify different Timeline areas with Site::Focus
2016-06-14 10:15:47 -03:00
David Capello
7ced1c791b
Include <algorithm> for binary search in contains()
2016-06-13 17:48:00 -03:00
David Capello
daf4e0e022
Add reverse iterator to SelectedFrames
2016-06-13 17:47:42 -03:00
David Capello
5e5a91444e
Add SelectedFrames::size/empty() member functions
2016-06-13 17:47:17 -03:00
David Capello
0713fb8db0
Add SelectedFrames into doc::Site
2016-06-13 16:48:32 -03:00
David Capello
e6097eabac
Add selected layers into doc::Site
2016-06-13 14:50:43 -03:00
David Capello
9ff7a13f30
Remove unused member from LayersRange::iterator
2016-06-10 15:38:23 -03:00
David Capello
ab86a1f5ee
Remove Site::layerIndex() member
2016-06-10 15:23:45 -03:00
David Capello
6bffc9f740
Avoid using LayerIndex in SpritePosition
...
We're planning to remove the LayerIndex as it doesn't make too much
sense with the new Timeline with groups.
2016-06-10 12:23:04 -03:00
David Capello
58f8ed6476
Prefer LayerGroup::layers() instead of iterators
2016-06-08 16:46:15 -03:00
David Capello
f1f3dc91de
Rename LayerGroup::getLayersList -> layers()
2016-06-08 16:12:24 -03:00
David Capello
44f44c3126
Paint groups with a folder icon in the Timeline
2016-06-08 15:15:37 -03:00
David Capello
2f91122c26
Rename layer folder/set -> layer group
2016-06-07 19:38:56 -03:00
David Capello
4760a11348
Merge branch 'master' into beta
2016-06-06 18:02:30 -03:00
David Capello
f18b1dfdb7
Merge branch 'refactor-cli' into beta
2016-06-06 17:57:37 -03:00
David Capello
a478efd616
Add support to use --frame-tag and --frame-range at the same time
2016-06-06 17:47:47 -03:00
David Capello
a9c18db7a4
Add pixel ratio field in Sprite properties
2016-05-24 12:25:11 -03:00
David Capello
37209a0f5b
Add pixel ratio support to the Editor & Render
2016-05-23 19:22:02 -03:00
David Capello
87ef12fbea
Add pixel ratio field into doc::Sprite
2016-05-23 17:30:34 -03:00
Matthias Mailänder
5e62983251
Fix a serious compiler warning
...
Program returns random data in a function
2016-05-21 19:41:43 +02:00
David Capello
18a901a5cf
Add doc::ImageSpec type
2016-05-13 17:08:07 -03:00
David Capello
cf380ab1a2
Fix selection feedback when we have foreground/background color w/alpha=0 ( fix #1133 )
2016-05-13 16:00:19 -03:00
David Capello
736f63132b
Fix red/blue tint for black/white colors ( fix #1125 )
2016-05-10 13:19:16 -03:00
David Capello
c12100dedb
Reduce the patched region with ExpandCelCanvas when we have the source image to compare with
2016-05-10 11:06:55 -03:00
David Capello
20c78f32c6
Fix static_assert() error on gcc and clang
2016-05-05 23:12:55 -03:00
David Capello
8b0977cdc3
Optimize doc::algorithm::shrink_bounds() a little
2016-05-05 15:26:19 -03:00
David Capello
2dbb50cc23
Fix exception text in doc::crop_image()
2016-05-05 15:18:50 -03:00