Commit Graph

759 Commits

Author SHA1 Message Date
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
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
David Capello
396f5fb78f Merge branch 'master' into beta 2016-12-02 19:13:08 -03:00
David Capello
7a0d6c7f9e Add command to change the layer opacity 2016-12-01 19:27:57 -03:00
David Capello
6c8186c531 Show all tools/quicktools in keyboard shortcuts dialog 2016-12-01 17:36:10 -03:00
David Capello
26b1a2ebb4 Add option to reduce opacity of non-active layers 2016-12-01 15:20:35 -03:00
David Capello
4813936a3a Add --oneframe CLI param to load just one frame 2016-12-01 12:06:35 -03:00
David Capello
83bd999f41 Move OpenFileCommand member functions to Params 2016-12-01 11:37:45 -03:00
David Capello
53d36b66be Don't write-lock the active sprite in PaletteSize 2016-12-01 10:41:52 -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
767976c6bc Add option to play all frames (ignoring tags) 2016-11-30 10:23:29 -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
c06ed1b993 Don't show errors if we cancel the sprite loading process 2016-11-22 14:01:17 -03:00
David Capello
f985e6c6c0 Some improvements to the color selection UI (#1019)
* Tab and Shift+Tab keys cycle through RGB/HSB text fields
* Sliders don't get the keyboard focus (only text fields)
* Up/Down keys increase/decrease the text field value
2016-11-21 18:03:06 -03:00
David Capello
128ba90394 Add ENABLE_SCRIPTING flag 2016-11-21 10:25:27 -03:00
David Capello
bc3e4ba3db Fix memory leaks in KeyboardShortcutsWindow 2016-11-17 18:18:50 -03:00
David Capello
4d897e1824 Fix memory leaks on KeyboardShortcutsCommand 2016-11-17 09:56:44 -03:00
David Capello
1b736aef85 Improve UX when opening file sequences
* Now we can select the specific files that are part of the sequence
* New checkbox do the same for all dropped files (fix #1284)
2016-11-15 18:11:47 -03:00
David Capello
1e5ae5e9cb Add missing cmd_open_file.h file in last commit 2016-11-14 20:00:44 -03:00
David Capello
2240742816 Avoid processing the same file two times when it's used to load a sequence
E.g. If we drop three files (1.png, 2.png, and 3.png), and we load 1.png
as a sequence, we don't want to ask for the third file.
2016-11-14 19:44:29 -03:00
David Capello
617b909e1e Fix bug closing the app when it's saving (fix #1326) 2016-11-14 17:01:41 -03:00
David Capello
c1e3054e3f Minor changes in preferences dialog labels 2016-11-14 16:13:00 -03:00
David Capello
441b835192 Add shorter invervals for the backup thread 2016-11-12 18:02:47 -03:00
David Capello
5c3f75c64b Merge branch 'master' into beta 2016-11-07 18:17:42 -03:00
David Capello
e89bea49df Fix RotateCommand for ref layer cels 2016-11-07 12:10:59 -03:00
David Capello
e4bcdbf131 FlipCommand can flip ref layer cels correctly 2016-11-07 11:47:56 -03:00
David Capello
8fd1bcec7c Resize cel bounds from ref layers on SpriteSizeCommand 2016-11-07 11:03:56 -03:00
David Capello
492e71918f Fix undo of a new ref layer 2016-11-02 16:10:42 -03:00
David Capello
ce6c85996e Update laf library (base/path is gone, use base/fs) 2016-11-01 19:14:05 -03:00
David Capello
f895938dbb Fix adding a reference layer with a different color mode 2016-11-01 19:02:11 -03:00
David Capello
2e66b227f6 Merge branch 'beta' into ref-layer 2016-10-31 20:15:41 -03:00
David Capello
c60e0b915c Merge branch 'master' into beta 2016-10-27 13:00:57 -03:00
David Capello
bcb775a88b Render reference layers only in the sprite editor 2016-10-26 15:16:22 -03:00
Keith Whitney
2d0dcc8613 Allow Esc key to close Layer Properties window 2016-10-24 23:31:21 -04:00
Keith Whitney
cf6cd534ef Allow Esc key to close Cel Properties window
Resolves aseprite/aseprite#964.
2016-10-24 23:31:21 -04:00
David Capello
6ce73a831a Don't allow draw/modify reference layers 2016-10-17 13:49:28 -03:00
David Capello
bc939d5638 New eyedropper mode to pick colors from reference layers 2016-10-13 21:19:25 -03:00
David Capello
1b053de2f2 Fix eyedropper/move tool for reference layers 2016-10-13 19:58:42 -03:00
David Capello
bf4d6f1e4e Ask for a file when we add a new reference layer
Also the new reference layer is added centered in the sprite and scaling
it to make it fully visible in the canvas.
2016-10-12 14:41:58 -03:00
David Capello
99f37ef242 Add LayerFlags::Reference flag to identify a reference layers
With this flag we can show reference layers in a special way on the
Timeline.
2016-10-04 20:06:24 -03:00
David Capello
7cf546c826 Add menu option to insert a reference layer 2016-10-04 19:55:30 -03:00
David Capello
8b9c5f4f27 Merge branch 'timeline-thumbnails' into beta 2016-09-26 11:39:40 -03:00
David Capello
e46d453356 Merge branch 'master' into beta 2016-09-23 13:21:51 -03:00
David Capello
3ba712f038 Fix bug assigning keys to menus w/o commands when we search (fix #1260) 2016-09-23 11:03:40 -03:00
David Capello
1cab8c3de4 Merge branch 'master' into beta 2016-09-20 11:06:38 -03:00