David Capello
7550db81ba
Fix issue 446 crash calling replace color in a sprite with no layers
...
- Fix access to a NULL pointer in ReplaceColorFilterWrapper
- Fix typo in NoImageException
- Do not allow to remove all layers in RemoveLayerCommand
2014-08-11 06:54:14 -03:00
David Capello
91b0c2d071
Refactor: Remove "get" part for member functions that act like a simple getter
...
Additional change:
- Added Cel::image() to get the related image of the cel directly
2014-07-30 01:28:15 -03:00
David Capello
a20bb2d4d7
Change Timeline logic to work with LayerIndex instead of inverted UI indexes
...
This is a work-in-progress, dropRange() must be reimplemented. Now that
the Timeline uses LayerIndex, we could change Timeline::Range to
DocumentRange and create unit tests for the logic side.
2014-07-24 23:50:45 -03:00
David Capello
4d48e40484
Fix RemoveLayer command so it's disabled when we have no more layers to remove
2014-04-29 01:01:25 -03:00
David Capello
44d3e228fd
Add missing OVERRIDE modifier to Command::clone() overrides
...
It fixes some invalid clone() overrides without const modifier.
2014-03-29 17:08:40 -03:00
David Capello
0caf41c5fd
Fix compilation warning in cmd_remove_layer.cpp
2014-03-21 23:00:31 -03:00
David Capello
c4605ad513
Enable "remove layer" command to remove all layers
...
We can remove all layers anyway from timeline selecting a range of layers.
2014-03-16 19:26:03 -03:00
David Capello
400a2c1993
Timeline: Add support to delete several cels at once
2013-12-22 18:52:25 -03:00
David Capello
cb11fb3458
Add support to remove several layers & frames at once
2013-12-15 20:21:31 -03:00
David Capello
cde54f3682
Change BSD license to MIT in sublibraries and fix headers
2013-08-08 21:01:20 -03:00
David Capello
c88f9b172b
Refactor: Move app files to src/app subdirectory inside app namespace
...
- Add HAVE_CONFIG_H wrapper to #include "config.h"
- Removed widgets namespace (it's in app now)
- Move some functions from src/file/file.h to src/base/cfile.h
- Move Vector2d to base library
- Rename MenuItem2 to AppMenuItem
2013-08-05 21:20:19 -03:00