Commit Graph

4426 Commits

Author SHA1 Message Date
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
David Capello a4159c0ddb Add educational license option 2016-03-07 11:46:46 -03:00
David Capello f391be6824 Cache name and path in RecentFileItem
This is to avoid calling base.:get_file_name/path()
on each onPaint/SizeHint()
2016-03-04 17:30:12 -03:00
David Capello 75203037e2 Merge branch 'master' 2016-03-04 15:44:04 -03:00
David Capello 962928a609 Add the possibility to assign a keyboard shortcut to color quantization (#999) 2016-03-04 15:41:32 -03:00
David Capello ac67cb9e49 Remove unused graphics from skin 2016-03-04 15:09:50 -03:00
David Capello 36eb38a5e7 Merge pull request #997 from Kirozen/patch-1
Add support for MinGW in base/fstream_path.h
2016-03-04 11:36:00 -03:00
Etienne Faisant c7968d4f2d Update fstream_path.h
Fix build on Windows with MinGW
2016-03-04 15:03:46 +01:00
David Capello 451bf02b82 Remove unused variable from replace_image_colors() 2016-03-03 23:41:46 -03:00
David Capello 1ee3efd91d doc/image_buffer.h needs uint8_t definition 2016-03-03 23:25:49 -03:00
David Capello 51f58fda5f base/24bits.h needs uint8_t definition 2016-03-03 22:43:10 -03:00
David Capello 0a5e108ce1 Include base/ints.h in median_filter.h because it's needed for uint8_t 2016-03-03 22:30:13 -03:00
David Capello 368f64d5dc Include base/ints.h from convolution_matrix_filter.h 2016-03-03 21:22:17 -03:00
David Capello 093c5e1e0e Fix base/buffer.h so we include base/ints.h to define uint8_t 2016-03-03 20:33:53 -03:00
David Capello 458fa98138 Merge branch 'without-have-config-h' 2016-03-03 19:30:32 -03:00
David Capello 03951fd347 Minor change in INSTALL.md to create a link to issue #913 2016-03-03 19:29:54 -03:00
David Capello d33b8f7064 Set default path (MODP_B64_DIR) to find modp_b64 from base library 2016-03-03 19:28:29 -03:00
David Capello 9784721a67 she/system.h needs gfx::Size 2016-03-03 19:27:43 -03:00
David Capello a14a81a2c0 Undefine ERROR macro in base/log.h if it's defined 2016-03-03 19:27:09 -03:00
David Capello 260f597cc4 Define PACKAGE/VERSION/UPDATE_URL if they are undefined 2016-03-03 19:26:46 -03:00
David Capello 285deb603e Define _CRT_SECURE_NO_WARNINGS on sub-libraries that need it 2016-03-03 19:22:52 -03:00
David Capello 7b06b74715 Include base/log.h on files that use LOG() macro 2016-03-03 19:21:53 -03:00
David Capello 8c9d9eb84c Replace NULL with nullptr on files that don't include base/base.h 2016-03-03 19:20:57 -03:00
David Capello 9a7ffab5a0 Move stdints to base/ints.h file 2016-03-03 19:20:00 -03:00
David Capello 5f97e66a8b Include base/base.h on files that use MIN/MID/MAX 2016-03-03 19:18:46 -03:00
David Capello 4f6a7a7742 Include base/debug.h on files that use ASSERT or TRACE 2016-03-03 19:17:07 -03:00
David Capello f9238cd77b Merge branch 'sirblackheart-add-win-key-modifier' 2016-03-02 12:34:06 -03:00
David Capello 645486f435 Add tooltip to "Super" key checkbox in shortcut dialog 2016-03-02 12:33:05 -03:00
David Capello cb86fb4c8f Rename ui::winKeyName to ui::kWinKeyName 2016-03-02 10:31:39 -03:00
David Capello 321eb36f52 Fix getting lwin/rwin key state on Windows 2016-03-02 10:07:45 -03:00
David Capello cd8dabb3d2 Merge branch 'add-win-key-modifier' of https://github.com/sirblackheart/aseprite into sirblackheart-add-win-key-modifier 2016-03-02 09:38:06 -03:00
David Capello cfb9487d7e Merge pull request #994 from sirblackheart/fix-#956-new-onionskin-config-icon
replace onion settings icon fixes #956
2016-03-02 08:53:31 -03:00
Gabriel Rauter b01a8626f1 replace onion settings icon fixes #956 2016-03-02 12:18:34 +01:00
Gabriel Rauter cb92b781eb Change Windows Modifier Name to Win for Windows and Super for Linux/BSD 2016-03-01 23:52:36 +01:00
Gabriel Rauter e22332144a Add Windows Key as possible Modifier in Keyboard Shortcuts on Windows and Linux as a step to fix #796 2016-03-01 20:14:32 +01:00
David Capello e887328624 Fix check to know if dl library was found 2016-03-01 14:52:41 -03:00
David Capello a22039cd16 Check dl library existence (fix #990)
As FreeBSD includes dl functions in libc, dl library doesn't exist.
(dlfcn.h header file must exist anyway.)
2016-03-01 09:16:19 -03:00
David Capello 1d7184dd37 Fix problem setting default screen scaling factor on non-Windows platforms 2016-02-29 22:21:59 -03:00
David Capello 78da4a40a1 Avoid warning on Graphics::drawUIString() 2016-02-29 22:21:21 -03:00
David Capello 91b8df9d4d Fix mouse lag on Linux (fix #957)
As now we can generate several mouse events in
one generateMessagesFromSheEvents(), thanks to
1588e834c3, we can process
all mouse events from Allegro 4.
2016-02-29 22:21:07 -03:00
David Capello 5798c896e2 Don't generate a kSetCursorMessage when the mouse is outside the window
Should finally fix #948
2016-02-29 22:18:36 -03:00
David Capello fb4fc576bc Fix clicks on X11 (fix #971) 2016-02-29 22:13:23 -03:00
David Capello 2bbd918d99 Update version to 1.1.3-dev 2016-02-29 22:11:00 -03:00