4162 Commits

Author SHA1 Message Date
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
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
David Capello
5fc932e862 Minor change in CLI preview messages 2016-06-02 10:39:16 -03:00
David Capello
fa044f8253 Fix double undo needed when --crop and --trim are used 2016-06-02 00:09:05 -03:00
David Capello
31871e89a4 Minor fix in --crop preview 2016-06-01 19:33:26 -03:00
David Capello
1144e392e0 Don't show split layer flag in afterOpenFile preview
This should be shown/used on save file.
2016-06-01 19:18:48 -03:00
David Capello
a1b44f3434 Support saving frame ranges in ase/fli/gif formats 2016-06-01 17:25:09 -03:00
David Capello
2a112f693a Minor refactor in FileOp's format options 2016-06-01 15:01:07 -03:00
David Capello
da856f432e Support frame ranges saving file sequences
Now we can use --frame-tag or --frame-range with --save-as option to
save sequence-like formats (e.g. png, pcx, bmp, one image files).
2016-06-01 14:49:24 -03:00
David Capello
fac2997099 Convert CliOpenFile::frameRange -> frameFrom/To
This change was done to avoid calling split_string() each time we want
to know the frame range. (As the frame range will be used in several
parts of the code.)
2016-05-31 16:55:41 -03:00
David Capello
19a43b27ab Minor changes/refactors 2016-05-31 16:53:30 -03:00
David Capello
e0d888d5d7 Show list of output files that will be generated
Added FileOp::getFilenameList() to get the list of files that will be
created when the save document operation is used. It's used to show the
list of files when --preview and --save-as parameters are used in the CLI.
2016-05-31 16:49:24 -03:00
David Capello
67bbb22410 Delete temporal tags created in the CLI processor
When a DocumentExporter is used to export a specific range of frames
from the CLI processor, a temporal frame tag is created, we've to delete
that tag when the DocumentExporter is destroyed.
2016-05-31 15:07:26 -03:00
David Capello
9a0035e2a7 Refactor CLI
We’ve moved the cli into its own directory (src/app/cli). Also, we’ve
added a new “--preview” parameter to know what will be done using the
given command line options.
2016-05-30 19:03:28 -03:00
David Capello
a4827a3727 Add possibility to change between tags while playing
From:
https://twitter.com/_theMatteBlack/status/735185628107804672
2016-05-27 13:45:12 -03:00
David Capello
34b8be3114 Fix status bar values when we move pixels 2016-05-27 13:22:25 -03:00
David Capello
af2c2838e0 Add new option to zoom sliding two fingers on OS X trackpad
It was requested here:
http://steamcommunity.com/app/431730/discussions/2/357286663677659387/
2016-05-27 13:15:13 -03:00
David Capello
a9cc61ee49 Merge pull request #1140 from Mailaender/patch-2
Fixed a serious compiler warning
2016-05-24 16:03:00 -03:00