app: add support for color picking in "show all" mode

Add a show_all parameter to gimp_image_pick_color(), which, when
TRUE, allows picking colors outside the canvas bounds in sample-
merged mode.  Forward the display's "show all" mode through this
parameter where applicable (in particular, in the color-picker tool
and the pointer dockable).
This commit is contained in:
Ell
2019-09-04 18:10:24 +03:00
parent 8b90240928
commit 5e59e5c002
14 changed files with 74 additions and 17 deletions

View File

@ -763,6 +763,7 @@ gimp_cursor_view_cursor_idle (GimpCursorView *view)
if (gimp_image_pick_color (image, NULL,
int_x, int_y,
view->priv->shell->show_all,
view->priv->sample_merged,
FALSE, 0.0,
&sample_format, pixel, &color))