File indexing completed on 2024-12-22 04:10:03
0001 /* 0002 * SPDX-FileCopyrightText: 2023 Dmitry Kazakov <dimula73@gmail.com> 0003 * 0004 * SPDX-License-Identifier: GPL-2.0-or-later 0005 */ 0006 0007 #ifndef KISLAZYCREATETRANSFORMMASKKEYFRAMESCOMMAND_H 0008 #define KISLAZYCREATETRANSFORMMASKKEYFRAMESCOMMAND_H 0009 0010 #include "kis_types.h" 0011 #include "kis_command_utils.h" 0012 0013 class KRITAIMAGE_EXPORT KisLazyCreateTransformMaskKeyframesCommand : public KisCommandUtils::AggregateCommand { 0014 public: 0015 KisLazyCreateTransformMaskKeyframesCommand(KisTransformMaskSP mask, KUndo2Command *parent = nullptr); 0016 0017 static bool maskHasAnimation(KisTransformMaskSP mask); 0018 0019 private: 0020 void populateChildCommands() override; 0021 0022 private: 0023 KisTransformMaskSP m_mask; 0024 }; 0025 0026 #endif // KISLAZYCREATETRANSFORMMASKKEYFRAMESCOMMAND_H