diff --git a/rtgui/controlspotpanel.cc b/rtgui/controlspotpanel.cc index 6c64bb7e8..7e597fdd3 100644 --- a/rtgui/controlspotpanel.cc +++ b/rtgui/controlspotpanel.cc @@ -280,6 +280,12 @@ ControlSpotPanel::ControlSpotPanel(): colorMouseover.set_green(100. / 255.); colorMouseover.set_blue(0.); colorMouseover.set_alpha(1.); + + colorMouseovertext.set_red(0.6); + colorMouseovertext.set_green(100. / 255.); + colorMouseovertext.set_blue(0.); + colorMouseovertext.set_alpha(0.5); + // Nominal spot (transparent black) colorNominal.set_red(0.); colorNominal.set_green(0.); @@ -316,7 +322,7 @@ void ControlSpotPanel::render_id( // Render cell background color if (row[spots_.mouseover]) { - ct->property_background_rgba() = colorMouseover; + ct->property_background_rgba() = colorMouseovertext; } else { ct->property_background_rgba() = colorNominal; } @@ -334,7 +340,7 @@ void ControlSpotPanel::render_name( // Render cell background color if (row[spots_.mouseover]) { - ct->property_background_rgba() = colorMouseover; + ct->property_background_rgba() = colorMouseovertext; } else { ct->property_background_rgba() = colorNominal; } @@ -355,7 +361,7 @@ void ControlSpotPanel::render_isvisible( // Render cell background color if (row[spots_.mouseover]) { - ct->property_background_rgba() = colorMouseover; + ct->property_background_rgba() = colorMouseovertext; } else { ct->property_background_rgba() = colorNominal; } diff --git a/rtgui/controlspotpanel.h b/rtgui/controlspotpanel.h index d892be6ee..9d542c75b 100644 --- a/rtgui/controlspotpanel.h +++ b/rtgui/controlspotpanel.h @@ -388,7 +388,7 @@ private: Gtk::Frame* const excluFrame; // Row background color - Gdk::RGBA colorMouseover, colorNominal; + Gdk::RGBA colorMouseover, colorNominal, colorMouseovertext; // Treeview mutex MyMutex mTreeview;