Updated strings + Image preview now updates on changes in Preferences

... regarding Printer profile, intent or BPC
This commit is contained in:
Hombre
2017-01-01 02:03:44 +01:00
parent 23863aceca
commit e9df621d4b
7 changed files with 68 additions and 36 deletions

View File

@@ -795,15 +795,22 @@ void RTWindow::MoveFileBrowserToEditor()
}
}
void RTWindow::updateProfiles(const Glib::ustring &printerProfile, rtengine::RenderingIntent printerIntent, bool printerBPC)
{
epanel->updateProfiles(printerProfile, printerIntent, printerBPC);
for(auto panel : epanels) {
panel.second->updateProfiles(printerProfile, printerIntent, printerBPC);
}
}
void RTWindow::updateTPVScrollbar (bool hide)
{
fpanel->updateTPVScrollbar (hide);
epanel->updateTPVScrollbar (hide);
std::map<Glib::ustring, EditorPanel*>::const_iterator itr;
for(itr = epanels.begin(); itr != epanels.end(); ++itr) {
((*itr).second)->updateTPVScrollbar (hide);
for(auto panel : epanels) {
panel.second->updateTPVScrollbar (hide);
}
}
@@ -812,10 +819,8 @@ void RTWindow::updateTabsUsesIcons (bool useIcons)
fpanel->updateTabsUsesIcons (useIcons);
epanel->updateTabsUsesIcons (useIcons);
std::map<Glib::ustring, EditorPanel*>::const_iterator itr;
for(itr = epanels.begin(); itr != epanels.end(); ++itr) {
((*itr).second)->updateTabsUsesIcons (useIcons);
for(auto panel : epanels) {
panel.second->updateTabsUsesIcons (useIcons);
}
}
@@ -833,10 +838,8 @@ void RTWindow::updateHistogramPosition (int oldPosition, int newPosition)
{
epanel->updateHistogramPosition (oldPosition, newPosition);
std::map<Glib::ustring, EditorPanel*>::const_iterator itr;
for(itr = epanels.begin(); itr != epanels.end(); ++itr) {
((*itr).second)->updateHistogramPosition (oldPosition, newPosition);
for(auto panel : epanels) {
panel.second->updateHistogramPosition (oldPosition, newPosition);
}
}