mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-27 23:42:51 +02:00
CVolumeBar: rework volumebar handling
Use CComponenets and separates the gui part from driver part
- add new class CVolumeBar as CComponentsForm
- Various changes for reworked volume bar handling in some classes
- Move AudioMute() from CVolume to new class CAudioMute
- Use CComponentsPicture to paint muteicon
Origin commit data
------------------
Branch: ni/coolstream
Commit: 8baec6d62a
Author: Thilo Graf <dbt@novatux.de>
Date: 2013-05-04 (Sat, 04 May 2013)
------------------
This commit was generated by Migit
This commit is contained in:
@@ -184,12 +184,6 @@ void CColorSetupNotifier::setPalette()
|
||||
bool CColorSetupNotifier::changeNotify(const neutrino_locale_t, void *)
|
||||
{
|
||||
setPalette();
|
||||
#if 0
|
||||
/* recalculate volumebar */
|
||||
CVolume::getInstance()->Init();
|
||||
/* recalculate infoclock */
|
||||
CInfoClock::getInstance()->Init();
|
||||
#endif
|
||||
return false;
|
||||
}
|
||||
|
||||
@@ -249,8 +243,6 @@ bool CFontSizeNotifier::changeNotify(const neutrino_locale_t, void *)
|
||||
CNeutrinoApp::getInstance()->SetupFonts();
|
||||
|
||||
hintBox.hide();
|
||||
/* recalculate volumebar */
|
||||
CVolume::getInstance()->Init();
|
||||
/* recalculate infoclock */
|
||||
CInfoClock::getInstance()->Init();
|
||||
return true;
|
||||
|
Reference in New Issue
Block a user