Commit Graph

4252 Commits

Author SHA1 Message Date
David Capello
a5bdf461f4 Use RAII helper to avoid calling WebPPictureFree for each return in WebPFormat::onSave() 2015-09-29 12:06:33 -03:00
David Capello
92c2596604 Remove filename from specific webp_format.cpp error messages
The filename is shown by the general encoder/decoder code.
2015-09-29 12:00:31 -03:00
David Capello
c30112ea10 Convert FileOp into a class 2015-09-29 11:27:00 -03:00
David Capello
ee0aae0e3c Replace SEQUENCE_IMAGE() macro with add_image() lambda in fop_operate() 2015-09-28 18:49:34 -03:00
David Capello
79cd0b258f Fix continuous change of Timeline scroll in playback when viewport is too small 2015-09-28 12:34:29 -03:00
David Capello
6550093f1f Minor change in Timeline::showCel() 2015-09-28 12:09:34 -03:00
David Capello
423bf990f9 Fix --border-padding option (fix #815) 2015-09-28 11:46:57 -03:00
David Capello
7fb7492c08 Minor fix in README.md 2015-09-25 10:21:59 -03:00
David Capello
c357396994 Add color names to arne16.gpl 2015-09-25 10:16:37 -03:00
David Capello
17002b6b02 Add color palette authors in the "Credits" section 2015-09-25 10:15:36 -03:00
David Capello
4ebefd3f13 Fix problem getting pixels in non-32bpp Allegro BITMAPs
Regression introduced in 5e3ba8237a
This changed was needed to load certain .png fonts correctly in the
SkinTheme.
2015-09-25 08:32:50 -03:00
David Capello
d5fea43972 Set as mask color the bg index specified in the GIF file 2015-09-24 23:51:58 -03:00
David Capello
732f527eb1 Remove invalid checks to avoid recalculating the new palette for each frame in GifDecoder 2015-09-24 23:51:31 -03:00
David Capello
dd87c2ef17 Add minor check (bg index != local mask) to avoid checking the whole image 2015-09-24 23:50:44 -03:00
David Capello
43881af1f2 Add comments and DLOG() calls in gif_format.cpp 2015-09-24 23:49:01 -03:00
David Capello
5a339f7f55 Put the local colormap entry in the palette if we need to remap m_bgIndex 2015-09-24 23:47:33 -03:00
David Capello
8db6693136 Add colormap2rgba() helper function in gif_format.cpp 2015-09-24 23:45:10 -03:00
David Capello
e47fa9f045 We don't need to give a RgbMap to convert from RGB -> Indexed 2015-09-24 23:42:51 -03:00
David Capello
3c219571b1 Don't change mask-index entry if it's out of the bound in PaletteOptimizer::calculate() 2015-09-24 23:39:36 -03:00
David Capello
1bb0bca361 doc and gfx libraries depends on fixmath (fix #817) 2015-09-24 10:02:52 -03:00
David Capello
0e07a01a9b Add a color picker in the Insert Text dialog 2015-09-23 17:45:07 -03:00
David Capello
1ac39ff85b Add simple "Edit > Insert Text" menu option (related to #28) 2015-09-23 17:38:45 -03:00
David Capello
fc8f12f11c Fix freetype2 library compilation with Ninja makefiles 2015-09-22 19:29:27 -03:00
David Capello
ce96a77aae Add required flags to link the application with freetype2 library 2015-09-22 19:27:44 -03:00
David Capello
9b43aa11b3 Add freetype2 submodule 2015-09-22 19:27:04 -03:00
David Capello
4939a716a3 Remove freetype code 2015-09-22 19:24:36 -03:00
David Capello
e15b9aca21 Remove some #includes directives 2015-09-22 17:32:42 -03:00
David Capello
d55017cd17 Use advanced_mode.xml.h in cmd_advanced_mode.cpp 2015-09-22 17:27:47 -03:00
David Capello
52d091810b Use the generated goto_frame.xml.h file in cmd_goto_frame.cpp 2015-09-22 17:25:48 -03:00
David Capello
63aac49f81 Fix #include in webp_format.cpp with new generated files for widgets 2015-09-22 17:08:07 -03:00
David Capello
4a94799d47 Use generated "sprite_size.xml.h" file in "cmd_sprite_size.cpp" 2015-09-22 17:01:36 -03:00
David Capello
e7e9f1d482 Change name of generated files from "generated_file.h" to "file.xml.h" 2015-09-22 16:33:49 -03:00
David Capello
a06e01ff7e Rename ui::Entry::EntryChange to ui::Entry::Change 2015-09-22 16:22:47 -03:00
David Capello
3dfd6de4f0 Fix saving/loading .gif files w/completely opaque images but with local transparent index
There are .gif files that specified a local transparent index
but the frame pixels don't use that index (i.e. the frame is completely
opaque anyway). The same happens when we use a transparent layer but the
transparent color is not used (i.e. the layer is completely opaque anyway).
With this patch we fix loading/saving correctly this kind of files/sprites.

Fix #800
2015-09-22 14:39:47 -03:00
David Capello
bab13c4739 Enable some debugging messages in gif decoder/encoder 2015-09-22 11:42:50 -03:00
David Capello
7007fc2d0c Update code of conduct to v1.2.0 2015-09-21 18:44:13 -03:00
David Capello
9d8f859438 Fix minor formatting issues introduced in #812 2015-09-21 17:49:12 -03:00
David Capello
6a0f4afab2 Merge pull request #812 from Fojar/issue#806
Flattening transparent layers shouldn't create a background layer (fix #806)
2015-09-21 17:45:23 -03:00
David Capello
795c4d5a87 Use ctest to run tests 2015-09-21 16:45:25 -03:00
David Capello
d70dc87253 Do not create a she::System to run UI tests 2015-09-21 16:44:55 -03:00
Aravin
3eb01db8e1 Flatten layers command no longer converts result to background when it shouldn't. (fix #806) 2015-09-21 13:19:39 -04:00
David Capello
47530bdbe6 Add color_slider_height dimension in skin.xml 2015-09-21 11:53:39 -03:00
David Capello
5e3ba8237a Fix from_allegro() auxiliary function to get correct alpha values 2015-09-18 18:17:33 -03:00
David Capello
629bea41a8 Fix scroll in Preview window (fix #811)
Regression bug introduced in 9772f99303
2015-09-18 16:35:29 -03:00
David Capello
09e18ddf2b Fix loading of non-default themes with missing parts 2015-09-18 13:05:52 -03:00
David Capello
fedbe66980 Remove alert dialog used for debugging purposes only 2015-09-18 12:43:02 -03:00
David Capello
c37c790b47 Add "Open Folder" button in Preferences > Theme section 2015-09-18 12:39:46 -03:00
David Capello
83fe139600 Fix base::open_folder() in case paths are specified with non-standard slashes 2015-09-18 12:39:23 -03:00
David Capello
df629db6c6 Add "Theme" section in Preferences 2015-09-18 12:23:02 -03:00
David Capello
3abea9c4b3 Use Preferences class to store the active theme 2015-09-18 11:56:45 -03:00