Commit Graph

100 Commits

Author SHA1 Message Date
David Capello 1ef67cada4 lua: Support more filters from scripts (BrightnessContrast, Despeckle, HueSaturation, InvertColor, Outline) 2019-07-18 11:47:26 -03:00
David Capello 814250e325 Add support to call ReplaceColor from scripts when the UI is disabled (e.g. from CLI) 2019-07-16 16:36:09 -03:00
David Capello fe4106457f Add "Edit > Paste Special > Paste As New Sprite" option (fix #1024) 2019-06-28 18:51:14 -03:00
David Capello 54883012bb Put "Reopen Closed File" and "Clear Recent Files" options inside "File > Open Recent" menu 2019-05-27 23:53:57 -03:00
David Capello cdb98d4cd5 Add File > Reopen Closed File command 2019-05-27 23:53:57 -03:00
David Capello 17895dce69 Support MergeDownLayer when ENABLE_UI is not defined 2019-04-17 00:16:52 -03:00
David Capello 9cf408541f Add Edit > FXs > Outline command (fix #371, #1198) 2019-03-11 15:35:22 -03:00
David Capello 4335f0c728 Add CommandWithNewParams to load command parameters from Lua tables directly
With these new classes (Param/NewParams/CommandWithNewParams(Base)) we
can load parameters for commands from a Lua table directly without
converting to a string. So instead of

   Lua value -> string -> C++ param type

We can do

   Lua value -> C++ param type

directly.
2019-01-07 16:42:55 -03:00
David Capello 496d15c428 Add CanvasSize support for non-UI 2019-01-06 19:12:04 -03:00
David Capello 569b923e2f Move PaletteSize to the non-UI list of commands 2019-01-06 18:46:00 -03:00
David Capello 17496c8630 Support NewFrame when ENABLE_UI is not defined 2018-10-31 17:36:22 -03:00
David Capello 967c819a18 Add GotoFirst/LastFrameInTag commands 2018-10-26 10:29:42 -03:00
David Capello b0eea5cc50 Add possibility to flatten visible/selected layers (fix #1226)
Discussion:
* https://github.com/aseprite/aseprite/issues/1226
* https://community.aseprite.org/t/wish-flatten-selected-layers/163
2018-09-18 00:19:24 -03:00
David Capello 26d510fffd Support more commands without UI
- BackgroundFromLayer
- CelOpacity
- LayerFromBackground
- RemoveLayer
2018-09-06 14:18:59 -03:00
David Capello f5b8675d77 Make NewLayer command available in non-UI compilation 2018-09-05 19:36:40 -03:00
David Capello 798d6df5ff Add File > Scripts menu 2018-09-05 13:35:13 -03:00
David Capello 7740f6a710 Add mouse wheel customization for sprite editor
Fix #680, #970, https://community.aseprite.org/t/668
and possibility to change alpha with mouse wheel:
https://github.com/aseprite/aseprite/issues/680#issuecomment-344721509
2018-07-19 23:05:14 -03:00
David Capello ac65b1291d Add Shift+Enter (PlayPreviewAnimation command) to play/stop animation in preview window (fix #1774) 2018-06-29 15:05:11 -03:00
David Capello 96ca735ed5 Add command to Stroke the selection bounds w/the foreground color 2018-05-30 18:05:18 -03:00
David Capello 291e9c7dde Add command to fill selection with foreground color (F key, related to #1387) 2018-05-30 16:53:20 -03:00
David Capello 139c5aac49 Add flag to compile CLI-only (fix #1279)
New cmake flag -DENABLE_UI=OFF can be used to turn off the GUI
and compile a CLI-only version of Aseprite.

Requested here too:
https://community.aseprite.org/t/1351
2018-05-07 00:11:50 -03:00
David Capello cca9ff702a Add Brightness/Contrast menu option 2017-10-06 16:19:30 -03:00
David Capello 9c6f6f3114 Add LayerLock command 2017-10-03 15:34:07 -03:00
David Capello 239ac42378 Add Hue/Saturation filter (fix #1186)
Added new gfx::Hsl class to handle HSL color model(related to #707 and #1102)
2017-05-24 19:07:10 -03:00
David Capello add0c81260 Add guides/slices options in preference dialog
Also moved guide/slice colors to global preferences (instead of pref per document).
2017-03-25 01:01:59 -03:00
David Capello 643cad5c97 Add basic implementation of slice tool (#721) to modify theme parts
It still need support to export to .aseprite-data as <slice> XML elements, and animation support.
2017-03-06 19:27:43 -03:00
David Capello 79f82cfbee Merge branch 'beta' into master
The next official release will be v1.2.
2017-01-30 16:02:21 -03:00
David Capello e2595f3cce Add command to open/close layer groups (Shift+E) 2017-01-09 14:56:26 -03:00
David Capello 8691345f03 Add ContiguousFillCommand to switch Contiguous option with a shortcut 2017-01-09 13:04:00 -03:00
David Capello dc19c4b589 Merge branch 'master' into beta 2016-12-07 12:14:28 -03:00
David Capello c1e428544e Add minimal .md browser to show README/LICENSES files
Now we can see markdown files inside Aseprite. This is an initial
support (text only, separators, links only on headers and to external
URLs).

- Added a new docs/LICENSES.md file
- Removed old .txt licenses
2016-12-06 16:03:51 -03:00
David Capello 396f5fb78f Merge branch 'master' into beta 2016-12-02 19:13:08 -03:00
David Capello 7a0d6c7f9e Add command to change the layer opacity 2016-12-01 19:27:57 -03:00
David Capello f57c298ad6 Merge branch 'master' into beta 2016-11-29 12:15:25 -03:00
David Capello 128ba90394 Add ENABLE_SCRIPTING flag 2016-11-21 10:25:27 -03:00
David Capello 8b9c5f4f27 Merge branch 'timeline-thumbnails' into beta 2016-09-26 11:39:40 -03:00
David Capello 1404b0ce7d Merge branch 'master' into beta 2016-09-16 16:02:26 -03:00
David Capello 1c7abd285e Add zoom/scroll buttons in ContextBar (including a new "Fit Screen" command) 2016-09-15 09:50:00 -03:00
David Capello 20b726f73b Merge branch 'master' into beta 2016-08-31 19:53:52 -03:00
David Capello 5ecc356a41 Replace GPL license with the new EULA 2016-08-29 13:08:21 -03:00
Carlo 'zED' Caputo 57567af06b Add thumbnails in timeline (#340)
Reviewed-by: David Capello <davidcapello@gmail.com>
2016-07-25 10:00:00 -03:00
David Capello f6fa39ba52 Merge NewGroup command into NewLayer command 2016-06-08 15:43:13 -03:00
David Capello 33d7f6509f Rename NewLayerGroup command -> NewGroup command 2016-06-08 15:20:11 -03:00
David Capello 2f91122c26 Rename layer folder/set -> layer group 2016-06-07 19:38:56 -03:00
David Capello 0f3252a80b Add CopyMerged command (Ctrl+Shift+C) (fix #824) 2016-05-17 12:59:48 -03:00
David Capello b60b76ff22 Add option to show layer edges 2016-05-03 16:23:38 -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
David Capello 2af47fe907 Add option to toggle the selection edges visibility (fix #861) 2016-03-24 13:04:35 -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 f626837cb5 New command to add foreground/background color in the palette 2016-03-17 10:47:50 -03:00