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
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
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 978145ba7a5ad0b1f2909a6cfa0d1406126985cf
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 b64ba236d3cef5e1d45e79d9093855713af4e9dc.
2016-03-15 14:32:05 +01: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
Gabriel Rauter
29eaaea1fd
she/gtk: add a simple image preview
...
This adds a simple image preview for image formats supported by
Gdk::Pixbuf.
2016-03-07 15:46:08 +01: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
Gabriel Rauter
745fd180d4
Experimental native gtk3 file dialog
...
This pull request basicly adds the suport for gtk3 dialogs to she.
it is disabled by default and can be enabled with
cmake ... -DWITH_GTK_FILE_DIALOG_SUPPORT=ON ..
and needs the Experimental option "Use native file dialog"
enabled in aseprite enabled.
It is currently only available on *nix and has a external
dependencie on gtkmm >= 3.16 and glibmm >= 2.45
To have at least backwardcompatibility with ubuntu 15.10
the cmake option -D_WITH_DEPRECATED_GLIB_SUPPORT was added
to make use of a deprecated glibmm method.
Further testing ist need to see how far this backward
compatibility works, as of now ubuntu 12.04 does not seem to work.
But as ubuntu 12.04 will reach its end of support this summer and
ubuntu 15.04 having passed its end of life in february the question
is how far back this support is aimed for. Please enter the commit message for your changes. Lines starting
2016-03-04 21:22:44 +01: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
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
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
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
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
1588e834c3838ffda630abc21bb70c2d4fd75d4d, we can process
all mouse events from Allegro 4.
2016-02-29 22:21:07 -03:00