4 * ***** BEGIN GPL LICENSE BLOCK *****
6 * This program is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU General Public License
8 * as published by the Free Software Foundation; either version 2
9 * of the License, or (at your option) any later version.
11 * This program is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU General Public License for more details.
16 * You should have received a copy of the GNU General Public License
17 * along with this program; if not, write to the Free Software Foundation,
18 * Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
20 * The Original Code is Copyright (C) 2008 Blender Foundation.
21 * All rights reserved.
24 * Contributor(s): Blender Foundation
26 * ***** END GPL LICENSE BLOCK *****
29 #ifndef ED_SCREEN_TYPES_H__
30 #define ED_SCREEN_TYPES_H__
33 typedef struct ScreenAnimData {
34 ARegion *ar; /* do not read from this, only for comparing if region exists */
36 short flag; /* flags for playback */
37 int sfra; /* frame that playback was started from */
42 /* user-setting - frame range is played backwards */
43 ANIMPLAY_FLAG_REVERSE = (1<<0),
44 /* temporary - playback just jumped to the start/end */
45 ANIMPLAY_FLAG_JUMPED = (1<<1),
46 /* drop frames as needed to maintain framerate */
47 ANIMPLAY_FLAG_SYNC = (1<<2),
48 /* don't drop frames (and ignore AUDIO_SYNC flag) */
49 ANIMPLAY_FLAG_NO_SYNC = (1<<3),
54 typedef struct AZone {
55 struct AZone *next, *prev;
58 /* region-azone, which of the edges */
70 #define AZONE_REGION 2
72 #endif /* ED_SCREEN_TYPES_H__ */