Moved focus mask preview to clipped shadows/highlights section, uses large focus-screem icon, #4027

This commit is contained in:
Morgan Hardwood
2017-09-01 14:59:17 +02:00
parent 20a3ad9134
commit 1e36c564a7
14 changed files with 1309 additions and 49 deletions

View File

@@ -1361,13 +1361,13 @@ void CropWindow::expose (Cairo::RefPtr<Cairo::Context> cr)
imgH = cropHandler.cropPixbuf->get_height ();
exposeVersion++;
bool showcs = iarea->indClippedPanel->showClippedShadows();
bool showch = iarea->indClippedPanel->showClippedHighlights();
const bool showR = iarea->previewModePanel->showR(); // will show clipping if R channel is clipped
const bool showG = iarea->previewModePanel->showG(); // will show clipping if G channel is clipped
const bool showB = iarea->previewModePanel->showB(); // will show clipping if B channel is clipped
const bool showL = iarea->previewModePanel->showL(); // will show clipping if L value is clipped
const bool showFocusMask = iarea->previewModePanel->showFocusMask();
const bool showFocusMask = iarea->indClippedPanel->showFocusMask();
bool showcs = iarea->indClippedPanel->showClippedShadows();
bool showch = iarea->indClippedPanel->showClippedHighlights();
// While the Right-side ALT is pressed, auto-enable highlight and shadow clipping indicators
// TODO: Add linux/MacOS specific functions for alternative