diff --git a/Userland/Applications/MouseSettings/MouseWidget.cpp b/Userland/Applications/MouseSettings/MouseWidget.cpp index 08c630381a..9ab3f968ab 100644 --- a/Userland/Applications/MouseSettings/MouseWidget.cpp +++ b/Userland/Applications/MouseSettings/MouseWidget.cpp @@ -8,6 +8,7 @@ #include #include +#include #include #include #include diff --git a/Userland/Applications/SoundPlayer/SoundPlayerWidget.h b/Userland/Applications/SoundPlayer/SoundPlayerWidget.h index 6eb34c66dc..43ed95f67a 100644 --- a/Userland/Applications/SoundPlayer/SoundPlayerWidget.h +++ b/Userland/Applications/SoundPlayer/SoundPlayerWidget.h @@ -13,6 +13,7 @@ #include #include #include +#include #include #include #include diff --git a/Userland/Applications/VideoPlayer/VideoPlayerWidget.cpp b/Userland/Applications/VideoPlayer/VideoPlayerWidget.cpp index dd015ea748..c6cc777ee6 100644 --- a/Userland/Applications/VideoPlayer/VideoPlayerWidget.cpp +++ b/Userland/Applications/VideoPlayer/VideoPlayerWidget.cpp @@ -10,6 +10,7 @@ #include #include #include +#include #include #include #include diff --git a/Userland/Demos/WidgetGallery/GalleryWidget.h b/Userland/Demos/WidgetGallery/GalleryWidget.h index 1b271a3d61..89322d0ab0 100644 --- a/Userland/Demos/WidgetGallery/GalleryWidget.h +++ b/Userland/Demos/WidgetGallery/GalleryWidget.h @@ -8,6 +8,7 @@ #include #include +#include #include #include #include diff --git a/Userland/Libraries/LibGUI/HorizontalSlider.h b/Userland/Libraries/LibGUI/HorizontalSlider.h new file mode 100644 index 0000000000..92ad9caeea --- /dev/null +++ b/Userland/Libraries/LibGUI/HorizontalSlider.h @@ -0,0 +1,27 @@ +/* + * Copyright (c) 2018-2020, Andreas Kling + * Copyright (c) 2022, the SerenityOS developers. + * + * SPDX-License-Identifier: BSD-2-Clause + */ + +#pragma once + +#include + +namespace GUI { + +class HorizontalSlider final : public Slider { + C_OBJECT(HorizontalSlider); + +public: + virtual ~HorizontalSlider() override = default; + +private: + HorizontalSlider() + : Slider(Orientation::Horizontal) + { + } +}; + +} diff --git a/Userland/Libraries/LibGUI/Slider.cpp b/Userland/Libraries/LibGUI/Slider.cpp index 8dfaef568e..fad8aee4ba 100644 --- a/Userland/Libraries/LibGUI/Slider.cpp +++ b/Userland/Libraries/LibGUI/Slider.cpp @@ -6,6 +6,7 @@ */ #include +#include #include #include #include diff --git a/Userland/Libraries/LibGUI/Slider.h b/Userland/Libraries/LibGUI/Slider.h index 4b7bf837dd..c9b4474483 100644 --- a/Userland/Libraries/LibGUI/Slider.h +++ b/Userland/Libraries/LibGUI/Slider.h @@ -82,17 +82,4 @@ private: } }; -class HorizontalSlider final : public Slider { - C_OBJECT(HorizontalSlider); - -public: - virtual ~HorizontalSlider() override = default; - -private: - HorizontalSlider() - : Slider(Orientation::Horizontal) - { - } -}; - }