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
David Capello
c297031152
Minor fix for Hue color slider in relative mode (from -180 to +180)
2017-05-26 15:55:53 -03:00
David Capello
b69e791207
Use color sliders for Hue/Saturation dialog
2017-05-26 15:40:21 -03:00
David Capello
9c39b4ad7a
Use full color range from [0,0xffff] in gradients
2017-05-26 15:13:26 -03:00
David Capello
158ace5e2c
Shift key can be used to snap angle on Gradient tool
2017-05-26 15:08:52 -03:00
David Capello
e316a49cb9
Fix crash using Import Sprite Sheet (active tool = nullptr)
2017-05-26 15:03:43 -03:00
David Capello
5ad681281d
Fix exporting slices data in JSON files on Export Sprite Sheet
2017-05-26 14:36:43 -03:00
David Capello
54e8a59cbd
Fix crash changing opaque/transparent color on MovingPixelsState state
...
The MovingPixelsState() ctor was generating a
MovingPixelsState::onTransparentColorChange() for the previous state
with a m_pixelsMovement==nullptr.
2017-05-26 12:00:15 -03:00
David Capello
93d59f87e9
Fix RenderTaskJob compilation on MSVC
...
We cannot refer the "job" instance in the lambda captures on the same
statement on MSVC compiler.
2017-05-26 11:30:58 -03:00
David Capello
239ac42378
Add Hue/Saturation filter ( fix #1186 )
...
Added new gfx::Hsl class to handle HSL color model(related to #707 and #1102 )
2017-05-24 19:07:10 -03:00
David Capello
b4ea90a266
Add Console::hasText() so tests can check if there are errors in the console
...
This is useful in case that we want to test (e.g.) save/load document
operations that print errors in the console. So checking the console
output (this hasText flag) we can determine if the operation was
completely successful or failed.
2017-05-24 14:55:13 -03:00
David Capello
6f09a826fd
Add assert on read_compressed_image()
2017-05-24 14:54:09 -03:00
David Capello
ae67cab015
Add dithering options for Gradient tool ( #418 )
2017-05-23 20:41:30 -03:00
David Capello
adbcc75fad
Hide dithering options when we convert to non-Indexed
2017-05-23 16:00:33 -03:00
David Capello
89acb421e0
Remember ColorModeWindow position
2017-05-23 15:41:56 -03:00
David Capello
4fc19c5466
Change "old-ordered" dithering algorithm to just "old"
2017-05-23 14:56:06 -03:00
David Capello
523b6a0a51
Show a DitheringSelector item in the combobox when it's closed
...
In this way we can show listbox/custom items in the combobox when we
select an item instead of showing text-only (the ui::Entry).
2017-05-23 13:41:11 -03:00
David Capello
bcdf598392
Add widget to choose dithering algorithm + matrix
2017-05-22 15:44:08 -03:00
David Capello
829cc9ebec
Fix ordered_dither_tests
2017-05-22 15:21:10 -03:00
David Capello
90132698a6
Move RenderTaskJob impl to render_task_job.cpp
2017-05-22 14:37:29 -03:00
David Capello
5ef6aac925
Add --dithering-matrix CLI option
...
Now the dithering matrix used in ordered dithering algorithm is configurable.
2017-05-19 15:49:31 -03:00
David Capello
4b7a90318a
Remove DocumentApi::flattenLayers()
2017-05-19 11:10:56 -03:00
David Capello
7837a123f8
Add option to merge layers in color mode conversion
2017-05-19 10:54:44 -03:00
David Capello
7eff2b83c4
Fail when an invalid algorithm is specified in --dithering-algorithm
2017-05-19 10:23:46 -03:00
David Capello
e3701940fb
Add friendly names for ChangePixelFormat command
2017-05-19 10:23:26 -03:00
David Capello
03276e0264
Fix ordered dithering issues converting transparent layers + alpha palette entries
2017-05-19 10:17:22 -03:00
David Capello
c3fcacf3fb
Preview the color conversion of the visible sprite area only
2017-05-18 15:19:57 -03:00
David Capello
131336d015
Add progress dialog/bar when we change color mode
...
Added a new app::RenderTaskJob to execute a lambda function as in a
background thread in a app::Job that can be used as a
render::TaskDelegate by some render functions.
2017-05-17 16:40:19 -03:00
David Capello
573cad4777
Add progress bar to color conversion
...
Unified render tasks stop/progress notifications in render::TaskDelegate
interface.
2017-05-17 15:25:40 -03:00
David Capello
7bc0c4fba5
Remove unused member variable from app::Job class
2017-05-17 14:00:47 -03:00
David Capello
5c07f86a66
Remove DocumentApi::setPixelFormat() member function
2017-05-17 13:57:36 -03:00
David Capello
16aeae0833
Add new ordered dithering algorithm
2017-05-17 13:32:34 -03:00
David Capello
cbee0862f3
Add a Color Mode conversion dialog with preview
2017-05-16 17:18:55 -03:00
David Capello
23272895c4
Move doc::DitheringMethod -> render::DitheringAlgorithm
2017-05-15 16:26:44 -03:00
David Capello
e4a4f44127
Add --color-mode CLI option
2017-05-15 15:21:02 -03:00
David Capello
1b57bb8ac3
Fix "height" field in the description of each data recovery view item
2017-05-10 15:13:30 -03:00
David Capello
d3ff1b8b14
Avoid clicking a bigger tag when we unfocus w/double-click
2017-05-10 15:09:08 -03:00
David Capello
97bfaa21ec
Add gradient tool ( fix #418 )
2017-05-04 10:38:34 -03:00
David Capello
212c3e5126
Don't show & character in Select > Color Range ( fix #1479 )
2017-05-03 16:16:41 -03:00
David Capello
8de967dd37
Change ink processing impl
2017-05-03 12:59:57 -03:00
David Capello
3e3b0d8a35
Fix slice adjustments on Canvas Size and Sprite Size ( fix #1470 )
2017-04-26 16:14:11 -03:00
David Capello
d009a54992
osx/skia: Add support for X1/X2Button
2017-04-25 21:42:46 -03:00
David Capello
616c83732a
x11: Implement setNativeMouseCursor()
2017-04-21 16:25:05 -03:00
David Capello
c947425051
Enable "Use native mouse cursors" option if the platform supports native cursors
2017-04-21 15:34:50 -03:00
David Capello
daf1e3fb3e
x11/skia: Fix problems saving window size on .ini file
2017-04-21 15:24:47 -03:00
David Capello
4542deaa0a
x11/skia: Add support for horizontal mouse wheel
2017-04-21 14:21:42 -03:00
David Capello
d08674704d
x11/skia: Add support for mouse wheel
2017-04-21 14:16:34 -03:00
David Capello
272f24ed3a
Exit correctly when the close button is pressed on X11/Skia port
2017-04-21 13:13:42 -03:00