Added histogram profile button images, #4066

This commit is contained in:
Morgan Hardwood
2017-12-06 11:03:56 +01:00
parent edc1175271
commit 95af7dd65c
5 changed files with 855 additions and 0 deletions

View File

@@ -593,6 +593,8 @@ EditorPanel::EditorPanel (FilePanel* filePanel)
// Histogram profile toggle controls
toggleHistogramProfile = Gtk::manage (new Gtk::ToggleButton ());
Gtk::Image* histProfImg = Gtk::manage (new RTImage ("gamut-hist.png"));
toggleHistogramProfile->add (*histProfImg);
toggleHistogramProfile->set_relief (Gtk::RELIEF_NONE);
toggleHistogramProfile->set_active (options.rtSettings.HistogramWorking);
toggleHistogramProfile->set_tooltip_markup ( (M ("PREFERENCES_HISTOGRAM_TOOLTIP")));