mirror of
https://github.com/mudita/MuditaOS.git
synced 2026-07-18 20:14:12 -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
21 lines
559 B
C++
21 lines
559 B
C++
// Copyright (c) 2017-2021, Mudita Sp. z.o.o. All rights reserved.
|
|
// For licensing, see https://github.com/mudita/MuditaOS/LICENSE.md
|
|
|
|
#pragma once
|
|
|
|
#include <TopBar.hpp>
|
|
|
|
namespace app
|
|
{
|
|
class TopBarManager
|
|
{
|
|
public:
|
|
void enableIndicators(const gui::top_bar::Indicators &indicators);
|
|
[[nodiscard]] auto getConfiguration() const noexcept -> const gui::top_bar::Configuration &;
|
|
void set(gui::top_bar::TimeMode timeMode);
|
|
|
|
private:
|
|
gui::top_bar::Configuration topBarConfiguration;
|
|
};
|
|
} // namespace app
|