mirror of
https://github.com/mudita/MuditaOS.git
synced 2026-04-20 23:17:35 -04:00
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
24 lines
631 B
C++
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
|