@@ -1871,6 +1871,8 @@ void gui_init(dt_iop_module_t *self)
18711871 // Page 4-ways
18721872 self -> widget = dt_ui_notebook_page (g -> notebook , N_ ("4 ways" ), _ ("selective color grading" ));
18731873
1874+ const char * hue_picker_tooltip = _ ("pick opposite color from image\nctrl-click to pick selected color" );
1875+
18741876 dt_gui_box_add (self -> widget , dt_ui_section_label_new (C_ ("section" , "global offset" )));
18751877 sect = DT_IOP_SECTION_FOR_PARAMS (self , N_ ("offset" ));
18761878
@@ -1884,6 +1886,7 @@ void gui_init(dt_iop_module_t *self)
18841886 dt_bauhaus_slider_set_feedback (g -> global_H , 0 );
18851887 dt_bauhaus_slider_set_format (g -> global_H , "°" );
18861888 gtk_widget_set_tooltip_text (g -> global_H , _ ("hue of the global color offset" ));
1889+ dt_bauhaus_widget_set_quad_tooltip (g -> global_H , hue_picker_tooltip );
18871890
18881891 g -> global_C = dt_bauhaus_slider_from_params (sect , "global_C" );
18891892 dt_bauhaus_slider_set_soft_range (g -> global_C , 0. , 0.01 );
@@ -1904,6 +1907,7 @@ void gui_init(dt_iop_module_t *self)
19041907 dt_bauhaus_slider_set_feedback (g -> shadows_H , 0 );
19051908 dt_bauhaus_slider_set_format (g -> shadows_H , "°" );
19061909 gtk_widget_set_tooltip_text (g -> shadows_H , _ ("hue of the color gain in shadows" ));
1910+ dt_bauhaus_widget_set_quad_tooltip (g -> shadows_H , hue_picker_tooltip );
19071911
19081912 g -> shadows_C = dt_bauhaus_slider_from_params (sect , "shadows_C" );
19091913 dt_bauhaus_slider_set_soft_range (g -> shadows_C , 0. , 0.5 );
@@ -1924,6 +1928,7 @@ void gui_init(dt_iop_module_t *self)
19241928 dt_bauhaus_slider_set_feedback (g -> highlights_H , 0 );
19251929 dt_bauhaus_slider_set_format (g -> highlights_H , "°" );
19261930 gtk_widget_set_tooltip_text (g -> highlights_H , _ ("hue of the color gain in highlights" ));
1931+ dt_bauhaus_widget_set_quad_tooltip (g -> highlights_H , hue_picker_tooltip );
19271932
19281933 g -> highlights_C = dt_bauhaus_slider_from_params (sect , "highlights_C" );
19291934 dt_bauhaus_slider_set_soft_range (g -> highlights_C , 0. , 0.2 );
@@ -1944,6 +1949,7 @@ void gui_init(dt_iop_module_t *self)
19441949 dt_bauhaus_slider_set_feedback (g -> midtones_H , 0 );
19451950 dt_bauhaus_slider_set_format (g -> midtones_H , "°" );
19461951 gtk_widget_set_tooltip_text (g -> midtones_H , _ ("hue of the color exponent in mid-tones" ));
1952+ dt_bauhaus_widget_set_quad_tooltip (g -> midtones_H , hue_picker_tooltip );
19471953
19481954 g -> midtones_C = dt_bauhaus_slider_from_params (sect , "midtones_C" );
19491955 dt_bauhaus_slider_set_soft_range (g -> midtones_C , 0. , 0.1 );
0 commit comments