2969 Commits

Author SHA1 Message Date
David Capello
fc48164f9d Make bitmap font rendering independent on Allegro FONT
* Change font.png/minifont.png to RGBA to simplify bitmap font reader
* Add she::LockedSurface::drawColoredRgbaSurface()
* Add CommonLockedSurface and CommonFont
* Remove she::System::defaultFont()
* Add she::System::loadBitmapFont()
2015-03-24 09:18:23 -03:00
David Capello
f71a377a4f Fix problem with the first drag-and-drop on Tabs widget 2015-03-23 16:37:50 -03:00
David Capello
d6ecdefe22 Destroy "remap" data in ColorBar when we change to another document
At the moment this "remap" data is temporal in ColorBar, but maybe it
should be inside app::Document.
2015-03-23 14:55:34 -03:00
David Capello
fd62a60472 Save ColorBar box size in preferences 2015-03-23 14:39:21 -03:00
David Capello
a1d2b5e0dc Change palette view's box size with Ctrl+mouse wheel 2015-03-23 13:28:16 -03:00
David Capello
b13601117f Add option to "remap" colors after a drag-and-drop (related to #563) 2015-03-23 12:57:59 -03:00
David Capello
d14e4e8896 Add support to drag-and-drop colors in ColorBar/PaletteView (fix #37) 2015-03-23 12:25:32 -03:00
David Capello
d41b08caa8 Add UI to drag and drop colors in PaletteView 2015-03-20 15:29:44 -03:00
David Capello
26970832ac PaletteView: highlight selection outline when the mouse is over it 2015-03-20 14:46:48 -03:00
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