~aleteoryx/muditaos

ref: af04bd579a89998fb154b33a7cc795b77a6b67bb muditaos/module-gui/gui/widgets/ImageBox.hpp -rw-r--r-- 471 bytes
af04bd57 — Marcin Smoczyński add changelog for v0.55.1 5 years ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
// Copyright (c) 2017-2020, Mudita Sp. z.o.o. All rights reserved.
// For licensing, see https://github.com/mudita/MuditaOS/LICENSE.md

#pragma once

#include <BoxLayout.hpp>
#include <Image.hpp>

namespace gui
{
    class ImageBox : public HBox
    {

      public:
        ImageBox(
            Item *parent, const uint32_t &x, const uint32_t &y, const uint32_t &w, const uint32_t &h, Image *image);

        ~ImageBox() override = default;
    };

}; // namespace gui