~aleteoryx/muditaos

ref: 1f9c6b4a5174aab1e88ac5f3bba1e1bc791eb207 muditaos/module-gui/gui/widgets/status-bar/Tethering.hpp -rw-r--r-- 802 bytes
1f9c6b4a — Maciej-Mudita [MOS-26] Add tethering info on status bar 3 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
25
26
// Copyright (c) 2017-2022, 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<Label>
    {

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

} // namespace gui::status_bar