Commit Graph

1502 Commits

Author SHA1 Message Date
David Capello 2b522e222b Rename ui::Accelerator to ui::Shortcut
This was a pending refactor, where "user.aseprite-keys" files were
already using the "shortcut" attribute (instead of "accelerator").
This will include a refactor in the Weblate projects/all translations
to change [select_accelerator] section to [select_shortcut]. But that
must be coordinated after this commit is merged.
2025-06-09 17:20:16 -03:00
Maplegecko 698d79b049 [lua] Make Dialog:separator more in line with other widgets (fix #4989) 2025-06-09 13:26:39 -03:00
Christian Kaiser 54ea61fe58 Re-add os.rename and os.remove support 2025-06-07 12:05:34 -03:00
Reese Rivers 2cb42b343f Add missing Esperanto accents (ŜŝŬŭ) 2025-05-21 13:56:51 -03:00
David Capello 41a8249afd New AUTHORS file 2025-05-11 12:14:01 -03:00
David Capello 206065fb80 Add a way to change default Timeline options
Fixes https://community.aseprite.org/t/19863
Related to #5083 / https://community.aseprite.org/t/25097
and #1485 in some way, although we've opted to avoid moving these
options to the Preferences dialog as it's quite a big refactor.
2025-04-24 19:38:25 -03:00
Gaspar Capello 3549d3538f Fix regression with timeline thumbnails (fix #5083)
This fix adds an option to scale timeline thumbnails to fill
the entire cell, or simply leave the timeline thumbnails at 1:1 scale
as before issue #4974.
2025-04-22 20:18:21 -03:00
Christian Kaiser 39d69ac8cf Palette picker pinning, loading speed, misc improvements (fix #2365) 2025-04-22 12:45:56 -03:00
David Capello b3f4e37b69 Add option to switch font hinting (fix #4931, aseprite/laf#138) 2025-04-11 17:26:03 -03:00
David Capello 7167969963 [theme] Fix horizontal separator alignment 2025-04-02 09:32:34 -03:00
David Capello 816be744ac Add Widget::textBaseline() to fix several misalignments using scalable fonts
* Each widget can customize its text baseline (onGetTextBaseline()) to
  know where to draw text when it's vertically aligned to the middle
  (now more correctly "aligned to the baseline").
* Add PAINT_BASELINE to test where the baseline is on each widget.
* "Aseprite" and "Aseprite Mini" fonts now have a special
  descent/ascent configuration with a specific baseline position.
2025-03-27 18:22:51 -03:00
David Capello 2ee4819bf9 Show link to go to the Themes section to customize the font for certain languages 2025-03-14 16:02:31 -03:00
David Capello d3265a1711 Fix UI vs Screen Scaling bugs w/window buttons and button sets/grids (fix #5043)
Includes:
* New ui::Style::rawMargin/Border/Padding() to detect what values are
  undefined, and ui::Style::margin/border/padding() to return normalized
  values (replacing kUndefinedSide with 0 when a value is not defined in
  the whole hierarchy of styles). With this change we avoid using a
  margin/border/padding value of -1 by mistake.
* New guiscaled_div() to calculate an integer division taking care the
  guiscale() for a scaled value.
* CALC_FOR_CENTER() renamed to guiscaled_center() and moved to ui/scale.h

There are still a lot of work to be done to fully fix these UI issues
between Screen Scaling=200%/UI Scaling=100% vs Screen Scaling=100%/UI
Scaling=200%
2025-03-09 22:01:55 -03:00
David Capello 9378f44191 Show warning when raw cel format for .aseprite files is selected (#4901, #4951) 2025-02-26 10:22:36 -03:00
Martín Capello 2071e465a1 Replace label by entry to show the layer's UUID 2025-02-24 10:47:24 -03:00
Martín Capello 7ced9af5d1 Reword some "UUIDs for layers" related text 2025-02-24 10:47:17 -03:00
Martín Capello 86ad09291f Add UUIDs to layers 2025-02-24 10:10:28 -03:00
David Capello 5739bfe287 Fix crash canceling "Apply" filter and then using "OK"
This fixes the ASSERT(!m_tx) in FilterManagerImpl::initTransaction()
in Debug mode, and a crash in Release that happens in any filter if we
cancel a filter progress in the middle, and then press the "OK"
button.
2025-02-20 12:23:31 -03:00
David Capello d4406629e6 Add possibility to customize theme fonts (#712, #4307)
From Edit > Preferences > Themes we now can customize the theme Font
and Mini Font.
2025-02-15 12:58:25 -03:00
David Capello bc3433fcf2 Add new ui::TranslationDelegate to translate Entry popup items
Parts of this commit are from #4968 and will be useful to reuse in the
multiline TextEdit widget.

Co-authored-by: Christian Kaiser <info@ckaiser.com.ar>
2025-02-15 12:09:37 -03:00
Martín Capello e65b678e9e Add option to select cel compression (fix #4901) 2025-02-05 14:41:44 -03:00
David Capello 81bd37551b Merge branch 'main' into beta 2025-01-28 10:08:32 -03:00
sharkboi 8d30a18ed5 Refactor "View > Preview > Brush Preview" to be a global option (fix #4876)
Co-authored-by: David Capello <david@igara.com>
2025-01-23 15:16:44 -03:00
Liebranca 45a183945e Add 'edit_full_path' to preferences for FilenameField 2025-01-13 14:04:18 -03:00
Liebranca ac1231b083 Use FilenameField in ExportSpriteSheetWindow 2025-01-13 13:55:00 -03:00
Liebranca f1d03b12c5 Move 'OutputFile' logic to FilenameField class 2025-01-13 13:54:55 -03:00
Liebranca cb5163c742 Add Relative/Absolute path options to ExportFileWindow 2025-01-09 17:11:27 -03:00
Christian Kaiser 55b3e3c41c Clipboard access check, content 2025-01-08 12:35:20 -03:00
David Capello 8787aae762 Merge branch 'main' into beta 2025-01-07 12:34:49 -03:00
David Capello ea000719ab Update copyright year to 2025 2025-01-07 11:52:40 -03:00
Martín Capello dedfdce705 Fix toolbutton_last image (fix #4719) 2025-01-07 10:16:19 -03:00
Christian Kaiser 039bdda695 Improve preference resetting: window, brushes and preserve uuid 2025-01-06 14:51:09 -03:00
David Capello 09538f9a1a clang-format all files 2024-12-16 14:52:19 -03:00
David Capello b2e4f78b69 clang-format all files 2024-12-16 10:10:34 -03:00
David Capello f62b5eafb1 Merge branch 'main' into beta 2024-12-10 16:16:16 -03:00
Martín Capello 8a8a324651 Add columns and rows fields to Import Sprite Sheet 2024-12-10 09:30:29 -03:00
Martín Capello 3987412826 Change position of Apply button 2024-12-09 15:50:02 -03:00
Martín Capello 6c714bfc05 Add "Apply" button (fix #4678) 2024-12-09 15:50:02 -03:00
David Capello 41baef2627 Merge branch 'main' into beta 2024-11-19 16:00:11 -03:00
David Capello 7ff124d108 Add HD icons 2024-11-15 19:02:57 -03:00
Christian Kaiser 9b90159d1b Handle toolbar in small sizes with overflow button 2024-11-10 13:01:29 -03:00
David Capello a9d795b6df Merge branch 'main' into beta 2024-11-06 18:01:44 -03:00
sharkboi cd5bf499ea Disable Brush Preview in Preview window by default (fix #4721, #4752) 2024-11-06 15:40:29 -03:00
Gaspar Capello b7aa5d5ebe Add diagonal symmetry (fix #1171)
Added symmetry UI buttons, 45 and -45 degrees axis.
Now are possible activate all four symmetries, both
diagonal symmetries, individual diagonal symmetry, and
the old horizontal/vertical combinations.

Also added symmetry to image brushes (prior to this fix:
only the brush position was symmetrical, the image brush
was not flipped).
2024-11-01 15:17:01 -03:00
David Capello 6093282ac3 Add pin/unpin icon to font search field (#4617, #4692)
With this we can finally easily save font presets, even references to
external .ttf files.
2024-10-29 09:48:23 -03:00
David Capello e700cce987 Merge branch 'main' into beta 2024-09-23 15:03:11 -03:00
Christian Kaiser 96438b789e WebP show_alert reset in options 2024-09-23 13:38:14 -03:00
Christian Kaiser b10cc60fdb Add dont_show checkbox for WebP format 2024-09-23 13:38:14 -03:00
Christian Kaiser 31c80a5e0c Add reset preferences page (fix #4432, #4620) 2024-09-17 16:09:14 -03:00
David Capello 55e1b320c4 Remove invalid ExportSpriteSheet definition from gui.xml 2024-09-16 10:37:36 -03:00