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
David Capello
2679a7cb25
Update flic library
2015-09-17 17:32:06 -03:00
David Capello
eae6f7b5c1
Remove unused variables in ColorWheel::pickColor()
2015-09-17 17:31:58 -03:00
David Capello
3705d1bdb9
Fix initialization order of PaintInk members
2015-09-17 17:31:45 -03:00
David Capello
9e561148fc
Minor changes in Timeline::showCel()
...
Removed some local variables.
2015-09-17 16:40:49 -03:00
David Capello
581fbb6632
Fix some scrolling issues in Timeline when clicking in a new cel
2015-09-17 16:39:55 -03:00
David Capello
43b3df52b9
Fix minor issues drawing transparent scrollbars in Timeline
2015-09-17 16:06:56 -03:00
David Capello
9772f99303
Add scroll bars to Timeline widget ( fix #732 )
...
Changes:
- Added ui::ScrollableViewDelegate so ui::ScrollBar can be child of
a non-ui::View widget.
- Added a generic ui::setup_scrollbars() utility to locate
horizontal/vertical scrollbars depending on the scrollable area and
the available viewport area.
- Replaced Timeline::m_scroll_x/y ints with m_hbar/m_vbar widgets.
- Added transparent scrollbar look & feel.
- Added a "hover" state to mini-scrollbars used in sprite editors.
2015-09-17 15:19:47 -03:00
David Capello
4ff5f79035
Merge branch 'master'
2015-09-17 10:37:21 -03:00
David Capello
1b79bd75b9
Avoid drawing straight lines with Shift key + Magic Wand tool
2015-09-16 12:24:25 -03:00
David Capello
8aefa24a5b
Add key modifier to draw straight lines from the last point ( fix #562 )
...
- Removed ToolLoop::screenToSprite(), now ToolLoopManager::Pointer has
sprite coordinates (instead of screen coordinates)
2015-09-16 12:19:10 -03:00
David Capello
dc6161a66a
Add mini_scrollbar_size dimension in skin.xml
2015-09-16 11:10:30 -03:00
David Capello
182a094f2b
Add some checks to Menu::closeAll() to avoid accessing null pointers
...
These are not reproducible situations, but we've received a crash
report that indicates that these pointers can be null if some
unknown scenario.
2015-09-16 10:52:02 -03:00
David Capello
c674c474f6
Fix strange scenarios/crashes using NewBrushCommand on multiple editors
...
We cannot use current_editor in SelectBoxDelegate implementations.
For example: NewBrushCommand cannot use the current_editor in
NewBrushCommand::onQuickboxEnd() because multiple editors can be in
SelectBoxState, and it looks like we can select the brush box in
a non-current editor if it's the first click to set that editor
as the current one.
2015-09-15 12:09:50 -03:00
David Capello
a2e33ffbca
Use iterators to improve Timeline drawing performance
...
With this change we avoid calling several times LayerImage::cel() to draw
each cel.
2015-09-15 10:57:43 -03:00
David Capello
a9c3f82c11
Use a binary search to find cels in LayerImage
2015-09-15 08:18:52 -03:00
David Capello
510a686020
Change CelList and LayerList from std::list to std::vector
...
This change gives us an huge performance improvement to paint the
Timeline widget.
2015-09-14 17:37:21 -03:00
David Capello
11c70ab522
Add required #include <list> in document_exporter.cpp
2015-09-14 17:07:28 -03:00
David Capello
ace74fe391
Copy dragged image correctly when the transparent color isn't mask ( fix #808 )
2015-09-14 13:03:01 -03:00
David Capello
77e16cecd0
Use a UniquePtr<> to store the new image in new_image_from_mask()
2015-09-14 12:54:00 -03:00
David Capello
ab53f3f4d7
Update text entries when Abs/Rel mode is changed in Palette Editor ( fix #809 )
2015-09-14 08:53:31 -03:00
David Capello
74e642d997
Add extra KeyContexts for each selection transformation
2015-09-11 20:04:02 -03:00
David Capello
adce0b9569
Fix invalid key[] access in _handle_key_press()
...
On Windows, if we pressed numpad dot key, all timers start working
incorrectly (e.g. animations couldn't be reproduced anymore.).
There was one report about this same issue on Mac OS X.
2015-09-11 15:12:21 -03:00
David Capello
83aa99a8e2
Fix crash using SpriteSizeCommand on batch mode
2015-09-10 16:44:33 -03:00
David Capello
3d700ab94c
New FLI/FLC encoder/decoder ( fix #7 )
2015-09-10 16:10:31 -03:00
David Capello
2a0f8ca536
Disable webp support by default (related to #799 )
...
There is a new WITH_WEBP_SUPPORT cmake option to enable webp support.
2015-09-07 14:45:31 -03:00