Commit Graph

3927 Commits

Author SHA1 Message Date
David Capello
46309fe68d Focus Entry field when a Combobox receives the focus for first time
This is a partial revert of a0c2237839 patch.
2015-08-24 16:45:35 -03:00
David Capello
434059d517 Don't access to the first item in DirectDraw surfaces list outside the gfx critical region
This could be a fix for a long-standing crash in
gfx_directx_restore_surface() accesing to an invalid
memory address.
2015-08-24 12:48:27 -03:00
David Capello
04f07af173 Fix problem leaving dirty areas in the screen when we move a window 2015-08-24 11:56:40 -03:00
David Capello
a0c2237839 Fix hanging when switching focus between different editable comboboxes
This bug was fixed before with d1799c037a but
then returned with 549404c216
2015-08-24 11:37:35 -03:00
David Capello
549404c216 Fix tooltips visibility (fix #770)
TooltipManager uses filters to intercept a kMouseEnterMessage, if we
remove this kind of message for the TooltipManager itself (in sendMessage),
we never get that message so we never show the tooltip.

This problem was introduced in d1799c037a
to fix a problem with comboboxes.
2015-08-24 11:33:02 -03:00
David Capello
de3d4c3662 Improve performance flipping the dirty region only 2015-08-24 10:14:25 -03:00
David Capello
8cc3cf3eb8 Avoid assert() fail in configureAsBackground() call from NewSpriteFromSelectionCommand::onExecute() 2015-08-21 15:32:32 -03:00
David Capello
214f886a0e Fix bug showing invalid layer name in Layer Props dialog after "New Layer" command 2015-08-21 14:55:34 -03:00
David Capello
5dfe7b64ae Enter key closes Cel or Layer properties if children have the focus 2015-08-21 14:53:31 -03:00
David Capello
4b064333cc Add color harmonies in the ColorWheel widget (issue #707) 2015-08-21 13:27:58 -03:00
David Capello
b0877df0cb Show current color indicator in the color wheel 2015-08-21 12:34:06 -03:00
David Capello
be0a944cd8 Change opacity to 255 for layers and cels on "Background from Layer" 2015-08-21 11:09:02 -03:00
David Capello
b9af6c3b02 Fix LayerProperties to modify the layer when the timer event triggers 2015-08-21 11:03:59 -03:00
David Capello
f8254b01aa Add support to modify several cels' opacity using CelProperties dialog 2015-08-21 11:01:49 -03:00
David Capello
318f0d20e9 Don't lock the sprite to change the current layer in the current_editor 2015-08-21 10:03:04 -03:00
David Capello
d3232c82ff Restore layer/cel properties before the transaction just in case we caught an exception 2015-08-21 09:38:18 -03:00
David Capello
97ba169b95 Minor change for LockedDocumentException messages 2015-08-21 09:22:40 -03:00
David Capello
dc9ee103f0 Make CelProperties dialog non-modal 2015-08-21 08:35:29 -03:00
David Capello
5e4164d552 Put focus in layer name when LayerProperties window is shown 2015-08-21 08:27:13 -03:00
David Capello
5942e62277 Minor change in LayerPropertiesWindow 2015-08-21 08:26:45 -03:00
David Capello
728432f9e5 Convert "Layer Properties" dialog in a non-modal window 2015-08-21 00:44:28 -03:00
David Capello
bb9be0afb8 Use the generate widget in CelPropertiesCommand 2015-08-20 23:42:05 -03:00
David Capello
9662c0cb90 Add Ctrl+Backspace and Ctrl+Del to ui::Entry field (fix #769) 2015-08-20 23:31:46 -03:00
David Capello
dc33cf754b Copy background & grid preferences to the exported sprite sheet 2015-08-20 23:06:30 -03:00
David Capello
6dfc45ca31 Hide "Remap" when the sprite is RGB again (fix #766) 2015-08-20 22:48:25 -03:00
David Capello
ff9693b29d Add support to export all/selected/one layer/frame/frame tag
This commit includes support to export tagged frames using the command
line --frame-tag option.

Fix #415, fix #570, fix #607, fix #745
2015-08-20 22:30:33 -03:00
David Capello
d1799c037a Fix hanging when switching focus between different editable comboboxes 2015-08-20 22:04:28 -03:00
David Capello
4112b295c8 Add --layer as alias for --import-layer 2015-08-20 21:31:52 -03:00
David Capello
a20f2c5d6e Add -v as --verbose parameter 2015-08-20 21:29:47 -03:00
David Capello
0da853d091 Add -b as --batch parameter 2015-08-20 21:29:17 -03:00
David Capello
b0eeaf4327 Add alias() member to base::ProgramOptions::Option 2015-08-20 21:28:56 -03:00
David Capello
3326c94aec Fix padding and initial offset when pasting 16bpp images from Windows clipboard
Related to #759
2015-08-20 12:45:54 -03:00
David Capello
0d5ba77ba4 Add support to create palettes for Indexed images (fix #751) 2015-08-20 12:37:58 -03:00
David Capello
dd6c028477 Add handle to resize the palette (fix #754) 2015-08-20 12:08:08 -03:00
David Capello
aad84b1c7e Fix bug with initial stroke preview in the first tool loop mouse down 2015-08-20 10:54:47 -03:00
David Capello
6968b54367 Fix problems dragging-and-dropping cels from the outline 2015-08-20 10:51:41 -03:00
David Capello
7c2c2dacdc Fix problem calling Timeline::hitTest() which uses relative mouse pos 2015-08-20 10:50:47 -03:00
David Capello
ab88c65477 Remove unnecessary code in Timeline::updateByMousePos() 2015-08-20 10:50:08 -03:00
David Capello
d706d0c8fa Select the Editor when we click its tab (even when the tab is already selected)
With this change we generate an onSelectTab() when a tab is clicked
even when it's selected. This is useful to select the view related to
the tab when several selected tabs are visible at the same time.
2015-08-20 09:20:58 -03:00
David Capello
835fe40540 Fix problem detecting Timeline widgets when it's hidden 2015-08-20 09:09:49 -03:00
David Capello
7b0013d5a1 Fix pasting 16bpp images from Windows clipboard (fix #759) 2015-08-19 18:38:53 -03:00
David Capello
1bee62ce8a Call eyedropper with right-click only when we have the mouse capture (fix #706) 2015-08-19 18:05:03 -03:00
David Capello
2b4c531e8e Add possibility to scroll with right click 2015-08-19 18:00:51 -03:00
David Capello
c06cc876d1 Fix crash if the palette popup cannot be loaded
Related to #756
2015-08-19 17:50:54 -03:00
David Capello
96e4244304 Fix typo in HomeView::onRecoverSprites() 2015-08-19 17:37:08 -03:00
David Capello
7169e1eabf Hide "Recover Lost Sprites" when we delete all recovery data (fix #753) 2015-08-19 17:02:42 -03:00
David Capello
ccdaf0e239 Fix command name added in undo stack for NewFrameCommand variants 2015-08-19 16:44:59 -03:00
David Capello
ef16a9e57d Fix crash on copy & paste in same place (fix #758)
This crash happened when the selection was created from top to bottom.
2015-08-19 16:43:13 -03:00
David Capello
73c725827e Add "Duplicate Cels" command (fix #746) 2015-08-19 15:59:30 -03:00
David Capello
3e71647308 Paste image in viewport center if the original location center isn't visible (fix #642) 2015-08-19 14:48:16 -03:00