mirror of
https://github.com/mudita/MuditaOS.git
synced 2026-02-23 18:26:49 -05:00
Created first version of onBoarding application. Added welcome window, configuration start window and adopted language window. Small Icon GUI refactor. AppManager language copy removed.
27 lines
570 B
C++
27 lines
570 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 <BoxLayout.hpp>
|
|
#include <Text.hpp>
|
|
#include <Image.hpp>
|
|
|
|
namespace gui
|
|
{
|
|
class Icon : public VBox
|
|
{
|
|
public:
|
|
Icon(Item *parent,
|
|
const uint32_t &x,
|
|
const uint32_t &y,
|
|
const uint32_t &w,
|
|
const uint32_t &h,
|
|
const UTF8 &imageName,
|
|
const UTF8 &text);
|
|
|
|
~Icon() override = default;
|
|
};
|
|
|
|
}; // namespace gui
|