4816 Commits

Author SHA1 Message Date
David Capello
7a19167d61 Fix click behavior in PART_HEADER_EYE/PADLOCK in Timeline
We have to switch the visible/editable status only in the top level of
layers.
2016-06-15 12:29:10 -03:00
David Capello
b65bd4cd55 Timeline: Add support to show/unlock children in a hidden/locked group 2016-06-15 12:16:23 -03:00
David Capello
25da52b372 Add LayerInfo::parentVisible/Editable() 2016-06-15 12:08:19 -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
81c4043127 Fix crash in BrushPreview using the "extra" to patch a group layer 2016-06-14 19:57:07 -03:00
David Capello
5e89ab3148 Fix GotoNext/PreviousLayer for groups 2016-06-14 15:00:11 -03:00
David Capello
f20850194b Use Site::selectedFrames/Layers() in NewFrame to duplicate cels 2016-06-14 14:28:00 -03:00
David Capello
d0e4a62cab Use Site::selectedFrames() in RemoveFrame command 2016-06-14 14:17:52 -03:00
David Capello
530efae6b2 Update hot layer after expanding/collapsing a group
In this way we can click several times in the same position to
expand/collapse the folder without moving the mouse.
2016-06-14 14:11:30 -03:00
David Capello
dba780e28d Use Site::selectedFrames() in FrameProperties 2016-06-14 13:08:17 -03:00
David Capello
b925151c7a Fix LinkCels command for group layers 2016-06-14 13:06:30 -03:00
David Capello
a738f3ed32 Add some asserts in cmd::AddCel 2016-06-14 12:59:08 -03:00
David Capello
19b31ff31a Fix UnlinkCel command to support layer groups 2016-06-14 12:58:07 -03:00
David Capello
47eeb4f564 Fix CelsRange to iterate over layer groups 2016-06-14 12:57:13 -03:00
David Capello
3931341dee Fix ClearCelCommand for cels inside groups 2016-06-14 11:32:34 -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
52d088ef80 Fill SelectedFrames from Timeline in UIContext 2016-06-13 17:24:41 -03:00
David Capello
0713fb8db0 Add SelectedFrames into doc::Site 2016-06-13 16:48:32 -03:00
David Capello
9307c12174 Fix RemoveLayer when we remove groups/sublayers/etc 2016-06-13 14:53:02 -03:00
David Capello
e6097eabac Add selected layers into doc::Site 2016-06-13 14:50:43 -03:00
David Capello
5de8ac136e Paint sublayers name in Timeline with indentation 2016-06-13 12:26:21 -03:00
David Capello
f1a150420b Paint sublayers in Timeline 2016-06-13 11:01:45 -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
5deabfe365 New flag in .aseprite files 2016-06-09 14:31:30 -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
64c1ecf555 Add support to create layers inside groups 2016-06-08 15:55:44 -03:00
David Capello
f6fa39ba52 Merge NewGroup command into NewLayer command 2016-06-08 15:43:13 -03:00
David Capello
33d7f6509f Rename NewLayerGroup command -> NewGroup command 2016-06-08 15:20:11 -03:00
David Capello
44f44c3126 Paint groups with a folder icon in the Timeline 2016-06-08 15:15:37 -03:00
David Capello
389ea666e5 Fix crash trying to paint in a group layer 2016-06-08 15:01:02 -03:00
David Capello
2f91122c26 Rename layer folder/set -> layer group 2016-06-07 19:38:56 -03:00
David Capello
21afd4ecb5 Add new menu option to create a layer group 2016-06-07 19:06:36 -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
ff9d4cff26 Merge branch 'pixel-ratio' into beta (fix #567) 2016-06-06 17:50:39 -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
04f67a1697 Automatic split layers/tags if we use {layer} or {tag} in --save-as (fix #1149) 2016-06-06 16:28:49 -03:00
David Capello
617afaed78 Centralize default filename format computation
Use get_default_filename_format() to get the default filename format on
all cases.
2016-06-06 13:57:35 -03:00
David Capello
feadacbf61 Add --split-tags to save each tag as a different file 2016-06-02 13:22:08 -03:00
David Capello
b4588d34f4 Merge 'master' branch 2016-06-02 13:05:53 -03:00