mirror of
https://github.com/RGBCube/serenity
synced 2025-05-22 05:55:07 +00:00
22 lines
448 B
C++
22 lines
448 B
C++
/*
|
|
* Copyright (c) 2021, kleines Filmröllchen <filmroellchen@serenityos.org>.
|
|
*
|
|
* SPDX-License-Identifier: BSD-2-Clause
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
#include <AK/RefPtr.h>
|
|
#include <LibGUI/Label.h>
|
|
|
|
class WidgetWithLabel {
|
|
public:
|
|
WidgetWithLabel(RefPtr<GUI::Label> value_label)
|
|
: m_value_label(move(value_label))
|
|
{
|
|
}
|
|
RefPtr<GUI::Label> value_label() { return m_value_label; }
|
|
|
|
protected:
|
|
RefPtr<GUI::Label> m_value_label;
|
|
};
|