Files
MuditaOS/module-apps/TopBarManager.cpp
Alek Rudnik 7ccc68c202 [EGD-5832] Status bar widgets refactor
Status bar SIM widget refactor
Status bar time widget recfactor
Status bar lock widget refactor
Separation of status bar time widget and desktop main window time widget
Fixed issue with wrong calculation of timezone based time
2021-03-03 13:37:11 +01:00

24 lines
631 B
C++

// Copyright (c) 2017-2021, Mudita Sp. z.o.o. All rights reserved.
// For licensing, see https://github.com/mudita/MuditaOS/LICENSE.md
#include "TopBarManager.hpp"
#include "TopBar.hpp"
namespace app
{
void TopBarManager::enableIndicators(const gui::top_bar::Indicators &indicators)
{
topBarConfiguration.enable(indicators);
}
auto TopBarManager::getConfiguration() const noexcept -> const gui::top_bar::Configuration &
{
return topBarConfiguration;
}
void TopBarManager::set(gui::top_bar::TimeMode timeMode)
{
topBarConfiguration.set(timeMode);
}
} // namespace app