David Capello
55f60be79a
Fix crash creating a custom brush without "Type" option and restarting
2016-02-23 18:06:19 -03:00
David Capello
12ec08f97f
Update copyright year
2016-02-23 16:10:54 -03:00
Fabio Arnold
d190b88854
OS X: fix clang compile error over non-existent simpleini lib
2016-02-21 01:03:10 +01:00
David Capello
67878a21cb
Save brush with images correctly when "Save Brush" button is used
v1.1.2
2016-02-18 14:43:40 -03:00
David Capello
9521ed3079
Merge branch 'master'
2016-02-18 14:15:04 -03:00
David Capello
15e10ad9f6
Add touch magnify event to support OS X trackpad gesture
2016-02-18 13:58:45 -03:00
David Capello
ef4a4822da
Call onEnterState() from base class in SelectBoxState and StandbyState
2016-02-18 11:40:11 -03:00
David Capello
67afc5f621
Remove unused variable in FileList::onPaint()
2016-02-18 10:58:58 -03:00
David Capello
237a46588c
Fix if-condition inside load_xml_image()
2016-02-18 10:58:22 -03:00
David Capello
802b8a0a10
Fix performance problem when we change color sliders with mouse movement
2016-02-17 18:32:34 -03:00
David Capello
64deb6ed87
Remove mongoose code
...
The webserver isn't functional yet, and mongoose license is GPL now.
2016-02-16 18:52:15 -03:00
David Capello
d7d57667fc
Add new licensing options
2016-02-16 18:32:50 -03:00
David Capello
7750982af6
Support loading interlaced PNG files in png decoder (PngFormat::onLoad())
2016-02-16 18:18:29 -03:00
David Capello
fd71ceb4c9
Fix shading ink for sprites with more than 256 colors
...
When the shading ink is used on RGBA sprites, we can have color palettes
with more than 256 colors. In this way the shade will contain entries
with indexes >= 256.
2016-02-16 17:11:30 -03:00
David Capello
24e329ffeb
Show ink selector even when a custom brush is selected
...
Related to #945 , anyway it needs more work so we can mix the custom
brush as a color source for the current ink.
2016-02-15 20:40:37 -03:00
David Capello
8ca5b0c2f7
Shade ink should use the full palette when we select just one color ( fix #947 )
2016-02-15 17:30:01 -03:00
David Capello
dbb8a17d47
Fix bug restoring frame duration after undoing a "remove frame" ( fix #965 )
2016-02-15 17:13:23 -03:00
David Capello
e2e5fbf3f1
Fix crash when ContextBar::InkShadesField is clicked and it's empty
2016-02-15 17:07:34 -03:00
David Capello
5d4a568804
Fix a typo in Tiled Mode menu
2016-02-15 16:31:32 -03:00
David Capello
1588e834c3
Fix artifacts when scrolling on widgets with sub-children ( fix #963 )
...
This bug was introduced in b0650f6afea1b860a8593fd4614ca272f8edbfac
To fix this issue we've to remove kPaintMessages from the message queue
for widgets that were moved. Those pending paint messages aren't valid
anymore because the widget was invalidated again.
2016-02-15 15:54:54 -03:00
David Capello
c49ec61fa0
Minor refactor: rename DocumentView::getEditor/Document() -> editor/document()
2016-02-13 01:33:43 -03:00
David Capello
3400cdba8b
Hide software cursor when mouse leaves window on Linux ( fix #948 )
...
Now we generate MouseEvent/Leave she events when Allegro4 _mouse_on
changes from 1 to 0 or vice-versa on Linux.
2016-02-12 18:59:11 -03:00
David Capello
7b8b2dae53
Remove mouse speed modifications from Allegro4/X11 port
...
This might be related to #957
2016-02-12 18:56:15 -03:00
David Capello
e2a72352c5
Fix minor cast int <-> double issues in src/app/color.cpp
2016-02-12 18:53:59 -03:00
David Capello
0da82a80d0
Fix condition in load_xml_image() function in AppBrushes
2016-02-12 15:08:12 -03:00
David Capello
e46cebe5a0
Fix Skia/OS X compilation errors in skia_window_osx.mm
2016-02-12 14:41:54 -03:00
David Capello
ade23a4151
Fix color tests
2016-02-12 14:41:25 -03:00
David Capello
4a76d8150c
Include needed <cmath> for clang
2016-02-12 14:03:27 -03:00
David Capello
3f47c23cd8
Add more precision to HSV <-> RGB conversion ( fix #961 )
...
This patch fixes problems using the eyedropper tool in HSB mode. If we
use "int" precision for HSB values, the resulting RGB color could be
different from the original one.
2016-02-12 13:01:32 -03:00
David Capello
19f8aad2ef
Merge branch 'fix-keys'
2016-02-12 12:24:19 -03:00
David Capello
882a67fb6a
Fix key modifiers when we draw on Skia/Win ( fix #954 )
2016-02-12 12:23:34 -03:00
David Capello
228c96b943
Add key modifiers in Skia/Win port to avoid calling she::is_key_pressed()
...
Related to #954
2016-02-12 12:21:53 -03:00
David Capello
ff0c2c2770
Merge branch 'ryb-color-wheel'
2016-02-12 10:50:57 -03:00
David Capello
c1ae065c2c
Add RYB color wheel (related to #707 )
2016-02-12 10:49:33 -03:00
David Capello
1f319cd2d1
Don't change MiniPlayButton state in preview window when we scroll it ( fix #958 )
2016-02-11 21:39:22 -03:00
David Capello
7b8d9102e1
Add independent scroll/zoom values in preview window per document ( fix #959 )
2016-02-11 21:09:31 -03:00
David Capello
ad9b7ce645
Remove unused variable from MovingSymmetryState
2016-02-11 12:21:37 -03:00
David Capello
1deb9ae02b
Fix the amount of space displaced by some shift+arrow keys ( fix #940 )
2016-02-11 11:40:51 -03:00
David Capello
127a5e76df
Enable/disable GPU support on Skia backend if the skia_skgpu lib is available
2016-02-10 00:49:20 -03:00
David Capello
fc58daa814
Add support for ANGLE (D3D) on Skia port
...
Anyway we've disable the GPU support temporally (related to #960 )
2016-02-09 23:12:59 -03:00
David Capello
d244af8fc1
Remove invalid ASSERT in AppBrushes::save()
2016-02-07 15:02:16 -03:00
David Capello
e843e7a9ba
Do not overlap the menubar with a menubox
2016-02-07 14:41:43 -03:00
David Capello
36b4b65642
Update timeline cel skin parts by Ilija Melentijevic
2016-02-07 14:39:25 -03:00
David Capello
f530664657
New updates to the skin by Ilija Melentijevic
...
Updated graphics:
* the eyedropper, rotation, scaling, and zoom mouse cursors
* hand and zoom tool icons
* timeline icons (eye, padlock, gear/hammer icon, onionskin icon,
linked cels icon)
2016-02-05 18:29:57 -03:00
David Capello
61927478ff
Update copyright year in VERSIONINFO
2016-02-05 17:31:27 -03:00
David Capello
07a3ceded8
Fix website URL in VERSIONINFO comments
2016-02-05 17:31:18 -03:00
David Capello
4f1431ba2e
Add the correct window icon in the Skia/Win port
2016-02-05 17:30:10 -03:00
David Capello
5fff73aded
Avoid crash when we start the Skia window on WinXP
...
On Windows XP, after creating the HWND, when we add the scrollbars with
SetScrollInfo() in WinWindow<T>::createHwnd(), it generates a WM_SIZE,
which is calling resizeImpl(). And as SkiaWindow expects an already
created SkiaDisplay on SkiaWindow::resizeImpl(), the program crashes.
2016-02-05 17:10:01 -03:00
David Capello
87e5be45a9
Avoid deleting two times the direct SkSurface
2016-02-05 16:34:02 -03:00
David Capello
a77ae98fd0
Add keyboard shortcuts to change the color selector type (spectrum/color wheel)
2016-02-05 14:41:35 -03:00