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 9772f99303b5b6ab7cd0561c68bbe9de402ae814
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
David Capello
361973d880
Merge pull request #801 from green-big-frog/patch-1
...
Fix typo in INSTALL.md
2015-09-05 18:20:07 -03:00
Jonathan
a47b9f206f
Fix typo in INSTALL.md
2015-09-05 20:28:34 +02:00
David Capello
6bfae49eb0
Merge branch 'webp-support'
2015-09-02 11:11:45 -03:00
Gabriel Rauter
c2a58dd46f
fix type conversion warn. & remove problem preset
...
fix type conversions by putting WebPOptions Class in a seperate file like
GifOptions and use Getter and Setter for better handling. In cases
needed explicit casting was used to supress those warings.
Additionaly the LAST WebPHint Option was removed as it does not work for
this situation.
2015-09-02 14:52:07 +02:00
Gabriel Rauter
7a3aa6d0c4
replace auto keyword with corresponding types
2015-09-02 13:34:40 +02:00
Gabriel Rauter
5f3dfd125c
use functions for int status code error message conversion instead of maps
2015-09-02 04:10:53 +02:00
Gabriel Rauter
76f0f82b95
use base::convert_to for string to in conversion instead of own funtions
2015-09-02 03:55:26 +02:00
Gabriel Rauter
c9d9af7c6f
use std::vector as buffer for input file
2015-09-02 03:51:35 +02:00
Gabriel Rauter
085ffcdcb2
use auto-generated widget for webp options dialog and save options
2015-09-02 01:26:34 +02:00