Commit Graph

3898 Commits

Author SHA1 Message Date
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
David Capello
2341d4e747 Remove unnecessary return statement 2015-08-18 19:28:49 -03:00
David Capello
b4568f1fdc Add some debug checks in ExpandCelCanvas 2015-08-18 18:34:58 -03:00
David Capello
c0e1852f9f Fix hiding brush preview in other editors when we change the active frame 2015-08-18 17:56:40 -03:00
David Capello
472a7abebd Rename Editor::m_mask_timer to m_antsTimer and m_offset_count to m_antsOffset 2015-08-18 15:46:17 -03:00
David Capello
1cd551554b Fix possible ambiguous condition on Render::renderLayer() 2015-08-18 14:29:17 -03:00
David Capello
137a09039f Remove unused variables 2015-08-18 14:28:50 -03:00
David Capello
4d5983f81b Fix generation of key down she::Events on Mac OS and Linux (fix #755) 2015-08-18 14:28:40 -03:00
David Capello
f34934c06c Add missing <typeinfo> header to compile on clang 2015-08-18 11:02:58 -03:00
David Capello
4dc6da286e Add zoom slider in StatusBar (issue #420) 2015-08-14 19:46:48 -03:00
David Capello
fa53692221 Remove the cel opacity slider from the status bar
It added more noise to the screen for a feature that is uncommonly used.
2015-08-14 15:37:21 -03:00
David Capello
e35f85bff7 Add "Edit > New Sprite from Selection" command 2015-08-14 15:23:56 -03:00
David Capello
383fd3f1ae Fix eyedropper for tiled mode (fix #529) 2015-08-14 14:28:46 -03:00
David Capello
8e47e507fd Fix Editor::screenToEditor() for sprite positions < (0,0) 2015-08-14 14:26:05 -03:00
David Capello
9966b48139 Add support to drag the selection in other editor when the active one is in MovingPixels state 2015-08-14 13:06:26 -03:00
David Capello
ab9d2da762 Fix shortcuts for Edit > Rotate menus 2015-08-14 11:00:19 -03:00
David Capello
56de0fe989 Fix rotation in straight angle (fix #592) 2015-08-14 10:57:40 -03:00
David Capello
a5536359bb Fix loading png files without alpha but with a specific RGB or GRAY transparent color 2015-08-14 10:37:26 -03:00
David Capello
953a626425 Fix brush preview hiding from secondary editors when we change the current frame 2015-08-14 10:15:38 -03:00
David Capello
75a743f141 Separate pivot visibility and location options 2015-08-14 10:09:15 -03:00