Various bugfix:

- pipette buttons are now mutually exclusive
- pipette from L curve (Lab tool) now works properly
- pipette from B curve (RGB tool) now works properly
- curve that doesn't handle the pipette mechanism hides the pipette button
- RGB components of the Tone Curves' pipette now displayed in red, green & blue
- the vertical line where the point will be inserted is displayed in grey and has a line's width of 2 pixels
This commit is contained in:
Hombre
2014-01-26 13:46:37 +01:00
parent dfdab88238
commit 2bd2f4cce2
12 changed files with 220 additions and 17 deletions

View File

@@ -294,6 +294,15 @@ void ImageArea::unsubscribe() {
listener->getToolBar()->stopEditMode ();
}
void ImageArea::getImageSize (int &w, int&h) {
if (ipc) {
w = ipc->getFullWidth();
h = ipc->getFullHeight();
}
else
w = h = 0;
}
void ImageArea::grabFocus (CropWindow* cw) {
focusGrabber = cw;