Commit Graph

55 Commits

Author SHA1 Message Date
Martín Capello
3ab993d1d6 Update ButtonSet to use theme's styles 2023-02-27 09:43:48 -03:00
Martín Capello
1783704a53 Fix positioning of text and icon layers to avoid setting values that are not a multiple of the gui scale 2023-02-27 09:43:48 -03:00
Martín Capello
e002316466 Take into account padding when painting text and icon layers 2023-02-27 09:43:48 -03:00
Martín Capello
dded1f6eae Add mnemonics attribute for font and styles to enable/disable accelerators underlining 2023-02-27 09:43:48 -03:00
David Capello
c900327675 Add switch for "multiple windows" in Edit > Preferences > General
As the "multiple windows" feature is still buggy (#3556) and we've
disabled it by default, it's nice to make this option more visible (in
the General section) so users reliant on this will find the switch
quickly.
2023-02-24 17:11:51 -03:00
David Capello
e703de535e Show saved undo state in Edit > Undo History window (fix #3578)
Some extra changes introduced:
* DocUndo & CmdTransaction were simplified: removing the saved
  counter, and storing a specific UndoState pointing to the state that
  matches the version in the disk
* DocUndo::onDeleteUndoState() can generate a
  impossibleToBackToSavedState() if the saved state is deleted. This
  might fix some bugs where a "save changes" dialog weren't displayed
  after undoing and making changes (probably related to #3542, but not
  sure)

Some extra work is needed to avoid showing the "save changes" dialog
if we are close to the saved state and only non-modification undo
states separate us from there. E.g. if we open a file, select the
canvas, and close it, Aseprite now shows the "save changes" dialog,
this wasn't true in previous versions.
2022-11-02 09:57:52 -03:00
David Capello
05bf34f084 Merge branch 'main' into beta 2022-08-02 16:48:32 -03:00
Gaspar Capello
55885ee266 Fix regression: TextBox isn't rendering text (doesn't update the bounds area of the text box)
Regression in dd0c296209 (Use
tooltip_text style & color to paint tooltip windows #2554).

Prior this fix, text box does not update its bounds area because it
has not a style assigned.

Fix #3442, fix #3443
2022-08-02 16:39:18 -03:00
David Capello
504fb7b7f8 Fix crash showing user data dialog (revert regression from dd0c296209)
Restored the tooltip_face style as it's used in the user_data.xml popup.
2022-07-20 12:02:07 -03:00
David Capello
5ec88ad659 Merge branch 'main' into beta 2022-07-18 16:05:37 -03:00
David Capello
dd0c296209 Use tooltip_text style & color to paint tooltip windows (fix #2554) 2022-07-18 16:00:13 -03:00
David Capello
1912053f33 Merge branch 'main' into beta 2022-07-15 17:30:39 -03:00
David Capello
f4e83371b8 Several minor improvements to the status bar
* Remove "%3d" for integers (just use "%d"), this is a legacy format
  when the text was a monospace font (it was present from the very
  beginning of the times, when we used the Allegro font)
* New :delta: icon (before :offset: which didn't exist in the theme)
* Show useful info for MovingCelState: mainly cel bounds
2022-07-15 17:03:18 -03:00
David Capello
8d2863a58b Merge branch 'main' into beta 2022-05-05 09:57:29 -03:00
David Capello
a004b7dfe1 Merge branch 'fix-232' of https://github.com/Enfyve/aseprite into Enfyve-fix-232 2022-05-03 15:11:27 -03:00
David Capello
d077900fe5 Merge branch 'main' into beta 2021-10-13 10:15:39 -03:00
David Capello
212e9fbe6c New initial Lua debugger version (#1967)
Incomplete version of the Lua debugger.
Some available features:

* Break in next executed instruction
* Step in, over, out
* See & navigate stacktrace
* See local variables

Some missing features:

* Breakpoints
* Eval user expressions with local variables

The UX needs some improvement yet.
2021-10-12 16:52:14 -03:00
David Capello
f318a42f19 Merge branch 'main' into beta 2021-09-29 10:16:02 -03:00
David Capello
0c604ca4ba Ask for consent to share crash data 2021-09-23 15:22:26 -03:00
Enfyve
2394cbe4b2 Fix external folder manipulation (fix #232)
Updates folder upon navigation (up, back, forward, in).

Also introduces a new button to refresh the current folder view when pressed or when hotkey pressed (F5 or ctrl+R)
2021-04-25 19:04:06 -04:00
David Capello
0b4e24b29d Draw icon for tilemap layers in the tilemap 2020-10-23 17:19:56 -03:00
David Capello
68c9203880 Add new dark theme contributed by Nicolas Desilets 2020-10-20 17:22:42 -03:00
David Capello
3fbdd40f24 Add skew transformation (fix #71)
This is the first version of the feature, it still needs some
fixes (e.g. avoid skew transform when the pivot is in the same side of
the skew handle which can calculate a division by zero).
2020-09-18 19:29:43 -03:00
David Capello
a80af2b304 Merge branch 'master' into tilemap-editor 2020-05-18 20:24:22 -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
cc7bdbcec4 Add a slider style in theme
We've added some code to handle backward compatibility with themes. In
this way we can still load old themes in the latest version but should
look as in previous versions (this will not be done with previous
properties or parts migrated to styles, so we start from now on).
2020-05-01 23:31:10 -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
f2abf09bbf Change TilesetMode names: Manual/Auto/Stack 2020-02-17 09:06:02 -03:00
David Capello
92b794d457 Add the final TilesetModes UI: Manual/Semi/Auto 2020-02-17 09:06:01 -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
8551fbda26 Add possibility to select any matrix to run the OutlineFilter 2019-04-16 17:54:42 -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
9461e609e2 Add dimension and color in theme.xml to customize palette view separators 2019-03-21 16:58:50 -03:00
David Capello
3ec3f75d91 Add radial gradient
Related to:
* https://steamcommunity.com/app/431730/discussions/1/3182216552785250054/
* https://community.aseprite.org/t/radial-gradient/2711
* part of #1629
2019-03-19 20:54:25 -03:00
Gaspar Capello
3dc76d08c4 Add aspect ratio on status bar (fix #1769) 2019-01-10 07:14:01 -03:00
David Capello
72313e1c48 Add possibility to pin/unpin recent items 2018-12-22 00:14:31 -03:00
David Capello
45123d7466 Fix issue drawing disabled buttons in highlight state
This happen in some cases where a combobox is displayed above the
disabled button and we close the popup window of the combobox.
2018-12-12 00:38:42 -03:00
David Capello
52e2585c2c Remove unused pal_edit theme part/slice 2018-11-15 12:14:16 -03:00
David Capello
178849a7c8 Add theme dimension for the size of bars (hue, alpha, etc.) in the color selector 2018-11-15 11:22:30 -03:00
David Capello
329c50bc2c Add some theme dimensions to customize context bar and color bar size 2018-11-15 11:08:45 -03:00
David Capello
3a77321597 Add "intersect" selection mode
Discussions:
https://community.aseprite.org/t/intersectional-selection/801
https://community.aseprite.org/t/feature-request-intersect-with-selection-tool/1797
2018-10-26 14:04:08 -03:00
David Capello
f6e3aa9fd8 Add security dialog to access files from scripts 2018-09-17 13:14:56 -03:00
David Capello
db097d3e67 Bring back the old timeline style (#1741, #1744)
We've added a new shade to show the focused cel (active layer/frame)
inside the selected range of the timeline when multiple cels are
selected.
2018-06-07 12:21:21 -03:00
David Capello
5a91325750 Show indicator with old/new colors in ColorPopup (fix #1696) 2018-03-28 15:56:40 -03:00
David Capello
245285f84e Filters: Use the selected cels range instead of target buttons
With this commit we've definitely removed the target buttons to apply a
filter in current cel/layer/frame (which never make too much sense to
the end-user), and now we can just select the range of
layers/frames/cels where we want to apply the filter (like Flip and
Rotate commands that were already working in this way).
2018-03-13 17:05:14 -03:00
David Capello
0eef231ff7 Add "selected_text" color to theme.xml for selected text on entry fields
Requested here:
https://twitter.com/antonkudin/status/957004393144094720
2018-01-29 14:09:22 -03:00
David Capello
0ee5dbea7a Improve keyboard shortcuts list with resizable headers 2017-10-24 10:20:21 -03:00
David Capello
89c521ae15 Add new theme parts for ButtonSet items 2017-10-06 11:07:48 -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
d00db433fe theme: Possibility to specify default screen/ui scaling 2017-08-18 19:23:23 -03:00