~aleteoryx/muditaos

ref: 6108ebebd9d0cff061df9998d87fdef4c1f4758e muditaos/module-gui/gui/widgets/status-bar/Tethering.hpp -rw-r--r-- 699 bytes
6108ebeb — Bartosz [MOS-59] Change tethering text to icon in status bar 2 years ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
// Copyright (c) 2017-2023, Mudita Sp. z.o.o. All rights reserved.
// For licensing, see https://github.com/mudita/MuditaOS/LICENSE.md

#pragma once

#include "StatusBarWidgetBase.hpp"
#include <Label.hpp>
#include <gui/widgets/StatusBar.hpp>

namespace gui::status_bar
{
    /// widget drawn on the status bar showing current tethering state:
    class Tethering : public StatusBarWidgetBase<Image>
    {

      public:
        /// Phone mode widget class constructor
        /// @param parent parent item pointer
        /// @param x widget x position
        /// @param y widget y position
        Tethering(Item *parent, std::uint32_t x, std::uint32_t y);
    };

} // namespace gui::status_bar