-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathelement_change.h
37 lines (29 loc) · 900 Bytes
/
element_change.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
//-------------------------------------------------------------------------
// flags for vc_dispmanx_element_change_attributes
//
// can be found in interface/vmcs_host/vc_vchi_dispmanx.h
// but you can't include that file as
// interface/peer/vc_vchi_dispmanx_common.h is missing.
//
//-------------------------------------------------------------------------
#ifndef ELEMENT_CHANGE_H
#define ELEMENT_CHANGE_H
#ifndef ELEMENT_CHANGE_LAYER
#define ELEMENT_CHANGE_LAYER (1<<0)
#endif
#ifndef ELEMENT_CHANGE_OPACITY
#define ELEMENT_CHANGE_OPACITY (1<<1)
#endif
#ifndef ELEMENT_CHANGE_DEST_RECT
#define ELEMENT_CHANGE_DEST_RECT (1<<2)
#endif
#ifndef ELEMENT_CHANGE_SRC_RECT
#define ELEMENT_CHANGE_SRC_RECT (1<<3)
#endif
#ifndef ELEMENT_CHANGE_MASK_RESOURCE
#define ELEMENT_CHANGE_MASK_RESOURCE (1<<4)
#endif
#ifndef ELEMENT_CHANGE_TRANSFORM
#define ELEMENT_CHANGE_TRANSFORM (1<<5)
#endif
#endif