Commit Graph

3310 Commits

Author SHA1 Message Date
David Capello
8f1ac5f488 Add PaletteView::getPaletteEntryBounds() to simplify paint/hit-test code 2015-03-20 08:44:39 -03:00
David Capello
a79acfd24c Handle mouse selection in PaletteView like in the Timeline 2015-03-19 19:45:44 -03:00
David Capello
811e56a819 Remove PaletteView::setBoxSize() member function 2015-03-19 19:45:31 -03:00
David Capello
e2b8d2be31 Draw PaletteView selection like Timeline selection 2015-03-19 19:45:12 -03:00
David Capello
7d104f9ec1 Add timeline_outline_width dimension in skin.xml 2015-03-19 19:23:12 -03:00
David Capello
cedab5b553 Add const modifier to Sprite::rgbMap() member function 2015-03-19 18:47:57 -03:00
David Capello
f9131449fb Fix flatten layers command for linked cels
Avoid using the same linked cel in different frames when we merge layers.
2015-03-19 17:37:22 -03:00
David Capello
9302c5d1bb Move logic to import sprite sheet inside ImportSpriteSheetCommand::onExecute 2015-03-19 16:20:33 -03:00
David Capello
af25d561c8 Mark document as saved after exporting it so we can load its settings if we use Import Sprite Sheet then 2015-03-19 16:05:41 -03:00
David Capello
c2c83a8d54 Import Sprite Sheet: select current document by default 2015-03-19 15:52:20 -03:00
David Capello
db17bacff3 Remember settings used to import a sprite sheet 2015-03-19 15:44:02 -03:00
David Capello
be1ed24847 Add import_sprite_sheet.xml widget 2015-03-19 15:21:28 -03:00
David Capello
671d6a6aac Merge branch 'master' of git@github.com:aseprite/aseprite.git 2015-03-19 14:40:17 -03:00
David Capello
9d3d3d1f17 Add padding parameters to export sprite sheet (related to #78) 2015-03-19 14:39:37 -03:00
David Capello
860bceca7f Don't pack generated sprite sheet from "Export Sprite Sheet" command 2015-03-19 10:23:57 -03:00
David Capello
63485449f6 Add an option in "Export Sprite Sheet" to open the generated sprite sheet 2015-03-19 10:17:40 -03:00
David Capello
62b9f30f92 Add operator| and operator& to gfx::Rect 2015-03-19 10:10:29 -03:00
David Capello
f5e9d3fe15 Add gfx::Rect::inflate(int) member function 2015-03-19 10:10:06 -03:00
David Capello
f9a444aed7 Show "Home" tab in first position when we open a file from command line 2015-03-18 17:34:22 -03:00
David Capello
48ff42e249 Merge branch 'gitter-badger-gitter-badge' 2015-03-18 16:46:24 -03:00
David Capello
1cfc1ec9eb Merge branch 'gitter-badge' of https://github.com/gitter-badger/aseprite into gitter-badger-gitter-badge
Conflicts:
	README.md
2015-03-18 16:46:09 -03:00
David Capello
42d72c7e7a Merge branch 'master' of git@github.com:aseprite/aseprite.git 2015-03-18 15:15:54 -03:00
David Capello
e0ff176236 Take care of linked cels when creating the sprite sheet texture 2015-03-18 15:15:30 -03:00
David Capello
97d59a94c9 Avoid updating the status bar from the Editor and Timeline at the same time (close #603) 2015-03-18 12:54:05 -03:00
David Capello
f475378d38 Add possibility to duplicate the current cel only (Alt+M) 2015-03-17 18:19:41 -03:00
David Capello
b4d3e5681e Merge branch 'master' of git@github.com:aseprite/aseprite.git 2015-03-17 17:30:26 -03:00
David Capello
5ef4cb1460 Change get_readable/writable_extensions() API from char* to std::string 2015-03-17 17:17:01 -03:00
David Capello
79c30a9ef3 Fix crash if we close a tab when we're dragging it 2015-03-17 16:56:55 -03:00
David Capello
50e9ed6326 Unify "Export Sprite Sheet" command with DocumentExporter 2015-03-17 16:43:51 -03:00
David Capello
4421f4cb10 Add support for native OS X clipboard 2015-03-17 14:46:08 -03:00
David Capello
750c7b5414 Don't copy LockMove flag in Document::copyLayerContent() for a second background 2015-03-17 10:07:12 -03:00
David Capello
31e3a693cd Fix copy-paste of Background layer between sprites
Insert the Background layer as the bottom one when we paste it.
2015-03-17 10:06:37 -03:00
David Capello
d1f3ea307c Draw background layer with an underline 2015-03-17 09:53:42 -03:00
David Capello
7391355184 Fix cmd::AddFrame::onMemSize() impl 2015-03-17 09:29:42 -03:00
David Capello
d9c155a0cd Add extra empty frames if it's necessary on a copy-paste operation of layers between different sprites 2015-03-17 09:29:24 -03:00
David Capello
38e67dbbb6 Fix bug drawing the Timeline range to be copied between documents 2015-03-16 19:53:41 -03:00
David Capello
0d9771f044 Fix minor typo 2015-03-16 19:53:20 -03:00
David Capello
b3232311ff Copy frame tags when we duplicate a sprite 2015-03-16 18:21:08 -03:00
David Capello
dae3a0dd81 Fix duplication of background layers when a sprite or layer is duplicated 2015-03-16 18:05:19 -03:00
David Capello
827eddd459 Fix problem copying background cels in indexed images
Now index 0 is persisted in the copy.
2015-03-16 18:04:57 -03:00
David Capello
0350ac4bbe Initial work on Skia backend (WIP) 2015-03-16 15:05:13 -03:00
David Capello
a67c7bb1b2 Merge pull request #609 from aisamanra/master
Small fixes needed to build on clang/gcc
2015-03-16 10:19:49 -03:00
David Capello
35eddf1f08 Add missing "base/base.h" to use uint32_t (fix undo_tests compilation) 2015-03-16 09:13:54 -03:00
Getty
85c569b2f1 Small fixes needed to build on Linux: missing #includes and shadowed templates 2015-03-14 17:28:02 -07:00
David Capello
5ffdef5959 Fix problems showing native Win32 open/save dialog when we specify just a folder 2015-03-12 19:48:27 -03:00
David Capello
30052dbd9e Show internal Win32 error if we use GetOpenFileName Win32 API function incorrectly 2015-03-12 19:47:44 -03:00
David Capello
6800302d34 Fix drag-and-drop of a future frame after a frame in the past 2015-03-12 19:15:42 -03:00
David Capello
602ca6a7b7 Center icons of timeline
Just in case we want to make timeline's cels biggers in the future.
2015-03-12 17:25:04 -03:00
David Capello
5a95c6a48b Adjust frame tags when we move/copy frames 2015-03-12 16:44:42 -03:00
David Capello
d36f10ee02 Add "Set Loop Section" option in frame popup menu 2015-03-12 15:37:09 -03:00