Commit Graph

3611 Commits

Author SHA1 Message Date
David Capello
07f42d620d Change cut/clear behavior to remove palette entries 2015-06-18 16:20:42 -03:00
David Capello
f19e1dc477 Add ability to drop colors outside the palette range
Like in the timeline, now we can drop colors out of the palette bounds
to create more entries.
2015-06-18 15:50:00 -03:00
David Capello
a0de785843 Change timeline_drop_layer/frame_deco style 2015-06-18 15:39:26 -03:00
David Capello
89e0392daa Add support for palettes with more less (and more) than 256 colors (fix #668)
With this commit we've removed doc::Palette::MaxColors constant.
2015-06-18 12:50:33 -03:00
David Capello
312e3f9da0 Remove unused doc::Palette::make*Ramp() member functions 2015-06-17 17:02:43 -03:00
David Capello
1c84471e24 Add minor comments in tabs.cpp 2015-06-17 16:44:28 -03:00
David Capello
53bd21fc19 Fix animation for the first tab added in a recently created Tabs widget 2015-06-17 16:44:00 -03:00
David Capello
90f988d928 Add option to ignore grid limits in paint bucket or magic wand tools (fix 564) 2015-06-17 13:22:46 -03:00
David Capello
3c60136631 Move PI constant to base/pi.h file 2015-06-16 15:04:00 -03:00
David Capello
a11f8e2918 Update contributors link in README.md 2015-06-15 13:05:19 -03:00
David Capello
29c5580c9e Fix minor UI problem in tabs transitions/animations when we close a tab 2015-06-15 12:15:23 -03:00
David Capello
1af22f1ab7 Remember last frame/layer visited for each document (fix #486) 2015-06-15 11:29:12 -03:00
David Capello
09bfa3e61b Disable timeline range when we select other document 2015-06-15 11:16:57 -03:00
David Capello
dedb470699 Copy layer blend mode and opacity when we duplicate it 2015-06-14 22:59:23 -03:00
David Capello
9097dc75f5 Merge branch 'master' 2015-06-14 22:26:06 -03:00
David Capello
50a36aa826 Add support for layer opacity in .ase format (related to #225) 2015-06-14 21:24:47 -03:00
David Capello
6f07694001 Merge pull request #699 from Nsheppard01/patch-1
Add solarized.gpl palette
2015-06-14 20:28:29 -03:00
David Capello
fb4b2e76c8 Add layer opacity property (fix #225) 2015-06-14 20:23:49 -03:00
David Capello
415995183d Refresh editors when blend mode is changed in LayerProperties combobox 2015-06-14 19:07:06 -03:00
Nsheppard01
1fd682f6d1 Create solarized.gpl
The Solarized Palette
2015-06-14 14:50:43 -07:00
David Capello
21ca87862c Add layer blending modes (fix #318)
- Added doc::BlendMode enum and doc::BlendFunc type
- Renamed LayerImage::getBlendMode() -> blendMode()
- BLEND_MODE_COPY is BlendMode::SRC now
- BLEND_MODE_NORMAL is BlendMode::NORMAL now
- Added app::cmd::SetLayerBlendMode
2015-06-13 21:29:16 -03:00
David Capello
8da36f990b Fix libraries order to avoid linking error in updater library 2015-06-12 18:43:10 -03:00
David Capello
9a6ac48bfa Fix circular dependencies between image_impl.h <-> image_iterator.h
This problem was introduced in d732f5b05f

Now image_iterator.h and image_bits.h use forward declarations. And if
someone want to use the Image implementation, ImageBits, LockImageBits,
ImageIterators, or some function inside primitive_fast.h, they just have
to include image_impl.h file.
2015-06-12 13:56:18 -03:00
David Capello
0d09ca6f20 Add net-lib to aseprite libraries (fix #696)
Net library must be included in link process whatever ENABLE_UPDATER value
is, because we load RSS news with net-lib anyway.
2015-06-12 11:27:47 -03:00
David Capello
dfa5e561da Change net library license to MIT 2015-06-12 11:17:26 -03:00
David Capello
f13dc4f305 Fix some problems drawing the new MaskBoundaries to show the brush preview 2015-06-11 19:18:49 -03:00
David Capello
0a17a82fe0 Avoid two ImageIterators in MaskBoundaries ctor when we compile in release mode 2015-06-11 19:00:24 -03:00
David Capello
d732f5b05f Use get_pixel_address_fast() in ImageIterator 2015-06-11 18:59:51 -03:00
David Capello
2b104260f5 Add optional compiler flag to see the boundaries generation performance 2015-06-11 17:54:33 -03:00
David Capello
826aafe2a4 Replace GIMP code to generate mask and brush boundaries 2015-06-11 17:44:27 -03:00
David Capello
b0876843a9 Add some extra fixes after a document is recovered
There are two issues we can fix:
1. Add more frames if the restored sprite doesn't contain a correct
   "total frames" count (i.e. there is a cel with a frame number > last
   frame)
2. Add missing cels in background layer. (Aseprite expects a Background
   layer with all cels != null).
2015-06-10 20:27:20 -03:00
David Capello
823ccb6b0c Flush all data before we save the MAGIC_NUMBER for each file in the backup process 2015-06-10 20:02:44 -03:00
David Capello
edb4971b4c Don't show an error if we weren't able to restore one specific object version in data recovery process 2015-06-10 18:57:42 -03:00
David Capello
5308303d8a Don't call FrameTag::setId() we are restoring them from data recovery 2015-06-10 18:22:07 -03:00
David Capello
5644d8fe18 Fix typo in doc/object.cpp 2015-06-10 17:57:57 -03:00
David Capello
e0781eb461 Include AniDir field for FrameTag undo and data recovery information 2015-06-10 17:57:50 -03:00
David Capello
0653f99dfe Include frame tags in the data recovery process 2015-06-10 17:52:29 -03:00
David Capello
5a97f4b129 Adjust StatusBar's opacity slider min size depending on window resizes 2015-06-10 17:17:27 -03:00
David Capello
33b42d195b Avoid exporting one single backslash in JSON data strings 2015-06-10 17:11:48 -03:00
David Capello
5e46ed6571 Avoid exporting a file path in JSON data by default when a file without frames or layers is specified 2015-06-10 16:59:41 -03:00
David Capello
8eefdf174e Fix problem mapping "Ctrl++ Pad" key 2015-06-10 16:44:46 -03:00
David Capello
4733a0151d Use tests/test.h for tests linked with she library (fix #698) 2015-06-10 09:37:15 -03:00
David Capello
4d055a7170 Rename gfx::Rect::createIntersect -> createIntersection 2015-06-09 16:22:47 -03:00
David Capello
394c431d61 Replace JGrid to Grid in grid_ui_tests 2015-06-09 14:19:54 -03:00
David Capello
f310a51dfb Merge branch 'ci' 2015-06-09 13:30:37 -03:00
David Capello
a11e6aff76 Fix for "multiple definition" link error with clang on Linux and shared Allegro lib 2015-06-09 12:47:27 -03:00
David Capello
47a05434fe Remove some remaining parts of USE_SHARED_GTEST option 2015-06-09 10:54:04 -03:00
David Capello
be0f0892e2 Remove special flags to compile loadpng
These flags are defined in the main CMakeLists.txt file if they are needed.
2015-06-09 10:47:14 -03:00
David Capello
86fe6a316b Don't create she::System on file_tests and gif_tests 2015-06-09 10:40:39 -03:00
David Capello
a2b3822730 Avoid unused variable warning in gif_format.cpp when we compile with giflib4 2015-06-09 10:37:19 -03:00