Blender
V4.3
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
9
#pragma once
10
11
#include "
BLI_rect.h
"
12
13
struct
ARegion
;
14
15
/* ----------------------------------------------------- */
16
20
struct
ScreenAnimData
{
22
ARegion
*
region
;
23
short
redraws
;
25
short
flag
;
27
int
sfra
;
29
int
nextfra
;
31
double
lagging_frame_count
;
33
bool
from_anim_edit
;
34
};
35
37
enum
{
39
ANIMPLAY_FLAG_REVERSE
= (1 << 0),
41
ANIMPLAY_FLAG_JUMPED
= (1 << 1),
43
ANIMPLAY_FLAG_SYNC
= (1 << 2),
45
ANIMPLAY_FLAG_NO_SYNC
= (1 << 3),
47
ANIMPLAY_FLAG_USE_NEXT_FRAME
= (1 << 4),
48
};
49
50
/* ----------------------------------------------------- */
51
53
enum
AZEdge
{
56
AE_RIGHT_TO_TOPLEFT
,
59
AE_LEFT_TO_TOPRIGHT
,
62
AE_TOP_TO_BOTTOMRIGHT
,
65
AE_BOTTOM_TO_TOPLEFT
,
66
};
67
68
enum
AZScrollDirection
{
69
AZ_SCROLL_VERT
,
70
AZ_SCROLL_HOR
,
71
};
72
74
struct
AZone
{
75
AZone
*
next
, *
prev
;
76
ARegion
*
region
;
77
int
type
;
78
79
union
{
81
AZEdge
edge
;
82
AZScrollDirection
direction
;
83
};
85
short
x1
,
y1
,
x2
,
y2
;
87
rcti
rect
;
89
float
alpha
;
90
};
91
93
enum
{
100
AZONE_AREA
= 1,
106
AZONE_REGION
,
110
AZONE_FULLSCREEN
,
115
AZONE_REGION_SCROLL
,
116
};
BLI_rect.h
ANIMPLAY_FLAG_JUMPED
@ ANIMPLAY_FLAG_JUMPED
Definition
ED_screen_types.hh:41
ANIMPLAY_FLAG_NO_SYNC
@ ANIMPLAY_FLAG_NO_SYNC
Definition
ED_screen_types.hh:45
ANIMPLAY_FLAG_REVERSE
@ ANIMPLAY_FLAG_REVERSE
Definition
ED_screen_types.hh:39
ANIMPLAY_FLAG_SYNC
@ ANIMPLAY_FLAG_SYNC
Definition
ED_screen_types.hh:43
ANIMPLAY_FLAG_USE_NEXT_FRAME
@ ANIMPLAY_FLAG_USE_NEXT_FRAME
Definition
ED_screen_types.hh:47
AZONE_REGION
@ AZONE_REGION
Definition
ED_screen_types.hh:106
AZONE_FULLSCREEN
@ AZONE_FULLSCREEN
Definition
ED_screen_types.hh:110
AZONE_REGION_SCROLL
@ AZONE_REGION_SCROLL
Definition
ED_screen_types.hh:115
AZONE_AREA
@ AZONE_AREA
Definition
ED_screen_types.hh:100
AZScrollDirection
AZScrollDirection
Definition
ED_screen_types.hh:68
AZ_SCROLL_HOR
@ AZ_SCROLL_HOR
Definition
ED_screen_types.hh:70
AZ_SCROLL_VERT
@ AZ_SCROLL_VERT
Definition
ED_screen_types.hh:69
AZEdge
AZEdge
Definition
ED_screen_types.hh:53
AE_LEFT_TO_TOPRIGHT
@ AE_LEFT_TO_TOPRIGHT
Definition
ED_screen_types.hh:59
AE_RIGHT_TO_TOPLEFT
@ AE_RIGHT_TO_TOPLEFT
Definition
ED_screen_types.hh:56
AE_BOTTOM_TO_TOPLEFT
@ AE_BOTTOM_TO_TOPLEFT
Definition
ED_screen_types.hh:65
AE_TOP_TO_BOTTOMRIGHT
@ AE_TOP_TO_BOTTOMRIGHT
Definition
ED_screen_types.hh:62
ARegion
Definition
DNA_screen_types.h:474
AZone
Definition
ED_screen_types.hh:74
AZone::type
int type
Definition
ED_screen_types.hh:77
AZone::rect
rcti rect
Definition
ED_screen_types.hh:87
AZone::y2
short y2
Definition
ED_screen_types.hh:85
AZone::alpha
float alpha
Definition
ED_screen_types.hh:89
AZone::edge
AZEdge edge
Definition
ED_screen_types.hh:81
AZone::region
ARegion * region
Definition
ED_screen_types.hh:76
AZone::x1
short x1
Definition
ED_screen_types.hh:85
AZone::x2
short x2
Definition
ED_screen_types.hh:85
AZone::next
AZone * next
Definition
ED_screen_types.hh:75
AZone::direction
AZScrollDirection direction
Definition
ED_screen_types.hh:82
AZone::y1
short y1
Definition
ED_screen_types.hh:85
AZone::prev
AZone * prev
Definition
ED_screen_types.hh:75
ScreenAnimData
Definition
ED_screen_types.hh:20
ScreenAnimData::nextfra
int nextfra
Definition
ED_screen_types.hh:29
ScreenAnimData::region
ARegion * region
Definition
ED_screen_types.hh:22
ScreenAnimData::redraws
short redraws
Definition
ED_screen_types.hh:23
ScreenAnimData::flag
short flag
Definition
ED_screen_types.hh:25
ScreenAnimData::lagging_frame_count
double lagging_frame_count
Definition
ED_screen_types.hh:31
ScreenAnimData::from_anim_edit
bool from_anim_edit
Definition
ED_screen_types.hh:33
ScreenAnimData::sfra
int sfra
Definition
ED_screen_types.hh:27
rcti
Definition
DNA_vec_types.h:68
Generated on Thu Feb 6 2025 07:36:39 for Blender by
doxygen
1.11.0