Commit Graph

2979 Commits

Author SHA1 Message Date
David Capello
3b8cc3b8ea Merge remote-tracking branch 'origin/master' 2015-03-26 07:31:10 -03:00
David Capello
e3565946b4 Fix compilation of gfx::Rect on gcc 4.8.2 (part of #618) 2015-03-25 16:41:14 -03:00
David Capello
d242458d52 Avoid warning calling unknown ~NativeDialogs on gcc 2015-03-25 16:39:21 -03:00
David Capello
3e44399e4b Remove unused local variables 2015-03-25 16:38:56 -03:00
David Capello
c0697dfcef Implement SkiaSystem::loadSurface() and SkiaSurface::drawSurface() 2015-03-25 15:45:37 -03:00
David Capello
d816b18277 Define necessary SK_ constants to compile/link with Skia 2015-03-25 15:44:13 -03:00
David Capello
7eefe4e3c6 Minor adjustment for alpha=0 in floating tab borders 2015-03-24 15:19:42 -03:00
David Capello
4f0591c8b6 Remove load_bitmap_font() from Skia port 2015-03-24 12:12:05 -03:00
David Capello
e506387dad Add floating tabs in Tabs widget 2015-03-24 11:52:19 -03:00
David Capello
bab5d0c7e5 Minor change in ui::OverlayManager 2015-03-24 11:40:53 -03:00
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