1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 19:47:46 +00:00

LibGUI: Split HorizontalSlider to separate header

This patch splits HorizontalSlider to separate header so it can be used
as a component in .gml files with new GML compiler.
This commit is contained in:
tetektoza 2023-10-03 20:59:23 +02:00 committed by Tim Schumacher
parent f47a14b9d6
commit 9deaa74ad6
7 changed files with 32 additions and 13 deletions

View file

@ -0,0 +1,27 @@
/*
* 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)
{
}
};
}