File indexing completed on 2024-06-23 04:27:51

0001 /*
0002  *  SPDX-FileCopyrightText: 2022 Dmitry Kazakov <dimula73@gmail.com>
0003  *
0004  *  SPDX-License-Identifier: GPL-2.0-or-later
0005  */
0006 #ifndef KISOPACITYOPTION_H
0007 #define KISOPACITYOPTION_H
0008 
0009 #include <KisStandardOptions.h>
0010 
0011 class KisPainter;
0012 
0013 class PAINTOP_EXPORT KisOpacityOption : public KisStandardOption<KisOpacityOptionData>
0014 {
0015 public:
0016     using BaseClass = KisStandardOption<KisOpacityOptionData>;
0017 
0018     using BaseClass::BaseClass;
0019     using BaseClass::apply;
0020 
0021     quint8 apply(KisPainter* painter, const KisPaintInformation& info) const;
0022 };
0023 
0024 #endif // KISOPACITYOPTION_H