David Capello
b4c63a82e1
Add doc::have_layers_same_parent()
2016-08-11 14:55:18 -03:00
David Capello
e5ef4be54a
Add allLayersCount() to LayerGroup and Sprite
...
This will give us the total number of layers + children.
2016-08-11 14:53:51 -03:00
David Capello
ae91c3d15b
Add doc::find_layer_index()
...
It'll be useful to known the index of a layer inside a list (e.g. a list
of all layers, or a list of all browsable layers, etc.).
2016-08-11 14:30:44 -03:00
David Capello
9fd340751f
Add doc::displace_selected_layers() function
...
This function would be useful for the Timeline to displace the set of
selected layers range when the user drag-and-drop it.
2016-08-11 14:24:23 -03:00
David Capello
866385fe4b
Add new layer_t type as a replacement for the old LayerIndex
2016-08-11 14:22:45 -03:00
David Capello
63a7a477ff
Fix SelectedFrames::insert() when from > to
2016-08-11 14:11:48 -03:00
David Capello
5950bd7df1
Add SelectedFrames::clear()
2016-08-11 13:45:50 -03:00
David Capello
dc1bc964ce
Change memset/memcpy with std::fill/copy in ImageImpl
2016-08-03 16:58:58 -03:00
David Capello
01e8e99fcb
Add tests for Image::fillRect
2016-08-03 16:32:06 -03:00
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