David Capello
f37ccdc578
Replace taocpp/json with dropbox/json11 which compiles on MSVC
2017-06-14 19:50:44 -03:00
David Capello
25b8b7098e
Add missing #include in load_matrix.h
2017-06-14 16:57:45 -03:00
David Capello
a20976d220
Move dithering matrices to extensions
2017-06-14 16:34:09 -03:00
David Capello
d0282d78f1
Don't create data/themes folder in Preferences
2017-06-14 12:06:55 -03:00
David Capello
7ba6893ba2
Change path of user extensions to extensions/ instead of data/extensions/
2017-06-14 12:06:30 -03:00
David Capello
919ce7c9d0
Uncompress extension in a folder named as the "name" attribute in the package.json file
2017-06-13 17:06:45 -03:00
David Capello
76df15d3c3
Add mnemonics to Extensions section in Preferences
...
Also fixed a problem using Alt+mnemonic on hidden buttons.
2017-06-13 12:04:40 -03:00
David Capello
587b8b6dd7
Get default palette from extensions
2017-06-13 12:03:16 -03:00
David Capello
c4d0273e4e
Update themes list when extensions are enabled/disabled
2017-06-13 11:51:49 -03:00
David Capello
511cf43484
Reload palettes when we enable/disable an extension
2017-06-12 18:08:02 -03:00
David Capello
a510643a7f
Add kPackageJson constant
2017-06-12 15:30:18 -03:00
David Capello
d0c1be871a
Merge branch 'multiple_layer_visibility'
2017-06-12 14:57:05 -03:00
David Capello
4cbe5a1079
Minor formatting
2017-06-12 14:55:38 -03:00
Chris Hill
cfd46a4ef8
Support hide/show multiple layers on Layer > Visible (Shift+X)
2017-06-12 14:51:02 -03:00
David Capello
70109e06f7
Disable libarchive tests and coverage
2017-06-12 13:20:32 -03:00
David Capello
a9e688989f
Implement Add/Uninstall extension ( #1403 )
...
- Added libarchive to uncompress .zip extensions
- Moved ListItem painting code to styles because we needed a selected+disabled state.
2017-06-12 12:38:53 -03:00
David Capello
950955787f
Load palettes from all possible places ( fix #757 )
...
- Extensions
- data/palettes/ in all locations
- palettes/ in the user dir
2017-06-10 17:12:55 -03:00
David Capello
b7b69ce538
Move palettes to extensions ( #1403 )
2017-06-10 16:44:19 -03:00
David Capello
199f56a5ad
Fix generation of theme.xml.h file with the new location of the default theme.xml
2017-06-10 15:10:42 -03:00
David Capello
27c4d832bf
First draft-implementation of extensions ( #1403 )
...
At the moment only themes are supported and some functionality is not
available yet (disabling an extension, uninstalling it, etc.)
2017-06-10 15:02:39 -03:00
David Capello
fc7f96149f
Add color names to apple-ii palette
2017-06-10 10:54:54 -03:00
David Capello
e53fd6f94c
Include the complete opaque c0 and c1 color in the dithered gradient (two more steps)
2017-06-09 18:56:39 -03:00
David Capello
6c4218a8ac
Fix bug w/gradient w/alpha < 0
...
As now we render the gradient, the RGB values are not premultiplied (as
with pixman).
2017-06-09 17:53:05 -03:00
David Capello
904d7dabe5
Avoid calling Vector2d::normalize()/magnitude() several times
2017-06-09 17:48:03 -03:00
David Capello
2a15c58b5b
Now DitheringSelector is used to select just a DitheringMatrix for gradients
2017-06-09 17:31:41 -03:00
David Capello
317b493fb7
Move gradient rendering code to render library
2017-06-09 17:18:28 -03:00
David Capello
0bab4e7ae7
Render the gradient with the dithering matrix directly
...
In this way we don't need a dithering algorithm anymore, because instead
of converting the RGB gradient to indexed using the dithering algorithm,
we render the gradient directly using the dithering matrix + the
gradient factor to choose one of the gradient colors.
2017-06-09 17:04:00 -03:00
David Capello
26bc2c70db
Now we render the gradient
2017-06-09 16:50:39 -03:00
David Capello
8399af9268
Fix crash in case that the news RSS is malformed
2017-06-09 12:45:39 -03:00
David Capello
b7b9300703
Add Amstrad CPC color palette
2017-06-06 15:08:43 -03:00
David Capello
1eea5ead48
Update README with new palettes
2017-06-02 12:49:59 -03:00
David Capello
dee5f327cb
Add CGA0/1/3rd palettes
2017-06-02 11:19:43 -03:00
David Capello
ff453e8e83
Add default ctor to doc::Remap()
2017-06-02 10:00:14 -03:00
David Capello
144139f49d
Add const modifier to doc::sort_palette() args
2017-06-02 09:59:31 -03:00
David Capello
2c02e67ebc
Update DitherItem preview when the palette is modified
2017-06-01 18:18:44 -03:00
David Capello
7a75751dd7
Move dithering algorithm to ordered_dither.cpp
2017-06-01 17:14:15 -03:00
David Capello
7a28606241
Avoid showing original sprite on the change "Color Mode" preview
2017-05-31 16:34:46 -03:00
David Capello
d5c47e2213
Make Entry fields bigger in ContextBar to avoid text scrolling
2017-05-31 16:21:34 -03:00
David Capello
ea130da9a7
Added new palettes by ENDESGA Studios
2017-05-31 10:14:00 -03:00
David Capello
f4fc77e050
Add search field on palette popup
2017-05-30 15:46:54 -03:00
David Capello
399314b407
Load preset palettes faster
...
Load all queued resources on each onTick() instead of one per tick.
2017-05-30 14:58:49 -03:00
David Capello
f1454da7c2
Add nyx8 color palette by Javier Guerrero
...
Source:
http://javierg-arts.deviantart.com/art/Nyx-Palette-8-colors-682788355
2017-05-30 14:39:51 -03:00
David Capello
018d5dc4a9
Fix some color indicators that aren't visible with specific selected colors
2017-05-30 14:38:48 -03:00
David Capello
afdf156a0e
Keep alpha picking colors from bottom slider in color wheel
2017-05-30 13:57:44 -03:00
David Capello
629c359627
Draw alpha slider in ColorSliders correctly
2017-05-30 13:52:53 -03:00
David Capello
1576e42ff2
Add alpha slider in ColorPicker ( #707 )
2017-05-30 13:38:40 -03:00
David Capello
b8aa45023a
Fix ColorWheel bottom slider
2017-05-30 11:55:56 -03:00
David Capello
e8c1975f63
Fix ColorWheel harmonies picker
2017-05-29 17:24:13 -03:00
David Capello
b7f8efc0a3
Add HSV-saturation/value sliders in ColorSpectrum/Wheel (related to #707 )
...
Simplified ColorSelectors using more shared code in the base class.
2017-05-29 16:42:27 -03:00
David Capello
29a49ad7fa
Add HSL color selection (related to #707 )
2017-05-29 14:20:42 -03:00