mirror of
https://github.com/mudita/MuditaOS.git
synced 2026-01-25 06:18:18 -05:00
Applications configure the top bar once for all their windows. Sometimes, windows need to configure top bars with its configuration.
18 lines
492 B
C++
18 lines
492 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"
|
|
|
|
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;
|
|
}
|
|
} // namespace app
|