Commit Graph

487 Commits

Author SHA1 Message Date
Gaspar Capello
13addb4336 UI user data window integration 2020-10-13 11:07:10 -03:00
Gaspar Capello
55a37d0e6b Add tag userdata
Some code from https://github.com/aseprite/aseprite/pull/2265

Co-authored-by: Clarence "Sparr" Risher <sparr0@gmail.com>
2020-08-21 18:51:05 -03:00
David Capello
2ffac6803c Merge branch 'beta' into tilemap-editor 2020-08-06 10:47:06 -03:00
David Capello
4e08d12f28 Merge branch 'master' into beta 2020-08-06 10:46:32 -03:00
David Capello
8b6116911d Add extra options to show brush preview with Eraser/Blur/etc. tools
Feature request: https://community.aseprite.org/t/6427
2020-08-03 12:12:52 -03:00
David Capello
515dace441 Merge branch 'beta' into tilemap-editor 2020-07-13 17:32:42 -03:00
David Capello
4e896b8a65 Merge branch 'fix-gif' into beta 2020-06-17 23:52:49 -03:00
David Capello
bcf53fa54a Merge branch 'octree' into beta 2020-06-17 23:33:41 -03:00
David Capello
a10efb187b Merge branch 'master' into tilemap-editor 2020-06-01 16:21:32 -03:00
David Capello
445e0abb0b [win] Add Tablet section on Edit > Preferences and restore old wintab behavior
Now on Windows it's more clear the different APIs to use (Windows
Pointer vs Wintab), the Wintab API works as before (generates mouse
events on WM_MOUSE message instead for each packet), and there is a
new Wintab mode to create events directly from packets (still a little
buggy with some tablets, but might be useful in other tablets to get
more precision for fast strokes).
2020-05-30 16:54:35 -03:00
David Capello
a80af2b304 Merge branch 'master' into tilemap-editor 2020-05-18 20:24:22 -03:00
David Capello
4123e98d16 Add option to switch dynamic gradient between BG>FG and FG>BG 2020-05-07 16:08:32 -03:00
David Capello
263236deb3 Several fixed for Dynamics
* Now the max value in dynamics is equal to the brush size, so changing
  the brush size (e.g. switching between pencil/eraser tools) will
  change the max brush size (which is the most common parameter to
  change)
* Added mini_slider style for min/max brush/angle values
* Fixed some issues clicking outside the dynamics popup
2020-05-02 11:59:34 -03:00
David Capello
1d15bacdcd Add sensor tweaks to specify min/max thresholds of the sensor input
In this way we can translate the sensor input to a better output range
for our specific device (mouse, stylus, etc.).
2020-04-23 18:03:34 -03:00
David Capello
79f9e28ce8 Added pen pressure sensitivity (fix #710)
- Added support to detect eraser tip on Linux (#610)
- Related to #139
- Still needs works for gradients and better brush interpolations
  between stroke points
- Requested several times, e.g. https://community.aseprite.org/t/1077
  https://community.aseprite.org/t/1881, steam forum, etc.
2020-04-21 22:27:49 -03:00
David Capello
1f34d0e46e Add different formulas to convert RGB to Grayscale 2020-04-20 10:22:41 -03:00
Gaspar Capello
966daf5e34 Add RgbMap algorithm option in RGB -> Indexed color mode conversion dialog 2020-04-15 15:36:50 -03:00
Gaspar Capello
80cbb2caf5 Add combobox to select RGB5A5/Octree algorithms in ColorQuantization dialog 2020-04-15 11:07:13 -03:00
Gaspar Capello
886fdf8b3f Add OctreeMap as an alternative RgbMap implementation to RgbMapRGB53A
There is a new experimental option to switch between both RgbMap
implementations.
2020-04-10 15:47:24 -03:00
Gaspar Capello
7ed83c10cc Fix gif format encoding 2020-04-09 10:23:36 -03:00
David Capello
c73d745245 Don't show warning for untranslated text that start with '!' on widgets 2020-04-04 17:33:23 -03:00
David Capello
d358e6055f Add auto-fit screen option (fix #789, fix #2267) 2020-03-30 09:16:14 -03:00
Hamed Zaghaghi
123fa7d106 add css export 2020-03-24 05:51:02 +04:30
David Capello
72b5f0e701 Add missing files for the new TGA options 2020-03-20 20:15:29 -03:00
David Capello
c230e8f0ab Add options to save TGA files with 16/24/32bpp & uncompressed/compressed 2020-03-20 19:18:03 -03:00
David Capello
12e1b4d934 Add dialog to create new tilemaps selecting the tileset specs 2020-02-17 09:06:01 -03:00
David Capello
df63fb9388 Update copyright year on Windows properties and About dialog 2020-01-08 17:44:59 -03:00
David Capello
c2acc973ee Add support to show multiple sections in Export Sprite Sheet 2019-10-29 16:37:06 -03:00
David Capello
c0dfd76114 Change Export Sprite Sheet dialog with a tab-like UI 2019-10-26 13:24:27 -03:00
David Capello
13d042f346 Add options to merge duplicates/ignore empty cels in Export Sprite Sheet 2019-10-23 21:09:56 -03:00
David Capello
536a4c5d3a Simplify Export Sprite Sheet with preview + changes to the UI
These changes include an option to split layers and tags
by rows (fix #1118)
2019-10-18 17:00:35 -03:00
David Capello
d99e642c55 Add split layers option in ExportSpriteSheet 2019-10-03 15:52:19 -03:00
David Capello
1c8b8051a8 Rename FrameTag -> Tag 2019-10-01 14:55:08 -03:00
David Capello
138cd2970c Add option to disable transforming multiple cels when we have only layers/frames selected on the Timeline 2019-09-11 14:01:50 -03:00
David Capello
d03f5e9145 Add option to force RotSprite usage (as in old versions) 2019-09-05 18:22:51 -03:00
David Capello
c7d1e4a472 New option to configure how much time we keep a closed sprite on RAM 2019-06-07 13:17:21 -03:00
David Capello
ad64deef6c Several changes to default StatusBar text
* Change the Home status bar text
* Show the full path of the document (if the user preferences allow
  us) when we move the mouse over the document tab
* We weren't calling onWorkspaceViewSelected() from
  WorkspacePanel::setActiveView()
2019-06-05 10:16:34 -03:00
David Capello
1b62515cd2 Add "Recover Files..." option in Home tab
We've changed the way the "recover files" option works:
* Now it's an option that is always available (so we can open files
  even from sessions that were correctly closed in the past)
* We can open sessions from other Aseprite versions (as in a "best
  effort" approach, if it works, ok, if it doesn't -> contact user
  support)
2019-05-27 23:53:57 -03:00
David Capello
0407631bdc Fix value for a period of times of 10 seconds for backups 2019-05-11 14:10:25 -03:00
David Capello
dd8a49a19c Add option to disable changing the display color profile depending on the current monitor 2019-05-08 10:55:56 -03:00
David Capello
73de6c8b1d Add ability to edit multiple slices
Related to #721 and #1651, still need more work to give a better UX to
edit static and animated slices.
2019-05-02 16:26:13 -03:00
David Capello
e197a8670c Add an option to trim areas outside the canvas bounds on Sprite > Canvas Size (fix #1111) 2019-04-23 14:40:26 -03:00
David Capello
dba3f3cdfb Minor improvement in ChangePixelFormat dialog
Moved the progress bar in other at the left of the OK button and the
progress bar appears only if we have to report a progress value > 0
2019-04-17 00:07:33 -03:00
David Capello
9746a30564 Convert place field of outline command into a ButtonSet 2019-04-16 18:12:07 -03:00
David Capello
8551fbda26 Add possibility to select any matrix to run the OutlineFilter 2019-04-16 17:54:42 -03:00
David Capello
61d1e7c46c Add Horizontal and Vertical outline options in OutlineCommand 2019-04-11 23:21:14 -03:00
David Capello
fcf272bb69 Add amount parameter to Error Diffusion algorithm 2019-04-03 18:45:18 -03:00
Gaspar Capello
855c7d8ee3 Improved import sprite sheet dialog (from #1987) 2019-04-01 16:51:19 -03:00
David Capello
9a75d01efe Improve the File Selector adding new view types: list, small icons, big icons (fix #451) 2019-03-25 22:09:22 -03:00
David Capello
4919740861 Add option to disable the separator between palette entries 2019-03-20 14:27:19 -03:00
David Capello
9cf408541f Add Edit > FXs > Outline command (fix #371, #1198) 2019-03-11 15:35:22 -03:00
David Capello
e4117d05c5 Minor changes in style/formatting 2019-03-11 11:48:13 -03:00
Gaspar Capello
f53544842c Fix non-normal blend modes when the backdrop is transparent (fix #1096) 2019-03-09 12:40:31 -03:00
David Capello
e0e83f0d40 Add Dialog:file() (#1997, fix aseprite/api#7) 2019-02-13 16:15:04 -03:00
David Capello
e670a7a5d6 Move some new raw strings from Import Sprite Sheet .xml to en.ini 2019-02-11 09:52:01 -03:00
David N Campo
bdd4202c35 Add Trim by Grid option in Export Sprite Sheet (#1926)
This adds the logic and UI part of Trim by Grid feature, the CLI part
is not yet implemented.
2019-02-07 14:07:42 -03:00
Gaspar Capello
d4607e889b Add Import Sprite Sheet padding (fix #78) 2019-01-29 09:10:47 -03:00
David N Campo
cf1711c2af Add 'Extrude' option to 'Export Sprite Sheet' command (fix #1890)
Merged #1978 (squashed). The only solved conflict was that now
ExportSpriteSheet use params, so we've added the "extrude" param to
ExportSpriteSheetParams.
2019-01-10 07:49:19 -03:00
David Capello
aff3018095 Update copyright year of about/status bar/win32 resource 2019-01-03 09:09:26 -03:00
David Capello
36edf3f842 Fix tooltip in SpriteProperties dialog 2018-12-13 15:25:31 -03:00
David Capello
fffacf0a93 Update about dialog 2018-12-06 12:30:17 -03:00
David Capello
e63187a5f6 Save keyboard shortcuts dialog layout
From: https://community.aseprite.org/t/2276
2018-11-26 18:46:13 -03:00
Gaspar Capello
c1b61fedbf Added svg pixel size dialog (#1911) 2018-11-26 12:44:48 -03:00
David Capello
ba0a16cf34 Minor change in Sprite Properties to fix Transparent Color tooltip location 2018-11-26 12:42:58 -03:00
David Capello
d8b95c30e8 Add option to disable double-click to select a grid tile (fix #1901) 2018-11-15 19:17:19 -03:00
David Capello
2029e029a6 Add option for custom checked background grid size 2018-11-15 10:07:40 -03:00
David Capello
ccae016878 Add options to load/save/convert/assign color profiles correctly (#1576) 2018-10-23 15:03:38 -03:00
David Capello
a4d8fc52bf Manage color profiles (fix #1576) 2018-10-19 15:30:30 -03:00
David Capello
9b259a7a43 Add an (optional) alert before running a script 2018-09-17 14:59:44 -03:00
David Capello
f6e3aa9fd8 Add security dialog to access files from scripts 2018-09-17 13:14:56 -03:00
David Capello
fe9f8bc468 Add option to disable the alert about drawing with fg/bg index out of bounds 2018-09-13 10:53:14 -03:00
Gaspar Capello
336407fab6 Enhancement undo show tooltips option (fix #1827) 2018-09-06 15:26:42 -03:00
David Capello
8e5724e51f Minor change in About dialog 2018-07-24 15:27:02 -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
f595ceea7f Add possibility to write math expression in number textboxes (fix #1762) 2018-06-28 13:33:13 -03:00
David Capello
51ce52981a Improve UX in File > Export in special cases for output filename extension
* When the extension is unknown, an error is shown.
* When the extension is not written, the default extension will
  be added (the default extension is different depending on
  if the file format is image format or an animation format).
2018-06-27 10:00:19 -03:00
David Capello
511752fea7 New render engine to use bicubic interpolation when zoom < %100 (fix #1671)
This only works with Skia back-end.
2018-06-22 15:41:22 -03:00
David Capello
9323194cd9 Add a flag to disable warnings for about.xml 2018-06-19 14:49:40 -03:00
David Capello
a0c0b1c8e2 Add option to disable Wintab from Preferences dialog
With this is easier to give support to the end-user. The
--disable-wintab option was initially added for crash situation when
the user cannot execute Aseprite from the very beginning, but in other
situations, when Aseprite can be executed correctly but the stylus
doesn't work as expected, it's nice to have this option available from
the UI just to disable the Wintab32.dll.
2018-06-19 14:10:19 -03:00
David Capello
8b44411f87 Update website links 2018-06-19 11:05:40 -03:00
David Capello
5d763d108c Win8/10: Add support to draw with one finger, pan/scroll with two
https://community.aseprite.org/t/using-touchscreen-computers-to-draw-in-aseprite/677
2018-06-19 10:59:12 -03:00
David Capello
650c4eeeaa Update About dialog, Ilija has just updated his website 2018-06-18 10:06:52 -03:00
David Capello
40c55e1322 Update About dialog and authors/credits in README file 2018-06-14 16:16:50 -03:00
David Capello
7d96968ac3 Use BoolPrefWidget for alert options in Preferences dialog 2018-06-08 15:25:08 -03:00
David Capello
7a35eb26a1 Add new pref="" attribute to <check> widgets to bind check boxes with bool preference options automatically
With this change we've moved the propagateToChildren/propagateToParent
flags from ui::KeyMessage to ui::Message so anykind of
message (e.g. user defined messages like kSavePreferencesMessage) can
use these flags (processed by ui::Widget::onProcessMessage()).
2018-06-06 16:35:02 -03:00
David Capello
40968891f2 Add option to disable native clipboard
This is related to #1100, as the Linux port is not well tested and may
fail, it's good to have an option to disable the native clipboard code
just in case.
2018-05-24 12:56:07 -03:00
Gaspar Capello
dd82f6bbcc Add option to disable auto show selection edges (fix #1614) 2018-04-20 10:56:27 -03:00
David Capello
ff07de679a Fix links to languages and themes 2018-03-26 15:47:42 -03:00
David Capello
2f5a478ce9 Add link to download themes 2018-03-26 15:46:59 -03:00
David Capello
e20701cf6b Add a link to download translations 2018-03-26 14:50:14 -03:00
David Capello
6de103128b Add support for animated webp files (fix #273) 2018-03-26 14:11:40 -03:00
David Capello
0e0b83b478 Now an extension can contain a language (#124, #1403) 2018-03-19 19:37:39 -03:00
David Capello
0429282967 Add options to configure default extension in other commands (fix #1683)
Maybe too much configuration for my taste, but well, more configuration
is good.
2018-03-19 15:53:02 -03:00
David Capello
aa507fdf20 Add button to resize the sprite for Twitter 2018-03-16 11:26:13 -03:00
David Capello
1fb463f931 Add option to export GIF for Twitter (#1220, #1252) 2018-03-16 11:03:50 -03:00
David Capello
d9a848a32c Convert the output filename field on Export to a Entry field 2018-03-16 10:08:52 -03:00
David Capello
589d775d10 Add AniDir parameter to Export dialog (fix #1505) 2018-03-16 08:59:34 -03:00
David Capello
ca31a79ca5 Add alert when we will overwrite a file on File > Export 2018-03-15 23:04:20 -03:00
David Capello
8014c828af Add a special dialog for File > Export command
With this change we have moved all the file selector customization to
a new special FileExportWindow. So the file selector is used only to
select the output file (no more FileSelectorDelegate = now we can use
the native file selector for File > Export).
2018-03-15 21:00:54 -03:00
David Capello
5239db243a Add option to change the number of recent files/folders (#578)
* Added option to clear the list too
* If we specify 0 as the number of recent items, the feature is disabled
2018-03-14 14:14:47 -03:00
David Capello
9f96ccbd39 Add option to ignore a warning overwriting files on Export Sprite Sheet (related to #917) 2018-03-12 16:44:19 -03:00
David Capello
ebb7afde8b Add option to change default file format (.aseprite is the new default) 2018-02-23 10:32:02 -03:00
David Capello
d4244fed48 Add options to avoid showing dialogs saving files (#917) 2018-02-07 17:28:01 -03:00
David Capello
b5dc3d263e Add options to suppress specific warnings (fix #917) 2018-02-07 14:35:12 -03:00
David Capello
d3d107b0ac Add Trim option in Export Sprite Sheet 2017-11-29 16:17:30 -03:00
David Capello
e1232516ee Don't discard custom brush when we use eyedropper (fix #1557) 2017-11-23 11:35:41 -03:00
David Capello
c80d914e1a Fix toggle timeline thumbnails command (fix #1518) 2017-11-21 14:34:03 -03:00
David Capello
5cd368792c Improve UI so undo limit = 0 means "no limit" (#1127)
By default we'll have "no undo limit".
2017-10-25 17:58:55 -03:00
David Capello
1d1636ffc8 Restore old "Add to selection" behavior (fix #1584)
Related to all issues named in:
https://community.aseprite.org/t/470/9
2017-10-03 15:03:51 -03:00
David Capello
390d954ceb Add option to disable straight line preview w/Shift+Pencil tool 2017-09-08 16:04:18 -03:00
David Capello
2d51b8dfff Disable selection handles when a key modifier is pressed
From: https://twitter.com/ChevyRay/status/893563998410387457
2017-09-08 12:07:21 -03:00
David Capello
dfa441d2a0 Add option to show/hide Aseprite menu bar
The original Aseprite menu bar will be hidden by default for new users
on macOS.
2017-09-01 17:18:53 -03:00
David Capello
cf3814bc20 Make Aseprite icon clickeable in Home tab
Just for fun (and so themes can customize the icon too with other colors)
2017-08-25 16:54:58 -03:00
David Capello
b7d6311c4c Add support to jump to a frame tag on "Go to Frame" 2017-06-19 11:23:40 -03:00
David Capello
a9e688989f Implement Add/Uninstall extension (#1403)
- Added libarchive to uncompress .zip extensions
- Moved ListItem painting code to styles because we needed a selected+disabled state.
2017-06-12 12:38:53 -03:00
David Capello
27c4d832bf First draft-implementation of extensions (#1403)
At the moment only themes are supported and some functionality is not
available yet (disabling an extension, uninstalling it, etc.)
2017-06-10 15:02:39 -03:00
David Capello
f4fc77e050 Add search field on palette popup 2017-05-30 15:46:54 -03:00
David Capello
b69e791207 Use color sliders for Hue/Saturation dialog 2017-05-26 15:40:21 -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
bcdf598392 Add widget to choose dithering algorithm + matrix 2017-05-22 15:44:08 -03:00
David Capello
7837a123f8 Add option to merge layers in color mode conversion 2017-05-19 10:54:44 -03:00
David Capello
573cad4777 Add progress bar to color conversion
Unified render tasks stop/progress notifications in render::TaskDelegate
interface.
2017-05-17 15:25:40 -03:00
David Capello
cbee0862f3 Add a Color Mode conversion dialog with preview 2017-05-16 17:18:55 -03:00
David Capello
b8c64b31c1 Add option to disable the new "move selection edges" behavior 2017-04-06 19:12:36 -03:00
David Capello
1671411465 Add simple color selection for tag/user data colors 2017-04-04 20:02:29 -03:00
David Capello
a4e286a806 Specify <colorpicker> directly in options.xml 2017-03-25 01:15:40 -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
347ccfbb78 Add --list-slices CLI option 2017-03-16 10:35:26 -03:00
David Capello
b6cf0f218c Add search field on Font Popup
Added support to set child visibility property to ListBox items.
2017-03-15 14:24:42 -03:00
David Capello
f7cf65b245 Move <cursors> to <parts> on theme.xml
For this the "pivot" property was added to doc::SliceKeys.
2017-03-14 19:00:24 -03:00
David Capello
62db0c73a3 Fix clicking on a user data popup widgets
The textbox used in the tooltip was getting all clicks from the user. So on the user data popup we have to 1) don't set the title bar text, 2) if the title bar is not set the text box is hidden so will not eat all click messages.
2017-03-09 16:15:39 -03:00
David Capello
3b2e76e745 Fix user data labels 2017-03-09 12:18:57 -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
86f138a714 Move ui::Splitter painting code to new styles 2017-02-17 16:17:00 -03:00
David Capello
bb4faca1d1 New Style class in "ui" layer to paint widgets (only button at this moment)
This new ui::Style should finally replace the old app::skin::SkinStyle
class. At this moment both implementations are working to avoid an
huge refactor in just one commit.

- Added new ui::Style property in ui::Widget.
- Removed old code to set the button "bevel" (removed
  app::setup_bevels() functions).
- Removed setup_look() function and Left/RightButtonLooks.
- Removed check_button_new() function.
- Removed ui::Theme::paintButton/ComboBoxButton() functions.
2017-02-13 18:34:23 -03:00
David Capello
8abd401a04 Add a checkbox to expand thumbnails options in Timeline popup 2017-02-01 13:47:16 -03:00
David Capello
dd381131c7 Merge branch 'i18n' into master 2017-01-30 16:27:54 -03:00
David Capello
d19c033284 Add option to export resizing w/pixel aspect ratio 2016-12-29 11:22:16 -03:00
David Capello
0d8c60d2f4 Remove string @modify_selection.by 2016-12-23 13:07:03 -03:00
David Capello
ff95e63732 Move all widget strings to strings/en.ini file 2016-12-23 12:38:32 -03:00
David Capello
0014673e41 Merge branch 'master' into beta 2016-12-22 10:46:37 -03:00
David Capello
7ae63156c5 Add option to disable Home tab (fix #1368) 2016-12-18 14:44:39 -03:00
David Capello
42b48cfed2 Initial version of a new app::Strings to translate strings
Added a simple en.ini file to translate "New Sprite" dialog.
2016-12-17 01:01:57 -03:00
David Capello
f989dcd9e9 Merge branch 'master' into beta 2016-12-06 12:05:44 -03:00
David Capello
c1fc3d7453 Minor fix in Grid preferences design/layout 2016-12-05 12:49:36 -03:00
David Capello
54ef2eeb66 Merge branch 'master' into beta 2016-12-05 12:36:12 -03:00
David Capello
4ff2286651 Minor change in Background preferences dialog 2016-12-05 12:01:16 -03:00
David Capello
c54f95a440 Show grid bounds/visibility in Preferences dialog
We've received several support requests to change the default grid
settings. This change should make this more user-friendly.
2016-12-05 11:58:26 -03:00
David Capello
b0df5ac3f4 Divide Grid & Background sections in preferences 2016-12-05 11:06:32 -03:00
David Capello
105cbe4d58 Add option to disable auto-scroll (fix #1277) 2016-12-02 20:38:51 -03:00