CVolume: consolidate fb->blit() calls

This commit is contained in:
Stefan Seyfried
2013-04-21 18:05:21 +02:00
parent 02621c0ce1
commit 6412b32182

View File

@@ -265,7 +265,6 @@ void CVolume::setVolume(const neutrino_msg_t key, const bool bDoPaint, bool nowa
volscale->reset();
refreshVolumebar(vol);
frameBuffer->blit();
}
neutrino_msg_data_t data;
@@ -349,7 +348,6 @@ void CVolume::setVolume(const neutrino_msg_t key, const bool bDoPaint, bool nowa
if(vol != g_settings.current_volume) {
vol = g_settings.current_volume;
refreshVolumebar(g_settings.current_volume);
frameBuffer->blit();
}
}
@@ -381,6 +379,7 @@ void CVolume::refreshVolumebar(int current_volume)
// progressbar
volscale->setValues(current_volume, 100);
volscale->paint();
frameBuffer->blit();
}
bool CVolume::changeNotify(const neutrino_locale_t OptionName, void * data)