Commit Graph

4470 Commits

Author SHA1 Message Date
David Capello
27b55030e2 Fix bug pressing warning icon to add palette color when active locale is non-English
It looks like Allegro library was changing the locale to the active
one, and it can break things like strtod() (which is used to convert
colors from string format in AddColor command). In this case, if we added
a HSV color with double floating-point precision, it was added incorrectly
because strtod() wasn't taking the decimal part.
2016-03-28 15:30:00 -03:00
David Capello
f2ba51f1be Fix double-click in Allegro back-end when she_mouse_callback() is used 2016-03-28 10:36:06 -03:00
David Capello
b62c1e195f Merge branch 'HunterNN-master' 2016-03-26 10:57:19 -03:00
David Capello
799803d582 Add DrawingState::destroyLoopIfCanceled() to avoid duplicated code 2016-03-26 10:56:20 -03:00
David Capello
fde573d8db Merge branch 'master' of https://github.com/HunterNN/aseprite into HunterNN-master 2016-03-26 10:49:36 -03:00
David Capello
85418c1530 Fix invalid LIBJPEG_DIR reference introduced in 3e9de78fa2 2016-03-26 10:39:26 -03:00
David Capello
cf6be7349b Revert 6a63dc5aad as app already depends on net-lib 2016-03-26 10:17:12 -03:00
David Capello
3b7674a6c7 Merge pull request #1035 from winterheart/cmake
CMake improvements
2016-03-26 09:21:10 -03:00
Azamat H. Hackimov
1a682f82eb Replaced LIBCURL_* to CURL_* in CMakeList
According to find_package() variables.
2016-03-26 16:01:45 +05:00
Azamat H. Hackimov
6a63dc5aad Adding ${CURL_LIBRARIES} to application linking
Fixing compilation underlinking with system curl.
2016-03-26 15:22:57 +05:00
Azamat H. Hackimov
3e9de78fa2 Using FOO_LIBRARIES and FOO_HEADERS from system cmake.
Fixes issue #864 (FREETYPE_INCLUDE_DIRS has not been added to search path)
2016-03-26 15:17:12 +05:00
Azamat H. Hackimov
75f908b45e Use find_package(FOO REQUIRED)
Using more cmake-way finding packages for shared system libraries
where it is possible.
2016-03-26 14:26:22 +05:00
Hunter99
edb2f971e5 Added cancel drawing loop on key release (fix #1002) 2016-03-25 14:32:36 +01:00
David Capello
7934c975ca Fix bug painting selection edges when zoom < 100% (fix #905) 2016-03-24 18:24:32 -03:00
David Capello
f696d895b4 Do not remap indexes between palette entries that are equal (fix #914) 2016-03-24 17:37:04 -03:00
David Capello
b4ce12beb4 Simplify hidden brush preview style 2016-03-24 14:51:57 -03:00
David Capello
300fceec3f Merge pull request #1022 from Nsheppard01/1.0
Adding X11 and websafe color palettes
2016-03-24 14:46:56 -03:00
David Capello
8b161dac0a Add ShowBrushPreview command so the user can hide the brush preview with a keyboard shortcut (fix #792) 2016-03-24 14:45:28 -03:00
Nathaniel Sheppard
c3f32e6da2 Rename WebSafeColors.gpl to web-safe-colors.gpl 2016-03-24 10:34:05 -07:00
David Capello
9face9458e Add an option to change the "brush preview" style (related to #792) 2016-03-24 14:29:15 -03:00
David Capello
2af47fe907 Add option to toggle the selection edges visibility (fix #861) 2016-03-24 13:04:35 -03:00
David Capello
d4faf04946 Add a rgba_blender_normal() version without opacity
This can be used to speed up text rendering and rotation algorithm.
2016-03-22 18:40:47 -03:00
David Capello
ce02a31c01 Improve image_scale_tpl() performance using an iterator for source image 2016-03-22 18:23:03 -03:00
David Capello
14262c270c Fix crash on image_scale_tpl() and rotsprite_image() 2016-03-22 17:05:45 -03:00
David Capello
66e3cacbd0 Add RotSprite as a resize algorithm on Sprite > Resize Sprite menu 2016-03-22 17:02:41 -03:00
David Capello
7841ec82f3 Flip mask when the whole canvas is flipped (fix #561) 2016-03-21 14:51:43 -03:00
Nathaniel Sheppard
bfe29544ff Adding X11 and websafe color palettes 2016-03-20 16:32:25 -07:00
David Capello
472efc46d9 Merge branch 'Nsheppard01-master' 2016-03-19 12:44:01 -03:00
David Capello
7e7590aa1b Merge branch 'master' of https://github.com/Nsheppard01/aseprite into Nsheppard01-master
# Conflicts:
#	data/palettes/arne16.gpl
#	data/palettes/solarized.gpl
2016-03-19 12:30:58 -03:00
David Capello
f51de0bd73 Merge pull request #1000 from sirblackheart/native-gtk3-file-dialog
Experimental native gtk3 file dialog
2016-03-19 12:24:43 -03:00
David Capello
468ca52bf8 Merge branch 'select-tile' 2016-03-19 12:09:42 -03:00
David Capello
417e431a32 Add different selection modes to SelectTile command
Now we can add a tile using Shift+double click or substract one with
Shift+Alt+double click.
2016-03-19 12:09:03 -03:00
David Capello
e62f80842c Avoid enter to tool loop after we select the tile 2016-03-19 12:04:39 -03:00
David Capello
30f4e995a3 Select a tile by double clicking over it (fix #939) 2016-03-19 11:33:05 -03:00
David Capello
497cfa61a4 Implement app::IColorSource in color selectors 2016-03-18 23:35:23 -03:00
David Capello
07b67a66f7 Add app::IColorSource interface to get pixels from widgets from mouse pos
This is consumed by ColorButton which can be dragged to use a eyedropper
in different widgets.
2016-03-17 17:16:35 -03:00
David Capello
2d3ee0c802 Rotate foreground color hue by default with mouse wheel above ColorSelector 2016-03-17 16:42:50 -03:00
David Capello
99803c07ba Add mouse wheel behavior in color selector to rotate hue (fix #1012) 2016-03-17 16:40:34 -03:00
David Capello
449ae1d9e4 Add new app::ColorSelector to share behavior between ColorTintShadeTone/ColorSpectrum/ColorWheel 2016-03-17 16:37:31 -03:00
David Capello
1209037b02 Rename app::ColorSelector -> app::ColorPopup 2016-03-17 16:08:08 -03:00
David Capello
f626837cb5 New command to add foreground/background color in the palette 2016-03-17 10:47:50 -03:00
David Capello
fdde32b808 Don't use UI to warn about sequences when --batch and --save-as are used
Fix #1018 introduced in 978145ba7a
2016-03-17 10:31:33 -03:00
Gabriel Rauter
90b1c243b0 Revert make use of aseprite thumbnail-generator"
Revert to basic native behavior.

This reverts commit b64ba236d3.
2016-03-15 14:32:05 +01:00
Nathaniel Sheppard
28a0c42503 Update solarized.gpl 2016-03-13 16:15:33 -07:00
Nathaniel Sheppard
899eee317b Added text editor color themes as palettes
Monokai and Solarized are two popular color schemes for text editors. They might be useful to UI developers using Aseprite.
2016-03-13 16:10:47 -07:00
Nathaniel Sheppard
c5bf298739 Added files via upload
Found this on my hard drive
2016-03-13 16:05:13 -07:00
Nathaniel Sheppard
cc9213cc62 Added more of Arne's pallets.
Pallets by Arne Niklas Jansson
http://androidarts.com/palette/16pal.htm
2016-03-13 16:02:33 -07:00
Nathaniel Sheppard
86be01f271 Update arne32.gpl
Added full URL
2016-03-13 15:40:56 -07:00
Nathaniel Sheppard
38b8c191a5 Update arne16.gpl
Added Arne's color names and full URL
2016-03-13 15:39:03 -07:00
Gabriel Rauter
b64ba236d3 she/gtk: make use of aseprite thumbnail-generator
use the aseprite thumbnail generator for file preview
2016-03-07 18:59:15 +01:00