4686 Commits

Author SHA1 Message Date
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
Gabriel Rauter
34c1af0a1b New cmdl parameters --range and --shrink-to
--frame-range <from:to> lets the user define a range from frame to frame
instead of a frame tag. example --frame-range "0:1" exports 2 frame. frame 0
and frame 1.

--shrink-to <widthxheight> shrinks the sprite into the boundarys of
width and height keeping the original aspect ratio.
2016-03-23 22:32:21 +01: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
6d3c09d088 Use bearingX adjustment to render FreeType glyphs correctly 2016-03-17 11:11: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 978145ba7a5ad0b1f2909a6cfa0d1406126985cf
2016-03-17 10:31:33 -03:00
David Capello
8304b7511d Fix FreeType2 font rendering and font height calculation
We need to catch the glyph's bearingY value to render each glyph
correctly.
2016-03-15 18:43:36 -03:00
David Capello
e0135d6f57 Add fixes for gcc/clang in ft::FaceFT 2016-03-15 17:45:55 -03:00
David Capello
fb10cf1d36 Simplify code in generic_surface.h for gcc/clang 2016-03-15 16:34:41 -03:00
David Capello
9784c0d455 Minor change to fix gcc/clang compilation errors 2016-03-15 16:33:11 -03:00
David Capello
2fd94ed884 Simplify ft::Face API
Changes:
* Added ft::FaceBase to create a future Face impl with HarfBuzz as text
  shaping engine
* Define ft::FaceBase::Glyph as the parameter given to the forEachGlyph
  parameter
* forEachGlyph and calcTextBounds
* Remove operator FT_Face (we can use FaceBase::isValid() to know if the
  face isn't null)
2016-03-15 15:15:37 -03:00
David Capello
6f0819fa30 Fix crash in GenericDrawTextSurface::drawChar() when a TTF is used with Unicode text 2016-03-15 15:10:56 -03:00
David Capello
cb4b4f8b4d Minor change don't use drawUIString() in FileList::onPaint() 2016-03-15 12:56:44 -03:00
Gabriel Rauter
90b1c243b0 Revert make use of aseprite thumbnail-generator"
Revert to basic native behavior.

This reverts commit b64ba236d3cef5e1d45e79d9093855713af4e9dc.
2016-03-15 14:32:05 +01:00
David Capello
8de92df6cc Minor fix to show text caret on ui::Entry when it's at the end 2016-03-14 16:52:44 -03:00
David Capello
779875e728 Remove unused pixman-version.h.cmake file 2016-03-14 15:49:31 -03:00
David Capello
eec2d64f57 Replace FreeTypeFont::height() impl 2016-03-14 12:40:28 -03:00
David Capello
69a1161f69 Fix Entry bugs handling the text caret
Added more checks and improve performance in Entry::setCaretPos()
2016-03-14 12:39:45 -03:00
David Capello
29f6db6f35 Widget::textLength() returns the number of (Unicode) characters in the text field 2016-03-14 12:38:11 -03:00
David Capello
fb6a1481f9 Select Unicode charmap 2016-03-14 12:09:59 -03:00
David Capello
dbf5d69219 Add a simple cache system for glyphs 2016-03-14 12:09:45 -03:00
David Capello
3b2ce80e37 Fix compilation error in generic_surface.h with gcc and clang 2016-03-14 12:06:50 -03:00
Nathaniel Sheppard
28a0c42503 Update solarized.gpl 2016-03-13 16:15:33 -07:00