David Capello
f55229f8f3
Fix crash closing all files & opening a new one when preview window was playing an animation
2017-09-04 12:29:10 -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
David Capello
607c4d139e
Add Cmd+K on macOS to open preferences (and remove old Ctrl+Shift+O)
2017-08-29 17:00:36 -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
1dd58ae48f
Update clip module
2017-08-28 10:10:37 -03:00
David Capello
cf3814bc20
Make Aseprite icon clickeable in Home tab
...
Just for fun (and so themes can customize the icon too with other colors)
2017-08-25 16:54:58 -03:00
David Capello
6721baa40e
Fix bug creating buggy macOS cursors with initWithCGImage
...
I'm not sure why the bug was caused (press mouse button, drag to the
edge, drag cursor back to the window, release button), but it looks like
using a NSBitmapImageRep and creating the NSImage with that bitmap
works properly.
2017-08-25 14:35:29 -03:00
David Capello
d674aa7330
Restore theme when we cancel preferences dialog
2017-08-22 15:44:44 -03:00
David Capello
17df809011
Fix memory leaks/crash when reloading theme several times
2017-08-22 14:54:08 -03:00
David Capello
04d9a83773
Add link to the discord server in Support section
2017-08-22 13:21:10 -03:00
David Capello
4c7a8a3402
Add links to the community site and chat server
2017-08-22 13:17:15 -03:00
David Capello
7fb7db9542
Use the same FT library reference on all loadTrueTypeFont() calls
2017-08-22 13:00:49 -03:00
David Capello
e392934afc
Add possibility to open broken .ase files on devmode
2017-08-22 09:03:17 -03:00
David Capello
d00db433fe
theme: Possibility to specify default screen/ui scaling
2017-08-18 19:23:23 -03:00
David Capello
a9c1b26db3
Fix reposition of windows when Screen/UI scaling is changed
2017-08-17 09:16:11 -03:00
David Capello
3eccadb681
Update preview window theme correctly when it's hidden
2017-08-17 09:14:32 -03:00
David Capello
c9f31bb07e
Minor refactor in CustomizedGuiManager
...
Now Shift+F1 rotates screen/UI scaling in reverse order.
2017-08-16 15:17:11 -03:00
David Capello
5d0f51abd3
Add Virtual Boy palette
2017-08-16 15:05:26 -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
c8c688beb2
Fix compilation of UI tests
2017-08-15 10:55:54 -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
42fe588283
Merge branch 'mujs-engine'
2017-08-11 17:32:24 -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
f470daa939
Fix crash creating/blitting a surface of empty bounds
2017-08-11 15:53:04 -03:00
David Capello
511a34116b
Update copyright year on .rc file
2017-08-11 11:19:32 -03:00
David Capello
4cc812823c
Fix crash opening Export Sprite Sheet dialog
2017-08-08 15:26:48 -03:00
David Capello
e372967cde
Fix bug using brush size on selection+snap to grid
...
Discussion: https://community.aseprite.org/t/snap-to-grid-problem/292
2017-08-08 14:31:27 -03:00
David Capello
16520dc384
Delete duktape submodule
2017-08-02 21:49:56 -03:00
David Capello
913a32fbab
Fix .ase specs
...
Don't use GitHub tables for the spec, they don't work for this kind of
documents. I've restored the old layout using just plain text to
describe chunks and fields.
2017-07-26 00:19:17 -03:00
David Capello
534458a2c1
Draw thumbnails inside cel box (item in #1271 )
2017-07-25 15:22:14 -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
4f4b21a521
Copy dependencies from Platforms section to "Windows dependencies" section
2017-07-24 15:05:16 -03:00
David Capello
83e6f877f5
Put all blending function definitions in blend_funcs.h
2017-07-19 10:44:21 -03:00
David Capello
c06ce39357
Remove rgba/graya_blender_normal() without opacity
2017-07-19 10:33:01 -03:00
David Capello
fd408247cf
Add some comments in rgba_blender_normal()
...
In this way we can see how we get the final blending formula which is
equivalent to Rc=(Sc*Sa + Bc*Ba*(1-Sa))/Ra
2017-07-18 23:33:54 -03:00
David Capello
b79512d3b4
Timeline: Fix bug painting marching ants ouside the cel bounds
2017-07-18 17:42:34 -03:00
David Capello
147f36077b
Timeline: Redraw only marching ants on timer tick ( fix #1537 )
2017-07-18 17:07:35 -03:00
David Capello
dd3ce20133
Minor changes in rgba_blender_normal() function
2017-07-18 17:05:33 -03:00
David Capello
7cbf5fd420
Add some simple benchmarks for color blending functions
2017-07-18 17:03:12 -03:00
David Capello
85bd973834
Minor change to F4 behavior
...
Switch edit mode+color popup visibility based on the popup visibility only.
v1.2-beta12
2017-07-04 14:09:50 -03:00
David Capello
cce73c4a75
Update hidden ColorPopup bounds correctly if the window is closed with the close button
2017-07-04 14:00:01 -03:00
David Capello
a519822a0e
Fix ColorPopup hot region behavior after F4 is used
2017-07-04 13:58:14 -03:00
David Capello
905894c0ee
Fix render_tests as now RGB checked bg makes alpha=255
2017-07-04 12:47:53 -03:00
David Capello
7504c6de08
Attach/detach wintab on WM_CREATE/WM_DESTROY messages
...
- Fixed call DestroyWindow() on ~WinWindow().
- Fixed usage of lparam on WM_CREATE as LPCREATESTRUCT
2017-07-04 12:47:00 -03:00
David Capello
14427e98af
Possibility to associate keyboard shorcuts to clear/link/unlink cels
2017-07-04 08:17:47 -03:00
David Capello
2161604921
Fix warning icon behavior on edit mode ( fix #1525 )
2017-07-03 23:30:24 -03:00