5031 Commits

Author SHA1 Message Date
David Capello
e0b2893661 Make visible/editable when we click in a disable child 2016-06-15 12:36:49 -03:00
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
a9cea5ab42 Update mouse cursor immediately after we change it to native mouse cursor 2016-06-14 09:36:50 -03:00
David Capello
b17a09344d Merge branch 'apply-button' 2016-06-14 09:28:37 -03:00
David Capello
e353cdae4c Merge branch 'applyButton' of https://github.com/TheKK/aseprite into apply-button 2016-06-14 09:23:26 -03:00
David Capello
f81cd5a676 Fix typo in CMakeLists.txt 2016-06-14 09:02:19 -03:00
David Capello
a50a03a182 Merge pull request #1158 from winterheart/static
Force to build internal libraries as STATIC object
2016-06-14 09:00:48 -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
Azamat H. Hackimov
cc77d634c2 Force to build internal libraries as STATIC object
Preventing to some compilation errors where
BUILD_SHARED_LIBS incorrectly enabled (#698).
2016-06-14 00:56:53 +05: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
893f757eea Don't ignore Space bar on sprite editor when Timeline range is enabled (fix #877) 2016-06-13 11:55:16 -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
e21b142305 Merge branch 'master' into beta 2016-06-08 13:31:51 -03:00
David Capello
165d3af112 Ask to save each file when we're quitting 2016-06-08 13:29:17 -03:00