Commit Graph

3917 Commits

Author SHA1 Message Date
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
David Capello
d0cca0c16a We do have to share AppRender between editors
In this way the preview image is visualized in multiple editors for
the same sprite.
2015-08-19 14:25:57 -03:00
David Capello
c2569060f3 Do not share the AppRender instance between editors 2015-08-19 13:05:45 -03:00
David Capello
22adb9d7d3 Do not share Ink instances between different tools::ToolLoop implementations (fix #764) 2015-08-19 12:58:56 -03:00
David Capello
b6744cc1f7 Remove context parameter from create_tool_loop_preview() 2015-08-19 12:54:57 -03:00
David Capello
a08352d4b5 Add minor ASSERT() in Render::renderLayer() to check preview image pixel format 2015-08-19 12:53:15 -03:00
David Capello
a39e3710ce Separate extra cel concept from app::Document into app::ExtraCel class 2015-08-19 10:03:29 -03:00
David Capello
b2049f7ce4 Don't destroy app::Document::m_imageCelBuffer 2015-08-19 08:39:48 -03:00
David Capello
3aa621535b Remove undefined BrushPreview::move() member function declaration 2015-08-18 21:35:50 -03:00
David Capello
dd11cffdb7 Use a persistent ImageBuffer for the app::Document's extra cel 2015-08-18 19:38:08 -03:00
David Capello
82243a0763 Add an assert in ToolLoopImpl to check that the editor document is equal to the context's active document 2015-08-18 19:29:37 -03:00