Commit Graph

5657 Commits

Author SHA1 Message Date
David Capello
fe5d3236a3 Save/restore opacity & blend mode correctly from recovery data 2017-04-13 16:09:29 -03:00
David Capello
d1508ce119 Rename PART_LAYER* to PART_ROW 2017-04-12 16:59:17 -03:00
David Capello
42b8570635 Rename Timeline::regenerateLayers -> regenerateRows 2017-04-12 16:46:40 -03:00
David Capello
36f775c555 Move Timeline::Row public variable members to private 2017-04-12 16:24:43 -03:00
David Capello
a40691afa8 Rename Timeline::LayerInfo -> Row 2017-04-12 16:11:35 -03:00
David Capello
fa49673c46 Move internal Timeline structs from timeline.h to timeline.cpp 2017-04-12 15:53:54 -03:00
David Capello
097efa4cc2 Unify slice/move_slice tools 2017-04-12 15:40:27 -03:00
David Capello
fece0cf025 Minor fix with includes
My mistake: <cstring> for std::strlen() and <cstdlib> for std::strtol().
2017-04-12 13:03:45 -03:00
David Capello
5cfb0cd189 Fix gcc compilation 2017-04-12 12:52:28 -03:00
David Capello
80c61ca926 Export slice data in .aseprite-data file (#721) 2017-04-12 12:35:13 -03:00
David Capello
5e1c5af423 Restore slice user data correctly from undo/redo information 2017-04-12 11:51:29 -03:00
David Capello
02b225868d Fix slices' user data serialization on .ase format 2017-04-12 08:57:02 -03:00
David Capello
2c0d0d3682 Add --slice and --split-slice CLI params (#721) 2017-04-11 18:45:51 -03:00
David Capello
5888db011c Avoid assert fail when resizing palette 2017-04-10 18:03:00 -03:00
David Capello
ea0c920815 Fix several keyboard issues on macOS
* Fixed Cmd+Alt+Shift+S keyboard shortcut on Spanish keyboard layout
* Fixed Dvorak - QWERTY Cmd keyboard layout
* Fixed keyboard shortcuts without modifiers on Dvorak layout.  E.g. F
  key on QWERTY is U on Dvorak, so it now selects the Rectangle tool
  instead of switching to advance mode/full screen)
2017-04-10 17:25:56 -03:00
David Capello
739e1078a7 Add minor TODO comment in keys.h 2017-04-10 14:44:32 -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
eee87ed1ec Try fix gcc compiler error 2017-04-07 11:23:52 -03:00
David Capello
4f5127fdba Improve canvas size UI
Now we can resize from corners (fix #1394) or move the whole canvas to
other position dragging the box from the center.
2017-04-07 10:29:20 -03:00
David Capello
4250809b1e Add auto-scroll on moving cel & moving selection states 2017-04-07 08:37:35 -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
e5c15161e8 Add a new mouse cursor to move selection edges
With this change the app-specific cursors were removed from the ui library. Maybe it needs some clean-up for following versions.
2017-04-06 18:41:18 -03:00
David Capello
90c364fe30 Add possibility to drag & drop the selection 2017-04-06 15:26:01 -03:00
David Capello
5246c8341a Minor format fix in mask_boundaries.cpp 2017-04-06 15:22: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
a660043d6d Remove commented line of code 2017-04-04 20:04:15 -03:00
David Capello
1671411465 Add simple color selection for tag/user data colors 2017-04-04 20:02:29 -03:00
David Capello
855be8f05f Fix regression w/Preview close button
Now it deselects the 1:1 button in the toolbar again.
2017-03-30 16:27:18 -03:00
David Capello
9d2e542b53 Show all frame tags again in some special cases
When we add/remove frame tags or change the active document we have to show all tags again. Related to #920
2017-03-30 15:25:35 -03:00
David Capello
04a3729c03 Show a shadow for unfocused frame tags
Related to #920
2017-03-30 13:35:04 -03:00
David Capello
9f594e8aa3 ft lib needs harfbuzz lib/include dirs
Probable fix for #1440
2017-03-30 10:00:14 -03:00
David Capello
293f14cf42 Fix window buttons
- Fixed regression introduced in f4c6c92dab
- Removed SkinButton template
2017-03-29 21:59:04 -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
6f750b1b50 Move AniControls widget to app/ui/timeline/ folder 2017-03-29 20:46:56 -03:00
David Capello
f4c6c92dab Add button to collapse/expand tags (fix #920) 2017-03-29 20:39:19 -03:00
David Capello
c23967b547 Fix soft light layer blending mode 2017-03-29 17:35:09 -03:00
David Capello
76df84491e Support horizontal/vertical symmetry at the same time (fix #1190) 2017-03-27 15:27:37 -03:00
David Capello
043489e532 Color frame tag lines (related to #920) 2017-03-27 12:32:39 -03:00
David Capello
054d3b139a Minor change to initialize m_tagBands in Timeline ctor 2017-03-26 21:54:08 -03:00
David Capello
27bc151a37 Improve handling of overlapping frame tags in the Timeline (fix #768) 2017-03-26 21:52:50 -03:00
David Capello
2c2f29b87a Set default color for slices loaded from .aseprite-data 2017-03-26 21:49:48 -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
fb64d5406a Add some colors for cel edges/guides in doc pref 2017-03-23 20:23:25 -03:00
David Capello
37748c3783 Add automatic cel guides when Ctrl/Cmd is pressed 2017-03-23 00:57:21 -03:00
David Capello
dfcfab3bb3 New license for default font and theme
In this way it's easier to create derivated themes.
2017-03-22 23:54:33 -03:00
David Capello
abb31c1189 Remove unused file from default theme 2017-03-22 23:53:01 -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
bc01f16a4e Move painting code for checkbox & radio button to theme styles 2017-03-17 15:43:42 -03:00