File indexing completed on 2024-05-12 15:58:48

0001 /*
0002  *  SPDX-FileCopyrightText: 2022 Emmet O'Neill <emmetoneill.pdx@gmail.com>
0003  *  SPDX-FileCopyrightText: 2022 Eoin O'Neill <eoinoneill1991@gmail.com>
0004  *
0005  *  SPDX-License-Identifier: GPL-2.0-or-later
0006  */
0007 
0008 #ifndef _KIS_ANIM_AUTOKEY_H
0009 #define _KIS_ANIM_AUTOKEY_H
0010 
0011 #include "kritaimage_export.h"
0012 
0013 namespace KisAutoKey {
0014 enum Mode {
0015     NONE, // AutoKey is disabled. Keyframes must be created manually.
0016     BLANK, // AutoKey creates an empty/blank frame. Acts like DUPLICATE when not
0017            // applicable (i.e.: filters, transforms, etc.).
0018     DUPLICATE // AutoKey will duplicate the active frame.
0019 };
0020 
0021 KRITAIMAGE_EXPORT Mode activeMode();
0022 }
0023 
0024 #endif //_KIS_ANIM_AUTOKEY_H