Fix broken RGB indicator bar

This commit is contained in:
heckflosse
2018-08-23 16:11:11 +02:00
parent 3e7f19c81b
commit 79707ed1ea
3 changed files with 4 additions and 5 deletions

View File

@@ -353,18 +353,17 @@ void HistogramPanel::toggleFreeze ()
return;
}
void HistogramPanel::pointerMoved (bool validPos, Glib::ustring profile, Glib::ustring profileW, int x, int y, int r, int g, int b)
void HistogramPanel::pointerMoved (bool validPos, const Glib::ustring &profile, const Glib::ustring &profileW, int x, int y, int r, int g, int b, bool isRaw)
{
if (!validPos) {
// do something to un-show vertical bars
histogramRGBArea->updateBackBuffer(-1, -1, -1);
histogramRGBArea->queue_draw ();
} else {
// do something to show vertical bars
histogramRGBArea->updateBackBuffer(r, g, b, profile, profileW);
histogramRGBArea->queue_draw ();
}
histogramRGBArea->queue_draw ();
}
/*