David Capello
f01e5ad5f3
Add Move Slice tool
2017-03-16 12:08:56 -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
6c9c0066a0
Replace ui::CurrentTheme with ui::set/get_theme()
2017-02-08 14:50:58 -03:00
David Capello
d9817b888c
Fix Move tool w/auto select when a range is selected in the Timeline
2017-02-08 00:28:46 -03:00
David Capello
042b427f49
Merge branch 'master' into beta
2017-01-06 18:02:24 -03:00
David Capello
7c6d927eb1
Zoom tool now can be used in PlayState
2017-01-06 17:44:08 -03:00
David Capello
4892785de3
Fix ref layer movement avoiding jumps between 0 and -1
...
When the mouse cursor goes from 0 to -1, if we're using "int"
coordinates (regular cel coordinates), it's correct to use those exact
values (0 and -1). But when we're using ref layer/cel
coordinates ("float"), we want to use values like -0.4, -0.6, -0.8
before we reach -1.0.
2016-12-26 16:44:40 -03:00
David Capello
d6c5f1ecb2
Don't crash when using selection tool on a layer group
2016-12-08 09:37:28 -03:00
David Capello
f989dcd9e9
Merge branch 'master' into beta
2016-12-06 12:05:44 -03:00
David Capello
20a9df085b
Support symmetry at the center of one pixel ( fix #853 )
2016-12-05 15:20:17 -03:00
David Capello
396f5fb78f
Merge branch 'master' into beta
2016-12-02 19:13:08 -03:00
David Capello
15bf0948ba
Add support to use rectangular marquee/lasso tools w/right click
2016-11-30 21:07:30 -03:00
David Capello
2e457fecad
Add support to move layer groups with the move tool
...
Related to #1172 , #1318 , #454
2016-11-30 19:58:04 -03:00
David Capello
f57c298ad6
Merge branch 'master' into beta
2016-11-29 12:15:25 -03:00
David Capello
eacf28b65a
Add option to change the first frame number on the Timeline ( fix #1300 )
2016-11-22 18:05:56 -03:00
David Capello
57f51e65e2
Fix unused variable warning
2016-11-14 12:05:47 -03:00
David Capello
5c3f75c64b
Merge branch 'master' into beta
2016-11-07 18:17:42 -03:00
David Capello
1b2b98ec38
Fix bug which we can get stuck on MovingCelState ( fix #1315 )
2016-11-07 17:16:40 -03:00
David Capello
35c9bd3194
Move check that a ref layer cannot be transformed to StandbyState::transformSelection()
2016-11-07 10:30:40 -03:00
David Capello
609946c33f
Support resizing a reference cel with Move tool
2016-10-25 19:15:36 -03:00
David Capello
6ce73a831a
Don't allow draw/modify reference layers
2016-10-17 13:49:28 -03:00
David Capello
1b053de2f2
Fix eyedropper/move tool for reference layers
2016-10-13 19:58:42 -03:00
David Capello
e46d453356
Merge branch 'master' into beta
2016-09-23 13:21:51 -03:00
David Capello
d4c4cb5f72
Fix graphical glitches while painting ( fix #1262 )
2016-09-22 20:16:14 -03:00
David Capello
1404b0ce7d
Merge branch 'master' into beta
2016-09-16 16:02:26 -03:00
David Capello
a30b7c5217
Fix cursor flickering using simple crosshair with 400% scaling
2016-09-14 14:12:24 -03:00
David Capello
20b726f73b
Merge branch 'master' into beta
2016-08-31 19:53:52 -03:00
David Capello
5ecc356a41
Replace GPL license with the new EULA
2016-08-29 13:08:21 -03:00
David Capello
36bfa1d641
Merge branch 'beta' into layer-folder
2016-07-28 23:02:24 -03:00
David Capello
9c73841970
Move gfx::Transformation to app::Transformation
...
In this way gfx library doesn't depend on fixmath.
2016-07-11 15:40:27 -03:00
David Capello
ac20d1edfc
Fix some commands/editor states to check parent group editable/visible state too
2016-06-15 15:27:38 -03:00
David Capello
389ea666e5
Fix crash trying to paint in a group layer
2016-06-08 15:01:02 -03:00
David Capello
5d8af3ca36
Trim (or remove) cels automatically (when they are completely empty) ( fix #559 , fix #1111 )
2016-05-04 12:32:39 -03:00
David Capello
640025e84b
Fix selection UX to show white/black negative for the stroke
...
With this patch now we can use the selection tool in locked or hidden
layers, because the selection doesn't modify the layers (only the
selection). Also we can use the selection tool on any layer and we'll
always see the feedback stroke/shape/rectangle while we're creating
the new selection.
2016-05-02 18:42:02 -03:00
David Capello
fc0cebc0dd
Redraw editor only when selection handles must be redrawn
2016-04-25 15:26:46 -03:00
David Capello
a09b00dba8
Fix synchronization of different UI elements depending on the active tool
...
With this patch now the context bar shows the real active tool
preferences. For example, if we choose the option to use the Eraser
tool with right-click, now right-clicking will draw with the Eraser
brush size (instead of using the selected tool/left-click tool brush
size).
Changes:
* Removed the toolBox.activeTool() field from preferences
(as the option isn't persisted between sessions)
* Added an observable app::tools::ActiveToolManager class to sync all
UI elements that depend on the active tool and ink.
* Moved a lot of "active tool" logic from app::Editor to the
new ActiveToolManager
* Moved app::tools::ToolLoopManager::Pointer as an indepedent
app::tools::Pointer class
2016-04-25 15:20:53 -03:00
David Capello
5f90ef7c9b
Add properties in App to access directly to timeline/contextBar/workspace
2016-04-22 13:19:06 -03:00
David Capello
33003fb6f9
Show current grid tile in status bar when the grid is visible ( fix #1075 )
2016-04-19 15:51:34 -03:00
David Capello
065188aea3
Include <cstring> needed in standby_state.cpp
2016-04-19 14:24:27 -03:00
David Capello
87ef48b50b
Improve status bar with icons/automatically generated and re-used parts ( fix #752 )
2016-04-19 13:45:23 -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
e62f80842c
Avoid enter to tool loop after we select the tile
2016-03-19 12:04:39 -03:00
David Capello
30f4e995a3
Select a tile by double clicking over it ( fix #939 )
2016-03-19 11:33:05 -03:00
David Capello
ef4a4822da
Call onEnterState() from base class in SelectBoxState and StandbyState
2016-02-18 11:40:11 -03:00
David Capello
c49ec61fa0
Minor refactor: rename DocumentView::getEditor/Document() -> editor/document()
2016-02-13 01:33:43 -03:00
David Capello
6e6ee10872
Merge branch 'snapSymmetryHandlesToViewportEdge' of https://github.com/TheKK/aseprite into TheKK-snapSymmetryHandlesToViewportEdge
2015-12-08 15:27:17 -03:00
David Capello
562106c6f0
Add EditorDecorator::getInvalidDecoratoredRegion() needed in #873
2015-12-07 15:25:10 -03:00
Ying Ruei Liang (KK)
2537b76cda
Now the handles snap to the edge of viewport
2015-12-06 21:56:53 +08:00
David Capello
e944ce0052
Move Bind, Connection, Signal, Slot, etc. to base namespace
2015-12-04 15:17:42 -03:00