David Capello
e36aaa5dfc
Fix issue #197 - Index 0 is made transparent, even when it is not the transparent color
...
Now image_scale and ase_parallelogram_map_standard functions use the image
mask color.
2014-05-02 19:44:26 -03:00
David Capello
66564e354f
Fix issue #394 - crash when we cancel the file save operation
...
There were problems calling a pure virtual function (IFileOpProgress
implemented by OpenFileJob) when we are already in ~Job() dtor. So we've
to wait the background thread (added Job::waitJob() function) to join
the thread so it can use IFileOpProgress safely.
Also the save process of .ase files now can be cancelled (it wasn't
possible before).
2014-05-02 17:04:55 -03:00
David Capello
33753ccde8
.ase format: remove static members to save chunks
2014-05-02 14:59:20 -03:00
David Capello
d0c2107278
.ase format: write the header at the beginning of the process
...
This is a common issue when the save process fails, we get an .ase file
without header. So basically with this change we save the most important
information of the header first, and then save the rest of frames/layers
info. At the end we can save the file size.
- Other change: removed "current_frame_header" static variable.
2014-05-02 14:38:35 -03:00
David Capello
aaa662cf23
Implement CelProperties commands using DocumentApi::setCelOpacity
2014-05-02 12:10:29 -03:00
David Capello
049affae65
Timeline: Fix bug start cels movement with right-click
2014-05-02 11:56:18 -03:00
David Capello
f60d1c5c4f
Add "Cancel" option to cel_movement_popup (popup when you move cels in the Timeline)
2014-05-02 11:55:44 -03:00
David Capello
7a15f1c909
Merge remote-tracking branch 'origin/dev' into dev
2014-05-02 11:29:24 -03:00
David Capello
4946dd5ebb
Timeline: Fix problem clicking first and second frame
2014-05-02 11:28:44 -03:00
David Capello
d76f6f6716
Add DocumentApi::setCelOpacity()
2014-05-02 11:28:21 -03:00
David Capello
09027fdee4
Fix issue #258 - bug moving a cel from a transparent layer to background
...
The problem was in DocumentApi::moveCel(). We cannot move a Cel between
layers and frames at the same time easily (it's not possible to do it
without being in a temporal invalid state, e.g. where two cels are in the
same frame position). It's better if we create completely new cel for
the target and remove the previous one in all cases (undoers are already
prepared to do those operations correctly).
- Add Sprite::getImageRefs() member function.
2014-05-02 11:28:03 -03:00
David Capello
bee4dff5a8
Merge branch 'dev' of git@github.com:aseprite/aseprite.git into dev
2014-04-29 23:08:20 -03:00
David Capello
6edf02765a
Fix Graphics::fillAreaBetweenRects()
2014-04-29 23:07:25 -03:00
David Capello
62c5d5222f
Redraw editors when all layers are hidden/shown
2014-04-29 23:04:57 -03:00
David Capello
e363577e65
Better double-click: remove DoubleClickeable and make ui::Widget default behavior to convert double-clicks into mouse downs
2014-04-29 23:02:27 -03:00
David Capello
62fc42c24d
Timeline: Add icons to lock/unlock and hide/show all layers
2014-04-29 22:51:14 -03:00
David Capello
be13633d44
Merge branch 'dev' of git@github.com:aseprite/aseprite.git into dev
2014-04-29 01:21:43 -03:00
David Capello
f4a62493a2
Update TODO.md
2014-04-29 01:21:24 -03:00
David Capello
d470a6b78a
Fix Clear command to delete the selection first when the range is enabled in one frame/one layer
2014-04-29 01:19:39 -03:00
David Capello
0120ef58e1
AppMenuItem: fix updating enabled/checked state in popup menus (in timeline popups mainly)
2014-04-29 01:11:50 -03:00
David Capello
4d48e40484
Fix RemoveLayer command so it's disabled when we have no more layers to remove
2014-04-29 01:01:25 -03:00
David Capello
5601b07df6
Fix NewFrame command so it's enabled even when we don't have layers
2014-04-29 01:00:15 -03:00
David Capello
05d0eaee6d
Timeline: fix painting code for paddings area when we've removed all layers
2014-04-29 00:51:42 -03:00
David Capello
870a435cb6
Timeline: fix crash when we remove all layers (issue #393 )
2014-04-29 00:51:08 -03:00
David Capello
17e59bc9e5
And fix mouse wheel from Allegro 4.4 data
2014-04-28 22:07:01 -03:00
David Capello
a21febf6e8
Merge branch 'dev' of git@github.com:aseprite/aseprite.git into dev
2014-04-28 22:03:25 -03:00
David Capello
ec61c6b972
Add support for horizontal mouse wheel and scroll bar notifications (better support for trackpads)
...
WM_HSCROLL/WM_VSCROLL messages are used by some trackpads drivers to
notify about horizontal/vertical pan gestures.
2014-04-28 22:02:56 -03:00
David Capello
58720851c4
Update MiniEditor scroll properly when EditorView scroll changes
2014-04-28 01:45:22 -03:00
David Capello
4ea41e1024
Fix problem rendering underlined characters
2014-04-26 16:19:05 -03:00
David Capello
3935b10467
Merge remote-tracking branch 'origin/dev' into dev
2014-04-26 16:05:55 -03:00
David Capello
9fa0f4077b
Fix default MiniEditorWindow position
2014-04-26 16:05:29 -03:00
David Capello
5584424b79
Adjust windows position when ui::Manager (the main windows/display) is resized
2014-04-26 16:04:25 -03:00
David Capello
75591fa491
Fix animation playback in MiniEditor: now it handles frame duration correctly
2014-04-26 12:06:11 -03:00
David Capello
a411cd88d9
Merge branch 'dev' of git@github.com:aseprite/aseprite.git into dev
2014-04-26 11:34:46 -03:00
David Capello
99ca9f175e
Add View::attachedWidget() member function
2014-04-26 11:33:29 -03:00
David Capello
a6a383ebc8
Fix SkinTheme::paintView() to avoid the little white square in ListBox's bottom-right corner
2014-04-26 11:33:05 -03:00
David Capello
b7de0a9547
Don't reload the theme when the palette is modified
...
This was needed in the old days for 8bpp screens.
2014-04-26 11:22:21 -03:00
David Capello
6fa7abb812
Fix EditorView scrollbar painting code for the little square in the bottom-right corner
2014-04-26 11:16:49 -03:00
David Capello
15a3b6ac2c
Fix double-click issues
...
- Fix double-click behavior when double-clicks are generated from
Manager::generateMouseMessages().
- Add Widget::setDoubleClickeable/isDoubleClickeable() member functions
for widgets that accept double-clicks.
2014-04-26 11:09:59 -03:00
David Capello
5d824512c2
Fix SkinTheme::paintMenuItem() painting code
2014-04-25 08:59:00 -03:00
David Capello
af299eecc8
Hide mouse when it leaves the display
2014-04-25 08:58:19 -03:00
David Capello
95fbfd9fe7
Add a mutex to access to the FileSystemModule
v1.0.0-beta2
2014-04-24 08:51:59 -03:00
David Capello
b467e57ba3
Update the PaletteListBox view to show the scrollbar when palettes are added
2014-04-24 08:49:52 -03:00
David Capello
a711c8be17
Fix throw of exceptions in FileSystemModule ctor
2014-04-21 23:30:04 -03:00
David Capello
6634c12ad2
Fix problem selecting Default Ink each time we want to show other ink type
2014-04-21 22:23:22 -03:00
David Capello
3c4bbbe30c
Replace jwidget_set_min/max_size() with Width::setMin/MaxSize()
2014-04-21 22:15:29 -03:00
David Capello
b33357ed46
Remove base::string (std::string is good enough for utf8 strings)
2014-04-20 19:53:27 -03:00
David Capello
3322396357
Minor fixes
2014-04-20 17:41:59 -03:00
David Capello
47ee01c1a0
Proper handling of HRESULTs
2014-04-20 17:41:49 -03:00
David Capello
a35cb0d34d
Fix compilation errors (gcc)
2014-04-19 21:06:58 -03:00