mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-10 13:00:29 +03:00
9deaa74ad6
This patch splits HorizontalSlider to separate header so it can be used as a component in .gml files with new GML compiler.
28 lines
459 B
C++
28 lines
459 B
C++
/*
|
|
* Copyright (c) 2018-2020, Andreas Kling <kling@serenityos.org>
|
|
* Copyright (c) 2022, the SerenityOS developers.
|
|
*
|
|
* SPDX-License-Identifier: BSD-2-Clause
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
#include <LibGUI/Slider.h>
|
|
|
|
namespace GUI {
|
|
|
|
class HorizontalSlider final : public Slider {
|
|
C_OBJECT(HorizontalSlider);
|
|
|
|
public:
|
|
virtual ~HorizontalSlider() override = default;
|
|
|
|
private:
|
|
HorizontalSlider()
|
|
: Slider(Orientation::Horizontal)
|
|
{
|
|
}
|
|
};
|
|
|
|
}
|