David Capello
baa2f61c6b
Use base::get_temp_path() to get the temporary path
...
Unix-like systems use TMPDIR environment variable instead
of TEMP to indicate the temporary directory.
2015-03-26 09:32:48 -03:00
David Capello
e4a2b4a1ba
Catch exceptions loading bitmap fonts
...
As now loadBitmapFont() throws exception in case of error, we have to
catch the problem to avoid a crash/uncaught exception.
2015-03-26 09:31:32 -03:00
David Capello
995e09bb60
Fix how global she::System singleton is set
...
This is to avoid special cases were an exception is thrown,
the she::System is deleted, and (an invalid) g_instance is used to
log this last exception message.
2015-03-26 09:30:11 -03:00
David Capello
a37fd89404
Fix compilation problem in gfx::Rect with clang (related to #618 too)
2015-03-26 08:03:53 -03:00
David Capello
e1ef923ea5
Merge remote-tracking branch 'origin/master'
2015-03-26 07:33:07 -03:00
David Capello
3b8cc3b8ea
Merge remote-tracking branch 'origin/master'
2015-03-26 07:31:10 -03:00
David Capello
6f925ef161
Implement SkiaDisplay::flip()
2015-03-25 17:27:56 -03:00
David Capello
6e76d50864
Render SkiaWindow with scale factor
2015-03-25 17:27:43 -03:00
David Capello
7129873cd1
Implement SkiaSurface::applyScale()
2015-03-25 17:26:32 -03:00
David Capello
e0c78e0f94
Implement SkiaSurface::blitTo
2015-03-25 17:26:16 -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