1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-14 05:34:58 +00:00

LibGUI: Add ColorFilterer class

Widgets will inherit from ColorFilterer in order to create the
accessibility CommonMenu
This commit is contained in:
thankyouverycool 2022-09-26 08:48:50 -04:00 committed by Andreas Kling
parent c88d77361c
commit 032ca748c6

View file

@ -0,0 +1,22 @@
/*
* Copyright (c) 2022, the SerenityOS developers.
*
* SPDX-License-Identifier: BSD-2-Clause
*/
#pragma once
#include <LibGfx/Filters/ColorBlindnessFilter.h>
namespace GUI {
class ColorFilterer {
public:
virtual ~ColorFilterer() = default;
virtual void set_color_filter(OwnPtr<Gfx::ColorBlindnessFilter>) = 0;
protected:
ColorFilterer() = default;
};
}