Blender
V5.0
source
blender
editors
include
ED_screen_types.hh
Go to the documentation of this file.
1
/* SPDX-FileCopyrightText: 2008 Blender Authors
2
*
3
* SPDX-License-Identifier: GPL-2.0-or-later */
4
8
9
#pragma once
10
11
#include "
DNA_vec_types.h
"
12
13
struct
ARegion
;
14
15
/* ----------------------------------------------------- */
16
20
struct
ScreenAnimData
{
22
ARegion
*
region
;
23
24
/* The Scene and the View Layer that the animation timer is playing. */
25
Scene
*
scene
;
26
ViewLayer
*
view_layer
;
27
/* For sequencer scenes, account for scene syncing during playback. */
28
bool
do_scene_syncing
;
29
30
short
redraws
;
32
short
flag
;
34
int
sfra
;
36
int
nextfra
;
38
double
lagging_frame_count
;
40
bool
from_anim_edit
;
41
};
42
44
enum
{
46
ANIMPLAY_FLAG_REVERSE
= (1 << 0),
48
ANIMPLAY_FLAG_JUMPED
= (1 << 1),
50
ANIMPLAY_FLAG_SYNC
= (1 << 2),
52
ANIMPLAY_FLAG_NO_SYNC
= (1 << 3),
54
ANIMPLAY_FLAG_USE_NEXT_FRAME
= (1 << 4),
55
};
56
57
/* ----------------------------------------------------- */
58
60
enum
AZEdge
{
63
AE_RIGHT_TO_TOPLEFT
,
66
AE_LEFT_TO_TOPRIGHT
,
69
AE_TOP_TO_BOTTOMRIGHT
,
72
AE_BOTTOM_TO_TOPLEFT
,
73
};
74
75
enum
AZScrollDirection
{
76
AZ_SCROLL_VERT
,
77
AZ_SCROLL_HOR
,
78
};
79
81
struct
AZone
{
82
AZone
*
next
, *
prev
;
83
ARegion
*
region
;
84
int
type
;
85
86
union
{
88
AZEdge
edge
;
89
AZScrollDirection
direction
;
90
};
92
short
x1
,
y1
,
x2
,
y2
;
94
rcti
rect
;
96
float
alpha
;
97
};
98
100
enum
{
107
AZONE_AREA
= 1,
113
AZONE_REGION
,
117
AZONE_FULLSCREEN
,
122
AZONE_REGION_SCROLL
,
123
};
DNA_vec_types.h
AZScrollDirection
AZScrollDirection
Definition
ED_screen_types.hh:75
AZ_SCROLL_HOR
@ AZ_SCROLL_HOR
Definition
ED_screen_types.hh:77
AZ_SCROLL_VERT
@ AZ_SCROLL_VERT
Definition
ED_screen_types.hh:76
ANIMPLAY_FLAG_JUMPED
@ ANIMPLAY_FLAG_JUMPED
Definition
ED_screen_types.hh:48
ANIMPLAY_FLAG_NO_SYNC
@ ANIMPLAY_FLAG_NO_SYNC
Definition
ED_screen_types.hh:52
ANIMPLAY_FLAG_REVERSE
@ ANIMPLAY_FLAG_REVERSE
Definition
ED_screen_types.hh:46
ANIMPLAY_FLAG_SYNC
@ ANIMPLAY_FLAG_SYNC
Definition
ED_screen_types.hh:50
ANIMPLAY_FLAG_USE_NEXT_FRAME
@ ANIMPLAY_FLAG_USE_NEXT_FRAME
Definition
ED_screen_types.hh:54
AZONE_REGION
@ AZONE_REGION
Definition
ED_screen_types.hh:113
AZONE_FULLSCREEN
@ AZONE_FULLSCREEN
Definition
ED_screen_types.hh:117
AZONE_REGION_SCROLL
@ AZONE_REGION_SCROLL
Definition
ED_screen_types.hh:122
AZONE_AREA
@ AZONE_AREA
Definition
ED_screen_types.hh:107
AZEdge
AZEdge
Definition
ED_screen_types.hh:60
AE_LEFT_TO_TOPRIGHT
@ AE_LEFT_TO_TOPRIGHT
Definition
ED_screen_types.hh:66
AE_RIGHT_TO_TOPLEFT
@ AE_RIGHT_TO_TOPLEFT
Definition
ED_screen_types.hh:63
AE_BOTTOM_TO_TOPLEFT
@ AE_BOTTOM_TO_TOPLEFT
Definition
ED_screen_types.hh:72
AE_TOP_TO_BOTTOMRIGHT
@ AE_TOP_TO_BOTTOMRIGHT
Definition
ED_screen_types.hh:69
ARegion
Definition
DNA_screen_types.h:509
AZone
Definition
ED_screen_types.hh:81
AZone::type
int type
Definition
ED_screen_types.hh:84
AZone::rect
rcti rect
Definition
ED_screen_types.hh:94
AZone::y2
short y2
Definition
ED_screen_types.hh:92
AZone::alpha
float alpha
Definition
ED_screen_types.hh:96
AZone::edge
AZEdge edge
Definition
ED_screen_types.hh:88
AZone::region
ARegion * region
Definition
ED_screen_types.hh:83
AZone::x1
short x1
Definition
ED_screen_types.hh:92
AZone::x2
short x2
Definition
ED_screen_types.hh:92
AZone::next
AZone * next
Definition
ED_screen_types.hh:82
AZone::direction
AZScrollDirection direction
Definition
ED_screen_types.hh:89
AZone::y1
short y1
Definition
ED_screen_types.hh:92
AZone::prev
AZone * prev
Definition
ED_screen_types.hh:82
Scene
Definition
DNA_scene_types.h:2120
ScreenAnimData
Definition
ED_screen_types.hh:20
ScreenAnimData::nextfra
int nextfra
Definition
ED_screen_types.hh:36
ScreenAnimData::region
ARegion * region
Definition
ED_screen_types.hh:22
ScreenAnimData::redraws
short redraws
Definition
ED_screen_types.hh:30
ScreenAnimData::view_layer
ViewLayer * view_layer
Definition
ED_screen_types.hh:26
ScreenAnimData::flag
short flag
Definition
ED_screen_types.hh:32
ScreenAnimData::lagging_frame_count
double lagging_frame_count
Definition
ED_screen_types.hh:38
ScreenAnimData::scene
Scene * scene
Definition
ED_screen_types.hh:25
ScreenAnimData::from_anim_edit
bool from_anim_edit
Definition
ED_screen_types.hh:40
ScreenAnimData::sfra
int sfra
Definition
ED_screen_types.hh:34
ScreenAnimData::do_scene_syncing
bool do_scene_syncing
Definition
ED_screen_types.hh:28
ViewLayer
Definition
DNA_layer_types.h:149
rcti
Definition
DNA_vec_types.h:68
Generated on
for Blender by
doxygen
1.16.1