Commit Graph

389 Commits

Author SHA1 Message Date
David Capello
a3286fc20a Minor refactor "first visible index" -> "base index" 2020-10-30 20:58:45 -03:00
David Capello
c2e5e69882 Simplify tilesets impl using tile index 0 = an empty tile
In this way we always have an empty tile available in the drawing
process. We've also added the Tileset::firstVisibleIndex field to
change the visible index of the tile 1 so we can offset the visible
number by the user (just as a visual aid / simulate old tilesets with
index=0=non-empty tile).
2020-10-30 16:33:34 -03:00
David Capello
68c9203880 Add new dark theme contributed by Nicolas Desilets 2020-10-20 17:22:42 -03:00
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
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