Commit Graph

5131 Commits

Author SHA1 Message Date
David Capello
3a9c2e8325 Fix "Export Sprite Sheet" for selected frames/layers
Now we can export a give group, layer, and (non-adjacent) selected
layers/frames.
2016-09-13 16:10:36 -03:00
David Capello
6377b550e3 Replace base::Signal/Observable* with obs::signal/observable
We can use the obs library directly for signal/slots and observable
objects.
2016-09-13 15:02:00 -03:00
David Capello
6bbd6b27ff Fix "Export Sprite Sheet" for selected layers using groups and children 2016-09-12 17:56:48 -03:00
David Capello
a104afc670 Merge branch 'master' into beta 2016-09-12 17:53:01 -03:00
David Capello
3ee397a0ec Delete all links after deleting the whole cel content (related to #1214) 2016-09-12 16:46:26 -03:00
David Capello
638206becd Don't destroy linked cels after moving the whole cel content (fix #1214) 2016-09-12 16:44:14 -03:00
David Capello
2e14064ef7 Fix crash when we switch to Home tab when blend mode is being changed (fix #1248) 2016-09-12 15:11:44 -03:00
David Capello
722b5163b9 Fix bug using paint bucket with symmetry when brush size > 1px (fix #1251) 2016-09-12 14:57:00 -03:00
David Capello
19545c12e3 Improve OS X performance using the same display's color space to blit to the screen 2016-09-12 13:40:47 -03:00
David Capello
5293d9cce5 Fix some bugs saving a palette in an image file (fix #1239)
* We cannot use an index greater than the palette size when we save a
  PNG file.
* Now we don't create an image bigger than the needed palette size.
* We use a background layer so the transparent index is not set with
  alpha=0 in the PNG encoder.
2016-09-12 12:56:00 -03:00
David Capello
3333855db3 Fix Alt+1, Alt+2, etc. shortcuts to change the selected tool brush (fix #1195) 2016-09-12 12:22:48 -03:00
David Capello
87a04f5c03 Add "View > Full Screen Mode" menu option 2016-09-12 12:16:29 -03:00
David Capello
5b8fcb576c Change F11 to F key to switch to the "advanced mode" 2016-09-12 11:41:58 -03:00
David Capello
2d2fb0038a Fix delta values with non-precise mouse wheels on OS X 2016-09-12 11:29:56 -03:00
David Capello
46619e9ff2 Improve RGB/HSB sliders look when they are smaller 2016-09-12 10:46:15 -03:00
David Capello
d97b14d18e Show Alpha slider like a grayscale slider 2016-09-09 20:23:39 -03:00
David Capello
b1661e910d Minor changes in ColorSliders 2016-09-09 20:23:22 -03:00
David Capello
954b45dd23 Now ColorBar buttons are reduced when the width is too small 2016-09-09 20:22:24 -03:00
David Capello
311d27078f Check min/max widgets size in ui::Box layout algorithm 2016-09-09 20:21:33 -03:00
David Capello
4a6d6951e3 Add support to reduce all children when a ui::Grid is too small 2016-09-09 20:20:44 -03:00
David Capello
52260c466d Add a "panic" button to reset screen/UI scaling options 2016-09-09 12:26:02 -03:00
David Capello
68fa996cc6 Move ui_scale option from experimental to general 2016-09-09 09:46:10 -03:00
David Capello
1570cb02ec Add EDG16 and EDG32 palettes (thanks to ENDESGA Studios)
Source: https://twitter.com/ENDESGA
2016-09-08 20:01:04 -03:00
David Capello
75894073d4 Make fg/bg color selector dialogs resizable (fix #1250) 2016-09-08 19:48:29 -03:00
David Capello
bd219ada10 Hide fg/bg color selector dialogs when we are not viewing a document 2016-09-08 16:53:11 -03:00
David Capello
4119962ee6 Remove Widget::onDisable/onDeselect() member functions
Replaced with an argument in onEnable/onSelect().
2016-09-08 15:53:10 -03:00
David Capello
1f81e9f8d1 Remove bool return type from PopupWindowPin::showPin() 2016-09-08 15:42:25 -03:00
David Capello
efe31b02d9 Save fg/bg color selector dialog positions between sessions (fix #1249) 2016-09-08 15:34:09 -03:00
David Capello
92db283cbc Show pin only in fg/bg color selector dialogs 2016-09-08 15:31:22 -03:00
David Capello
76fefe64f2 Fix several issues dropping pixels in MovingPixelState (fix #1241) 2016-09-07 10:40:32 -03:00
David Capello
5a55a9e276 Add support to load/save palettes from/to a list of hex values (.hex files) 2016-09-07 09:19:40 -03:00
David Capello
18f9d2478f Fix cryptic error message using "Repeat Last Export" in some special cases (fix #1247)
We cannot use the sprite sheet type to know if the last export was
already done/defined by the user for a new sprite. We need a special
field to indicate if the export was done and we can repeat it last
export with the same configuration.
2016-09-06 22:07:57 -03:00
David Capello
a9f3702ba4 Merge branch 'master' into beta 2016-09-06 12:46:37 -03:00
David Capello
1c88af5689 Fix tags information when empty frames are removed (fix #1244) 2016-09-06 12:06:00 -03:00
David Capello
6e5d312bdf Fix scrolling bug at the bottom of palette list the first time it popups 2016-09-05 13:02:52 -03:00
David Capello
4749001473 Now --palette changes the palette of the last sprite (fix #1245) 2016-09-05 11:59:25 -03:00
David Capello
7fe6037862 Cel position must be signed WORD in .ase format specs (fix #1246) 2016-09-05 09:20:49 -03:00
David Capello
f97dc79946 Update README matching the new license (fix #1243) 2016-09-01 15:06:46 -03:00
David Capello
20b726f73b Merge branch 'master' into beta 2016-08-31 19:53:52 -03:00
David Capello
5d00a6a737 Merge branch 'layer-folder' into beta (fix #454) 2016-08-31 18:49:34 -03:00
David Capello
bebbd71d31 Add simple crosshair using native mouse cursors (fix #1236) 2016-08-31 13:24:03 -03:00
David Capello
891e660355 Fix hotspot for scaled native custom cursors 2016-08-31 12:34:06 -03:00
David Capello
f1f6d0745d Fix crash in UI tests 2016-08-30 18:20:28 -03:00
David Capello
f1c9e77e43 Add mouse cursor scale option 2016-08-30 17:27:19 -03:00
David Capello
b80beb13ad Move native cursor preference from "Experimental" to "Cursors" section 2016-08-30 16:52:03 -03:00
David Capello
162cee2870 Use custom native mouse cursor on Skia/OSX port 2016-08-30 16:12:11 -03:00
David Capello
507e0f152b Use custom native cursors on Skia/Win port 2016-08-30 13:50:45 -03:00
David Capello
05e6147a1f Fix compilation error for old libpng versions 2016-08-30 12:26:30 -03:00
David Capello
b40e942aed Don't check sRGB profiles with libpng 2016-08-29 18:24:03 -03:00
David Capello
65a2d9a4ba Update clip library 2016-08-29 18:23:50 -03:00