Commit Graph

136 Commits

Author SHA1 Message Date
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
Tony Narlock 877d29cd76 Allow scrolling to center of canvas 2015-12-08 03:28:05 -06:00
Ying Ruei Liang (KK) 2fa6f1995e Add commands to navigate frames with same tag 2015-12-05 18:16:23 +08:00
David Capello 5dc149d308 Add "Select > Modify" commands to expand/contract/border the selection 2015-12-04 17:46:32 -03:00
David Capello e8dd1526f6 Convert ink menu into a popup menu specified in gui.xml 2015-11-27 11:36:27 -03:00
David Capello aaf49be654 Add commands to change ink type (#787)
By default there are no shortcuts to change the ink type.
2015-11-27 01:35:31 -03:00
David Capello 6cbb1882d4 Add shortcut to switch pixel-perfect mode (fix #858) 2015-11-18 16:15:25 -03:00
David Capello 56854cdb9f Add symmetry mode (fix #208)
This is a first iteration of the feature, it doesn’t have handles to
move the symmetry line and it only contains two symmetry modes:
horizontal or vertical.

As an extra change, we have added the new Stroke type to wrap a vector
of gfx::Points and simplify some existing code in the ToolLoop.
2015-10-26 17:51:32 -03:00
David Capello 2eada35a38 Add "Undo History" command (fix #739)
Added member functions to undo::UndoHistory and
app::DocumentUndo to iterate all states of the undo history.
Also we’ve added app::DocumentUndoObserver to see when new states
are added in the undo history.
2015-10-20 11:27:05 -03:00
David Capello 1ac39ff85b Add simple "Edit > Insert Text" menu option (related to #28) 2015-09-23 17:38:45 -03:00
David Capello 890931f270 Add RunScript command with Edit > Scripts menu 2015-08-27 12:40:20 -03:00
David Capello e35f85bff7 Add "Edit > New Sprite from Selection" command 2015-08-14 15:23:56 -03:00
David Capello f4d82ad2c0 Add "Link Cels" command in Timeline popup
From a comment in issue #746
2015-08-13 09:59:44 -03:00
David Capello a34931db3d Remove ConfigureTools command
These options were replaced with commands in "View" menu.
2015-08-10 18:52:29 -03:00
David Capello d796c88f6f Add TiledMode command and "View > Tiled Mode" submenu 2015-08-10 18:44:25 -03:00
David Capello c159a3c4b5 Add SelectionAsGrid command 2015-08-10 18:27:53 -03:00
David Capello da8eff0ec2 Add a basic RGB color wheel (related to #707) 2015-08-06 11:23:16 -03:00
David Capello a12816c04e Add command to change the palette size manually with a number 2015-06-30 12:21:41 -03:00
David Capello 1ef1f9e3e7 Add option for color quantization in the ColorBar options popup 2015-05-08 17:34:51 -03:00
David Capello d3dbc11451 Add options to change palette entry size 2015-05-08 14:59:52 -03:00
David Capello dfeff22b2f Add possibility to create brushes from selection
Changes:
* Add doc::kImageBrushType
* Add doc::BrushPattern enum
* Add pattern and pattern origin properties to doc::Brush
* Add NewBrush and DiscardBrush commands (new Ctrl+B shortcut to create
  brushes)
* Add BrushInkProcessing
2015-04-27 00:08:04 -03:00
David Capello 7448db3959 Add "View > Duplicate View" to create multiple views of the same document 2015-04-06 12:22:20 -03:00
David Capello 361a3084fd Merge branch 'new-workspace'
Conflicts:
	src/app/commands/cmd_open_file.cpp

Fixes:
	src/app/ui/timeline.cpp
2015-03-04 22:41:34 -03:00
David Capello 200e612670 Simplify Workspace implementation removing the possibility to split views/tabs
It's confusing to see two tabs when we split the view. In the future we
should be able to move tabs to create a split view.
2015-03-04 17:23:40 -03:00
David Capello 2dac7f3869 Add Frame Tags Properties dialog/command 2015-02-20 11:42:59 -03:00
David Capello 6064debe13 Add support to close any kind of WorkspaceView (HomeView and DevConsoleView)
* Add WorkspaceView::onCloseView() member function
* Now DevConsoleView is inside MainWindow (just like HomeView)
2015-02-19 22:14:06 -03:00
David Capello 9f8505f490 Add Remove Frame Tag command 2015-02-18 11:44:54 -03:00
David Capello 9e734b2e8c Add NewFrameTag command 2015-02-17 16:12:10 -03:00
David Capello 2c6067f7e4 Update license of app/ module to GPLv2 2015-02-12 12:16:25 -03:00
David Capello d1d49c5038 Add TogglePreview command (rename "mini-editor" to "preview")
Renamed Preview to FullscreenPreview to avoid confusion.
As an extra "to do", we need to add command aliases, so Preview matches
FullscreenPreview (mainly to keep user defined keyboard shortcuts).
2015-02-10 09:07:04 -03:00
David Capello 1321de9d58 Merge branch 'master' into feature/continuous-cels 2015-01-30 10:57:32 -03:00
David Capello 06636fd16e Merge branch '1.0'
Conflicts:
	src/app/file/gif_format.cpp
	src/app/file/gif_options.h
	src/app/ui/editor/moving_cel_state.cpp
	src/app/ui/editor/standby_state.cpp
	src/app/util/range_utils.cpp
2015-01-29 12:18:13 -03:00
David Capello ce6dc3f790 Add shortcut to toggle the visibility of active layer (fix #587) 2015-01-29 10:32:19 -03:00
David Capello d2ea95716f Add Unlink Cel command 2015-01-20 09:39:12 -03:00
David Capello 5c9240d4d1 Add Ctrl+T to transform the cel content (close #560) 2014-12-13 19:32:58 -03:00
David Capello 8716214718 Add SetLoopSection command and F2 keyboard shortcut (close #491) 2014-11-08 19:57:46 -03:00
David Capello f939ef5f02 Add keyboard shortcuts customization (close #253)
Changes:
* Add KeyboardShortcutsCommand and window
* Add SelectAccelerator window
* Replace modules/gui.cpp functions with app::KeyboardShortcuts and
  app::Key with the logic to load/save/handle keyboard shortcuts
* Change ui::Accelerator concept: now it represent just one keyboard
  shortcut, not a set of shortcuts
* Remove ui::Accelerator from ui::MenuItem, now the key is associated
  in app::AppMenuItem and it's a app::Key
* Add Command::onGetFriendlyName() to get a user friendly name of the
  command depending on its parameters
2014-10-29 11:58:03 -03:00
David Capello c6aedc117a Add Alt+Shift+G shortcut to toogle the pixel grid visibility (fix #504) 2014-10-26 00:48:15 -03:00
David Capello 4188fa1408 Add ReverseFramesCommand (fix #503) 2014-10-24 11:37:52 -03:00
David Capello 546d3af5e8 Fix problems clearing background cels
- The background color to clear is calculated in one place: DocumentApi
- Rename RemoveCel command to ClearCel
2014-09-17 09:53:25 -03:00
David Capello d4f056100b Now we can rotate the current cel or a range of cels (related to issue #161) 2014-08-25 09:06:38 -03:00
David Capello 6db36fe30b Add ZoomCommand so zoom keys are configured in gui.xml file 2014-08-13 00:22:29 -03:00
David Capello 626ec1d2ba Add MoveTaskCommand: now you can move the selection with Shift+arrow keys 2014-08-08 01:00:02 -03:00
David Capello 9ac51fd0be Rename raster::Pen -> raster::Brush 2014-06-14 15:09:43 -03:00
David Capello 391a5c0bf4 Add command to switch onion skin visibility 2014-05-08 08:47:45 -03:00
David Capello 283d883d37 Add SetPaletteCommand 2014-04-17 01:29:58 -03:00
David Capello b16bf981d0 Implement issue #265 - command/keyboard shortcut for "last export" operation
- Add doc::ExportData with information about the last export operation.
- Add RepeatLastExport command.
- Add SaveFileBaseCommand as base Command class, to accept "filename"
  param.
- Add parameters to ExportSpriteSheet so we can call it without UI
  from "repeat last export".
2014-03-29 16:58:35 -03:00
David Capello ddf4a13490 Add the Palette menu with Load/Save commands 2013-11-15 16:56:50 -03:00
David Capello b0cd01b425 Add the old "Animation Editor" as a timeline at the bottom of sprite editors (Workspace)
- Renamed AnimationEditor (dialogs/aniedit.h) to Timeline
  class (app/ui/timeline.h)
- Renamed FilmEditor command to Timeline
2013-11-10 18:27:11 -03:00
David Capello cde54f3682 Change BSD license to MIT in sublibraries and fix headers 2013-08-08 21:01:20 -03:00
David Capello c88f9b172b Refactor: Move app files to src/app subdirectory inside app namespace
- Add HAVE_CONFIG_H wrapper to #include "config.h"
- Removed widgets namespace (it's in app now)
- Move some functions from src/file/file.h to src/base/cfile.h
- Move Vector2d to base library
- Rename MenuItem2 to AppMenuItem
2013-08-05 21:20:19 -03:00