HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
CV_Defines.h
Go to the documentation of this file.
1 /*
2  * PROPRIETARY INFORMATION. This software is proprietary to
3  * Side Effects Software Inc., and is not to be reproduced,
4  * transmitted, or disclosed in any way without written permission.
5  *
6  * NAME: CV_Defines.h (User Interface Library, C++)
7  *
8  * COMMENTS:
9  * Defines and enums shared across canvas classes.
10  *
11  */
12 
13 #ifndef __CV_Defines__
14 #define __CV_Defines__
15 
16 #include "CV_API.h"
17 
19 {
24 };
25 
27 {
28  CV_PAINT_NO_FLAGS = 0x00000000,
29  CV_PAINT_VISIBLE = 0x00000001,
30  CV_PAINT_LOCATABLE = 0x00000002,
31  CV_PAINT_SELECTABLE = 0x00000004,
32  CV_PAINT_SNAPPABLE = 0x00000008,
33  CV_PAINT_DROP_TARGET = 0x00000010,
34  CV_PAINT_ANY_PICK = 0x0000001E,
35 };
36 
38 {
39  CV_EVENT_INVALID = 0x00000000,
40 
41  CV_EVENT_MOUSEENTER = 0x00000001,
42  CV_EVENT_MOUSEMOVE = 0x00000002,
43  CV_EVENT_MOUSEEXIT = 0x00000003,
44 
45  CV_EVENT_MOUSEDOWN = 0x00000004,
46  CV_EVENT_MOUSEDRAG = 0x00000005,
47  CV_EVENT_MOUSEUP = 0x00000006,
48 
49  CV_EVENT_DOUBLECLICK = 0x00000007,
50  CV_EVENT_MOUSEWHEEL = 0x00000008,
51  CV_EVENT_GESTURE = 0x00000009,
52 
53  CV_EVENT_KEYHIT = 0x00000010,
54  CV_EVENT_KEYUP = 0x00000011,
55  CV_EVENT_KEYDOWN = 0x00000012,
56  CV_EVENT_PARENT_KEYHIT = 0x00000013,
57  CV_EVENT_MENU_KEYHIT = 0x00000014,
58 
59  CV_EVENT_EDITVALUE = 0x00000020,
60  CV_EVENT_TIMER = 0x00000021,
61  CV_EVENT_CONTEXT = 0x00000022,
62  CV_EVENT_CONTEXT_CLEAR = 0x00000023,
63 
64  CV_EVENT_STARTMODALUI = 0x00000024,
65  CV_EVENT_ENDMODALUI = 0x00000025,
66 };
67 
69 {
70  CV_NODEGRAPH_INVALID = 0x00000000,
71 
73 
75  CV_NODEGRAPH_NODE = 0x00000001,
77  CV_NODEGRAPH_NODE_FLAG = 0x00000003,
83  CV_NODEGRAPH_NODE_NAME = 0x00000009,
84  CV_NODEGRAPH_NODE_INFO = 0x0000000A,
93  CV_NODEGRAPH_NODE_PAGE = 0X00000013,
95  CV_NODEGRAPH_NODE_END = 0x00000014,
96 
103 
111 
118 
120  CV_NODEGRAPH_DOT = 0x00000050,
124  CV_NODEGRAPH_DOT_END = 0x00000053,
125 
127 
129  CV_NODEGRAPH_WIRE = 0x00000060,
132  CV_NODEGRAPH_WIRE_END = 0x00000062,
133 
140 
142  CV_CANVAS_OVERVIEW = 0x00000100,
145 
146  CV_COLORPALETTE_START = 0x00000200,
149  CV_COLORPALETTE_COLOR = 0x00000202,
150  CV_COLORPALETTE_END = 0x00000202,
151 
152  CV_SHAPEPALETTE_START = 0x00000300,
155  CV_SHAPEPALETTE_SHAPE = 0x00000302,
156  CV_SHAPEPALETTE_END = 0x00000302,
157 
158  CV_BACKGROUND_START = 0x00000400,
159  CV_BACKGROUND_IMAGE = 0x00000400,
164  CV_BACKGROUND_END = 0x00000404,
165 };
166 
167 #endif
168 
CV_PickType
Definition: CV_Defines.h:68
CV_EventType
Definition: CV_Defines.h:37
CV_PaintFlags
Definition: CV_Defines.h:26
CV_PaintTarget
Definition: CV_Defines.h:18