David Capello
49106817d4
Undo resize operation correctly in File > Export w/Resize != 100% and without undo history
...
If we open a new image (there is no undo history) and use File > Export
with a Resize parameter, the resize command must be undone, but the
UndoState to return will be nullptr (nullptr is before the first UndoState,
which is the resize operation for the export operation). So without this
fix we just resize and cannot go back before the resize.
This regression was introduced in a4d1833a9c
2018-06-26 10:56:41 -03:00
David Capello
b015fee8e0
Add a semi-transparent pixel (alpha=254) when export png for Twitter
2018-06-25 15:58:28 -03:00
Gaspar Capello
2b177601b5
Fix Duplicate Cels ignores collapsed layer groups ( fix #1727 )
2018-06-21 14:37:52 -03:00
David Capello
c3e233f34d
Create EditorRender to merge shared render image buffer and AppRender
2018-06-19 23:25:31 -03:00
David Capello
a5b0c7ebdd
Merge pull request #1750 from DexterIV/master
...
Fix "Sprite>Rotate Canvas > 90" not working on empty canvas (fix #1711 )
2018-06-19 15:41:21 -03:00
David Capello
e82404e3ba
Don't jump inside "Loop" tag w/next/previous frame within tag when we are outside the tag ( fix #1756 )
2018-06-19 14:35:00 -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
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
DexterIV
9e6940e16e
Fix Sprite>Rotate Canvas > 90 not working on empty canvas ( fix #1711 )
2018-06-15 15:40:10 +02:00
David Capello
a4d1833a9c
Fix Export with resize + non-linear undo history ( fix #1749 )
2018-06-14 17:27:22 -03:00
David Capello
40c55e1322
Update About dialog and authors/credits in README file
2018-06-14 16:16:50 -03:00
David Capello
67a61fd3d6
Avoid saving backups when we are in the middle of a File > Export with Resize
2018-06-13 16:00:37 -03:00
David Capello
e025d1a40a
Improve widget class generator including only required .h files
...
Instead of including "ui/ui.h" we can include the specific header file
for the used widgets in the .xml widget.
2018-06-08 15:52:10 -03:00
David Capello
7d96968ac3
Use BoolPrefWidget for alert options in Preferences dialog
2018-06-08 15:25:08 -03:00
David Capello
b8445956ae
Restore selected Timeline range after undo/redo
2018-06-08 14:40:02 -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
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
31dcd3272a
Fix error using filters when the selection is outside the canvas and is hidden/deselected ( fix #1737 )
2018-05-24 15:25:41 -03:00
David Capello
0f51467768
Fix my common typo "completelly" instead of "completely"
2018-05-24 14:21:00 -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
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
Gaspar Capello
dd82f6bbcc
Add option to disable auto show selection edges ( fix #1614 )
2018-04-20 10:56:27 -03:00
Gaspar Capello
4242c4eef3
Fix: Automatic Show Selection Edges with Cmd+A ( #1614 )
2018-04-13 15:24:42 -03:00
David Capello
4c287a7147
Fix target buttons ( fix #1698 )
2018-04-03 11:46:19 -03:00
David Capello
86177791d6
Sort extensions by name
2018-04-03 09:36:32 -03:00
David Capello
be5df08c1f
Use index target in Replace color for indexed images by default
2018-03-27 00:16:45 -03:00
David Capello
52244089c3
Fix FilterTargetButtons::setTarget()
...
Regression bug introduced in 245285f84e
2018-03-27 00:14:39 -03:00
David Capello
58252946ea
Put back a simpler vesion of the target button for cels
...
Now we have a button to apply filters to the selected region
in the timeline, or to all cels. Regression introduced in 245285f84e
Discussion:
http://steamcommunity.com/app/431730/discussions/0/343785574514723475/
2018-03-26 23:43:57 -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
08d6cbcf60
Fix crash using --save-as CLI
...
Reported here:
https://community.aseprite.org/t/command-line-save-as-has-stopped-working/1140
2018-03-17 10:50:24 -03:00
David Capello
072e223ec5
Fix eyedropper to use the real mouse position received in messages
...
Instead of the global mouse position, we can use the more proper
mouse position receive in editor messages.
2018-03-16 12:26:38 -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
ade32b3247
Fix Preview button on filters dialog
...
Now unchecking the preview button will redraw the sprite editor and the
color palette to show their original state.
2018-03-14 16:32:50 -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
0426582e0e
Don't crash when we select an non-existent recent folder
...
* Other minor changes in the recent files/folder API
* Don't remove the recent folder (if it exist) when a recent file
doesn't exist
2018-03-14 12:08:02 -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
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
dcfa2efc94
Fix SetColorSelector command label in keyboard preferences
2018-03-12 13:58:19 -03:00
David Capello
b0f383c4da
Move string for color map option to strings/en.ini file
2018-03-12 10:27:47 -03:00
David Capello
2f251c8a5a
Merge branch 'normal-map-color-wheel' of https://github.com/robinjam/aseprite into robinjam-normal-map-color-wheel
2018-03-12 10:26:34 -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
dee6ff6c7e
Refactor: Use new base::paths type for list of filenames/extensions
2018-02-21 11:06:58 -03:00
David Capello
166cb55c97
Add support for HSV color space in Adjust Hue/Saturation ( fix #1559 )
2018-02-09 17:39:56 -03:00
David Capello
5b217dd5ce
Change Hue/Saturation from addition/subtraction to multiplication ( fix #1571 )
2018-02-08 17:17:20 -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
70aaa4dada
Don't lock the document for writing when saving
...
This improves the performance when we are selecting GIF/JPEG options and
move the window. So the Editor can redraw the sprite without delaying
the rendering.
2018-02-07 12:55:56 -03:00
David Capello
a938fcec7f
Fix ChangePixelFormatCommand label on keyboard shortcuts dialog when used without params
2017-12-13 17:19:00 -03:00
David Capello
a307668552
ChangePixelFormatCommand can be called without params
2017-12-13 17:09:13 -03:00
David Capello
48fc0cbcb4
Don't allow shift pixels on locked layer
...
Discussion: https://community.aseprite.org/t/750
2017-12-01 17:18:23 -03:00
David Capello
21248b96dc
Don't apply Flip/Rotate commands to locked layers
...
Several issues fixed from https://community.aseprite.org/t/750
- Don't apply flip/rotate commands to cels from locked layers
- Show a status bar tooltip when all selected layers are locked
- Keep the timeline range enabled after the flip/rotate command
2017-12-01 17:14:18 -03:00
David Capello
7682971acb
Don't allow Insert Text when the layer is locked
...
Discussion: https://community.aseprite.org/t/750
2017-12-01 17:10:45 -03:00
David Capello
e0a60b6748
Generate the list of command IDs from en.ini file
2017-12-01 15:10:21 -03:00
David Capello
ccee49c02b
Move command friendly names to the strings file
...
Related to #124
2017-11-30 23:41:45 -03:00
David Capello
5f33b55a11
Add new commands to show color bar menus/options
...
Added QuickCommand class to create commands in the relevant
place (e.g. the ColorBar commands can be created in
ColorBar::registerCommands()).
2017-11-30 14:51:13 -03:00
David Capello
a75c8fb1b8
Convert list of commands to a map
2017-11-30 12:33:08 -03:00
David Capello
eb3143ce21
Rename CommandsModule to Commands
2017-11-30 12:24:07 -03:00
David Capello
d3d107b0ac
Add Trim option in Export Sprite Sheet
2017-11-29 16:17:30 -03:00
David Capello
519715224e
Fix displaying several keyboard shortcuts for the same command
2017-11-29 15:28:04 -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
ab51f02711
Fix crash applying a filter w/all layers locked ( fix #1610 )
...
The m_transaction field of FilterManagerImpl::commitTransaction() was
nullptr because FilterManagerImpl::applyToTarget() was returning without
creating the m_transaction.
2017-11-22 11:46:06 -03:00
David Capello
b856c71f9d
Fix filters preview for tiled mode
2017-11-10 16:31:06 -03:00
David Capello
cca23cb4f7
Enable Layer > Duplicate option for Layer Groups
...
Bug reported here:
http://steamcommunity.com/app/431730/discussions/1/1479856439026474486/
2017-10-27 09:42:55 -03:00
David Capello
4585b5e7e5
Fix possibilities of random crashes using filters w/Undo History window visible
...
Same problem as in 86a6462d7b
2017-10-27 09:25:50 -03:00
David Capello
86a6462d7b
Fix crashes using certain function w/Undo History open
...
Some commands were calling transaction.commit() in the non-main/UI
thread (e.g. SpriteSizeCommand). That commit() called
DocumentUndo::add() which generated a
DocumentUndoObserver::onAddUndoState() and it updated the Undo History
window UI. This generated a lot of racing conditions in the UI module
and possibilities of crashes if the Undo History window was visible.
2017-10-26 21:42:49 -03:00
David Capello
7e86f31cb4
Show the undo size in the Undo History window
2017-10-26 21:42:25 -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
f0c11ef567
Implement Undo limit ( fix #1127 )
2017-10-25 17:25:23 -03:00
David Capello
0ee5dbea7a
Improve keyboard shortcuts list with resizable headers
2017-10-24 10:20:21 -03:00
David Capello
9171c59745
Show KeyContext in the keyboard shortcut dialog
2017-10-23 13:10:30 -03:00
David Capello
a9b183729f
Translate all alerts to the en.ini file ( #124 )
2017-10-17 18:00:45 -03:00
David Capello
bc541c776b
Fix problem with preview not showing editing entry values on filters
2017-10-06 16:29:57 -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
0f1868dee9
Fix switch colors and eyedropper on Edit colors mode
2017-10-03 15:17:48 -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
aa93666481
Fix crash using negative numbers in Deskpeckle filter
2017-10-03 12:14:14 -03:00
David Capello
c0fe23999a
Ask the user for Screen/UI Scaling changes after a new theme is selected
2017-09-28 13:22:59 -03:00
David Capello
22b07365db
Fix "File > Export" for sprites without an associated filename
2017-09-25 14:10:35 -03:00
David Capello
6d4756b999
Fix bug inc/dec the wrong brush size
...
If we use the eraser side of a wacom pen, and press + o - to change the
brush size, we should change the brush size of the Eraser instead of
the Pencil (or other selected tool).
2017-09-22 17:41:08 -03:00
David Capello
db2e582f23
Rename "Save File Copy As" -> "Export"
2017-09-22 13:07:48 -03:00
David Capello
82e1377a41
Add warning/error about overwritting the original file on Save Copy As
2017-09-08 16:54:42 -03:00
David Capello
8367bb2aaf
Merge branch 'fix-undo-history' of https://github.com/cebolan/aseprite into cebolan-fix-undo-history
2017-09-08 16:11:38 -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
49d2cd14f0
Don't add a reference layer if the user cancels the dialog
2017-09-05 15:26:21 -03:00
David Capello
86e14fa2ff
Add 1x1 background grid
...
From:
https://community.aseprite.org/t/change-background-checkerboard-grid-size/390/2
2017-09-05 14:38:42 -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
0154a73d36
Add native macOS menus ( fix #135 )
...
* This implements the Cmd+H and Cmd+M keys too:
https://community.aseprite.org/t/279
* Also Cmd+, has more priority on macOS than Cmd+K to open the
preferences (so macOS menu shows Cmd+,)
2017-09-01 13:32:23 -03:00
cebolan
e773f0697e
Fix bug when closing Undo History with a keyboard shortcut
...
Closes #1423
The bug was happening because when the Undo History window was
closed using the keyboard shortcut, the message kCloseMessage
was never being sent to the window. This is probably not the
only cause, but making UndoHistoryCommand close the window instead
of just hiding it solves the problem.
2017-08-29 15:23:19 -04:00
David Capello
46ea414287
Avoid assert fail calling SelectedLayers::insert(nullptr)
2017-08-28 11:46:32 -03:00
David Capello
d674aa7330
Restore theme when we cancel preferences dialog
2017-08-22 15:44:44 -03:00
David Capello
d00db433fe
theme: Possibility to specify default screen/ui scaling
2017-08-18 19:23:23 -03:00
David Capello
4ed302e4b5
Add ENABLE_DEVMODE flag
2017-08-15 15:47:06 -03:00
David Capello
2bee243c39
Replace INT_MAX with std::numeric_limits<int>::max()
2017-08-15 11:25:23 -03:00
David Capello
432eedcb97
Support changing theme and UI scaling w/o restart ( fix #471 )
2017-08-15 10:39:06 -03:00
David Capello
bcf7efc9bb
Replace duktape with mujs
...
Added other classes like Rectangle, Size, and Point.
2017-08-11 17:22:28 -03:00
David Capello
b24fccb76a
Preferences: Fix "Extension Themes" separator in "Extensions" section
2017-07-25 10:47:33 -03:00
David Capello
14ba0ab411
Add addition/subtract/divide blending modes
...
Changes:
* Added SeparatorInView() to add separators inside a ListBox or ComboBox.
* Added BlendModeItem() to represent each item in the blending modes
ComboBox.
* Now a ComboBox can contain any kind of widgets as children (not just
ListItem). This is required to add separators in the blending modes
ComboBox.
Feature request:
https://community.aseprite.org/t/additive-blending-feature/121
2017-07-24 15:25:13 -03:00
David Capello
85bd973834
Minor change to F4 behavior
...
Switch edit mode+color popup visibility based on the popup visibility only.
2017-07-04 14:09:50 -03:00
David Capello
ab2fdb9a20
F4 shows fg color popup again
...
beta11 removed the palette editor but we still needed a way to show/hide the color popup.
Fix #1527
2017-07-03 17:41:10 -03:00
David Capello
4f5ce4bf57
Don't modify Params on const member functions
2017-07-03 17:31:56 -03:00
David Capello
55637693dd
Add X key to switch colors in Replace Color dialog ( fix #1430 )
...
Requested here too:
https://community.aseprite.org/t/swap-foreground-and-background-colors-quickly-with-button/114
2017-06-29 11:43:21 -03:00
David Capello
08c70cc6ab
Show all frame tags on "Go to frame" by default
2017-06-23 15:15:17 -03:00
David Capello
59c7f7dcec
Support hue/saturation adjustments on color palettes of RGBA sprites
2017-06-23 10:39:53 -03:00
David Capello
5d2ed8ce4b
Update tooltips when keyboard shortcuts are modified
...
This was implemented only for ContextBar and ColorBar at the moment.
2017-06-23 10:16:37 -03:00
David Capello
81ccbee4a2
Safer method to delete installed extension files through __info.json
2017-06-23 08:29:21 -03:00
David Capello
4ccecdeda2
Show alert when we upgrade an existent extension
2017-06-23 07:53:31 -03:00
David Capello
0ced31a447
Hide "Index" tab in FG/BG color popups
...
The "Index" tab doesn't make sense in the foreground/background color
selector because we already have the color bar at the left of the screen
to click on a palette entry.
2017-06-22 18:55:56 -03:00
David Capello
7d1404de0a
Unify palette editor with color selection ( fix #1102 )
...
Added a new A key shortcut (equal to F4) to switch between
selection/edition modes.
2017-06-22 17:44:34 -03:00
David Capello
85b7996e9a
HueSaturation can be used for palette and pixels on indexed images now
...
If there are an active selection: we adjust pixels, if there is no
selection, we adjust palette entries.
2017-06-21 23:13:43 -03:00
David Capello
4834ff3320
Support applying Hue/Saturation filter in selected palette entries
2017-06-21 22:31:18 -03:00
David Capello
6f1f7e41bf
Modify the color palette when HueSaturationFilter is used in an indexed image
2017-06-21 21:03:56 -03:00
David Capello
b3c83d6905
Add possibility to show RGB/HSV/HSL sliders at the same time
2017-06-21 19:54:17 -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
dafaf8d59f
Merge branch 'extensions' ( #1403 )
2017-06-14 21:02:00 -03:00
David Capello
a20976d220
Move dithering matrices to extensions
2017-06-14 16:34:09 -03:00
David Capello
d0282d78f1
Don't create data/themes folder in Preferences
2017-06-14 12:06:55 -03:00
David Capello
76df15d3c3
Add mnemonics to Extensions section in Preferences
...
Also fixed a problem using Alt+mnemonic on hidden buttons.
2017-06-13 12:04:40 -03:00
David Capello
c4d0273e4e
Update themes list when extensions are enabled/disabled
2017-06-13 11:51:49 -03:00
David Capello
511cf43484
Reload palettes when we enable/disable an extension
2017-06-12 18:08:02 -03:00
David Capello
4cbe5a1079
Minor formatting
2017-06-12 14:55:38 -03:00
Chris Hill
cfd46a4ef8
Support hide/show multiple layers on Layer > Visible (Shift+X)
2017-06-12 14:51:02 -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
2a15c58b5b
Now DitheringSelector is used to select just a DitheringMatrix for gradients
2017-06-09 17:31:41 -03:00
David Capello
7a28606241
Avoid showing original sprite on the change "Color Mode" preview
2017-05-31 16:34:46 -03:00
David Capello
29a49ad7fa
Add HSL color selection (related to #707 )
2017-05-29 14:20:42 -03:00
David Capello
b69e791207
Use color sliders for Hue/Saturation dialog
2017-05-26 15:40:21 -03:00
David Capello
5ad681281d
Fix exporting slices data in JSON files on Export Sprite Sheet
2017-05-26 14:36:43 -03:00
David Capello
93d59f87e9
Fix RenderTaskJob compilation on MSVC
...
We cannot refer the "job" instance in the lambda captures on the same
statement on MSVC compiler.
2017-05-26 11:30:58 -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
adbcc75fad
Hide dithering options when we convert to non-Indexed
2017-05-23 16:00:33 -03:00
David Capello
89acb421e0
Remember ColorModeWindow position
2017-05-23 15:41:56 -03:00
David Capello
4fc19c5466
Change "old-ordered" dithering algorithm to just "old"
2017-05-23 14:56:06 -03:00
David Capello
bcdf598392
Add widget to choose dithering algorithm + matrix
2017-05-22 15:44:08 -03:00
David Capello
5ef6aac925
Add --dithering-matrix CLI option
...
Now the dithering matrix used in ordered dithering algorithm is configurable.
2017-05-19 15:49:31 -03:00
David Capello
4b7a90318a
Remove DocumentApi::flattenLayers()
2017-05-19 11:10:56 -03:00
David Capello
7837a123f8
Add option to merge layers in color mode conversion
2017-05-19 10:54:44 -03:00
David Capello
e3701940fb
Add friendly names for ChangePixelFormat command
2017-05-19 10:23:26 -03:00
David Capello
c3fcacf3fb
Preview the color conversion of the visible sprite area only
2017-05-18 15:19:57 -03:00
David Capello
131336d015
Add progress dialog/bar when we change color mode
...
Added a new app::RenderTaskJob to execute a lambda function as in a
background thread in a app::Job that can be used as a
render::TaskDelegate by some render functions.
2017-05-17 16:40:19 -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
5c07f86a66
Remove DocumentApi::setPixelFormat() member function
2017-05-17 13:57:36 -03:00
David Capello
16aeae0833
Add new ordered dithering algorithm
2017-05-17 13:32:34 -03:00
David Capello
cbee0862f3
Add a Color Mode conversion dialog with preview
2017-05-16 17:18:55 -03:00
David Capello
23272895c4
Move doc::DitheringMethod -> render::DitheringAlgorithm
2017-05-15 16:26:44 -03:00
David Capello
e4a4f44127
Add --color-mode CLI option
2017-05-15 15:21:02 -03:00
David Capello
212c3e5126
Don't show & character in Select > Color Range ( fix #1479 )
2017-05-03 16:16:41 -03:00
David Capello
3e3b0d8a35
Fix slice adjustments on Canvas Size and Sprite Size ( fix #1470 )
2017-04-26 16:14:11 -03:00
David Capello
c947425051
Enable "Use native mouse cursors" option if the platform supports native cursors
2017-04-21 15:34:50 -03:00
David Capello
2c0d0d3682
Add --slice and --split-slice CLI params ( #721 )
2017-04-11 18:45:51 -03:00
David Capello
1350d6d7f7
Add possibility to open multiple files at once ( fix #1163 )
2017-04-08 00:06:25 -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
d9be0572df
Fix change of properties to several layers at the same time
2017-04-05 16:01:18 -03:00
David Capello
1671411465
Add simple color selection for tag/user data colors
2017-04-04 20:02:29 -03:00
David Capello
01979f0cac
Select the valid tag for animation playback depending on the active timeline frame tag (related to #920 )
2017-03-29 21:18:29 -03:00
David Capello
60ce295870
Move timeline code to app/ui/timeline/ folder
2017-03-26 13:33:12 -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
60970b8eae
Remove unused code from ui::Button
...
Removed IButtonIcon interface and Button::m_drawType field.
2017-03-17 16:13:47 -03:00
David Capello
347ccfbb78
Add --list-slices CLI option
2017-03-16 10:35:26 -03:00
David Capello
9f76136876
Use std::string instead of char* in several places
...
This is useful to avoid creation of std::strings from const char* several times when it's not really needed.
2017-03-15 23:59:19 -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
76485d1e8a
Add more font extensions
2017-03-15 11:41:10 -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
bc4f8ad3e1
Rename newStyles -> styles
2017-03-13 22:31:57 -03:00
David Capello
0742dfad17
Fix some errors showing '&' char for the mnemonic text
2017-03-08 19:15:34 -03:00
David Capello
ff01a08b9e
Fix style of mini-buttons in keyboard shortcuts list
2017-03-08 17:04:02 -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
921c5c8ad1
Move ui::Separator drawing code to new styles
2017-02-17 18:23:21 -03:00
David Capello
2883a70e25
Fix Close button on About dialog
2017-02-17 13:59:17 -03:00
David Capello
17151cddcd
Move mnemonic key as a property of ui::Widget
...
In this was we can process the text string just one time to remove the
character preceded by '&' that will be finally acts as a mnemonic. This
simplifies the rendering and text measure code too.
2017-02-14 14:16:37 -03:00
David Capello
e6fd892a40
Change themes folder from "data/skins" to "data/themes"
2017-02-09 13:18:44 -03:00
David Capello
6c9c0066a0
Replace ui::CurrentTheme with ui::set/get_theme()
2017-02-08 14:50:58 -03:00
David Capello
47f3d540b7
Fix drawing UI text with TrueType fonts (related to #124 )
2017-02-06 17:58:55 -03:00
David Capello
11187a8d4f
Enable "Remove Layer" command if the layer is locked or hidden anyway
2017-01-31 10:20:45 -03:00
David Capello
f381cb972c
Improve filters preview performance ( fix #1400 )
...
Now several filter steps are applied in a background thread and a UI
timer refresh several rows in screen at the same time (instead of one
row per time). (This is something in my personal to-do list from long
time ago too.)
2017-01-31 09:59:09 -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
James Robinson
88d1165854
Add new color wheel for normal maps
2017-01-03 12:49:24 +00:00
David Capello
d19c033284
Add option to export resizing w/pixel aspect ratio
2016-12-29 11:22:16 -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
afdb6b511f
Fix all commands using uniqueCels() (sprite size, rotate/flip sprite, etc.)
...
We have to iterate all layers on commands that modify the whole
sprite. It doesn't matter if the layer is "browsable" (e.g. it's
expanded or collapsed).
2016-12-08 09:11:54 -03:00
David Capello
dc19c4b589
Merge branch 'master' into beta
2016-12-07 12:14:28 -03:00
David Capello
09ee71dede
Fix reducing background layer bounds on indexed mode after applying a filter
2016-12-07 11:55:56 -03:00
David Capello
b5679a3f82
Add navigation through .md files on BrowserView
2016-12-07 01:12:54 -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
54ef2eeb66
Merge branch 'master' into beta
2016-12-05 12:36:12 -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