David Capello
f7b5304d77
Fix SelectTile command on tilemaps
2020-02-17 09:06:01 -03:00
David Capello
6b7a593858
Minor formatting change in SelectTileCommand
2020-02-14 14:32:28 -03:00
David Capello
30b2585037
Save grid bounds inside .aseprite files and doc::Sprite ( fix #688 )
2019-10-10 15:08:59 -03:00
David Capello
7594ebf25b
Generate selection boundaries automatically after transactions
...
Now Transaction::commit() will regenerate mask boundaries
automatically if in the middle of the transaction the document
selection was modified. This is the first step to finally remove
update_screen_for_document() and any kind of manual screen
refresh.
This will be useful for scripting functions that modify the selection
too, because we wouldn't need to regenerate the selection boundaries
automatically from the script or from app.refresh() Lua function.
Related to #378
2019-02-15 17:14:44 -03:00
David Capello
271865e13d
Remove unused Command::clone() member function
2019-01-07 17:03:38 -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
70629d6f89
Use Tx instead of Transaction in commands
2018-08-20 16:00:59 -03:00
David Capello
f2ed45e795
Replace base::UniquePtr -> std::unique_ptr
2018-08-08 17:27:26 -03:00
David Capello
9c79ea2b77
Rename app::Document -> Doc
2018-07-07 11:54:44 -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
5ecc356a41
Replace GPL license with the new EULA
2016-08-29 13:08:21 -03:00
David Capello
2ce09c53dd
Add customization for square aspect, draw from center, and move origin keys ( fix #1028 )
...
Some changes:
- Now ui::Keys aren't processed in app::tools side, they are processed
in Editor side and converted to ToolLoopModifiers flags.
- Replace ToolLoop::getSelectionMode -> ToolLoop::getModifiers()
2016-04-04 18:46:48 -03:00
David Capello
417e431a32
Add different selection modes to SelectTile command
...
Now we can add a tile using Shift+double click or substract one with
Shift+Alt+double click.
2016-03-19 12:09:03 -03:00
David Capello
30f4e995a3
Select a tile by double clicking over it ( fix #939 )
2016-03-19 11:33:05 -03:00