Commit Graph

5613 Commits

Author SHA1 Message Date
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
David Capello
1bbaf60fd7 Add Event::MouseEnter/Leave events on X11/Skia port 2017-04-21 12:42:53 -03:00
David Capello
5e11bebaf0 Implement mouse events and display on Linux/Skia port 2017-04-20 16:33:05 -03:00
David Capello
706b9a84c6 Add a simple processing of the event queue on X11/Skia port 2017-04-19 19:35:26 -03:00
David Capello
8b0c269b56 Lock/unlock surface one time on ui::draw_text() 2017-04-19 19:32:18 -03:00
David Capello
cc7bde6cd1 Fix some compiler warnings (implicit casts & unused vars) 2017-04-19 19:26:23 -03:00
David Capello
7bc593ac34 Change Entry::maxSize property from size_t to int 2017-04-19 17:51:03 -03:00
David Capello
6829b3d5a0 Fix crash showing a layer name with " : " on the status bar
Bug reported here:
http://steamcommunity.com/app/431730/discussions/2/133262487502331720/
2017-04-17 09:36:09 -03:00
David Capello
73999c5415 Fix several issues with UI Scaling > 100% (fix #1456) 2017-04-15 08:13:20 -03:00
David Capello
87f3b578e5 Add a comment to ~PreviewEditor() 2017-04-14 15:28:46 -03:00
mooviies
36a85e6d3f Fixed crash upon destroying PreviewEditor (#1454) 2017-04-14 15:21:17 -03:00
David Capello
d4de15bfd7 Fix slice feedback when cel origin < (0,0) 2017-04-14 13:45:24 -03:00
David Capello
0c5bccfbdb Fix crash undoing/redoing while Cmd/Ctrl key is pressed to show cel auto-guides 2017-04-14 13:40:39 -03:00
David Capello
04475a825d Double-clicking a band on the Timeline will expand/collapse it (#920) 2017-04-14 13:18:01 -03:00