1 | #ifndef oxygenanimationmodes_h |
2 | #define oxygenanimationmodes_h |
3 | |
4 | /* |
5 | * oxygenanimationmodes.h |
6 | * animation modes |
7 | * ------------------- |
8 | * |
9 | * Copyright (c) 2012 Hugo Pereira Da Costa <hugo.pereira@free.fr> |
10 | * |
11 | * Largely inspired from Qtcurve style |
12 | * Copyright (C) Craig Drummond, 2003 - 2010 craig.p.drummond@gmail.com |
13 | * |
14 | * This library is free software; you can redistribute it and/or |
15 | * modify it under the terms of the GNU Lesser General Public |
16 | * License as published by the Free Software Foundation; either |
17 | * version 2 of the License, or( at your option ) any later version. |
18 | * |
19 | * This library is distributed in the hope that it will be useful, |
20 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
21 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
22 | * Lesser General Public License for more details. |
23 | * |
24 | * You should have received a copy of the GNU Lesser General Public |
25 | * License along with this library; if not, write to the Free |
26 | * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, |
27 | * MA 02110-1301, USA. |
28 | */ |
29 | |
30 | #include "QtCore/QFlags" |
31 | |
32 | namespace Oxygen |
33 | { |
34 | |
35 | //! animation mode |
36 | enum AnimationMode |
37 | { |
38 | AnimationNone = 0, |
39 | AnimationHover = 1<<0, |
40 | AnimationFocus = 1<<1, |
41 | AnimationEnable = 1<<2 |
42 | }; |
43 | |
44 | Q_DECLARE_FLAGS(AnimationModes, AnimationMode) |
45 | |
46 | } |
47 | |
48 | #endif |
49 | |