Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
P
proview
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Esteban Blanc
proview
Commits
efd91b85
Commit
efd91b85
authored
May 20, 2003
by
claes
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Video dynamic added
parent
815c6b26
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
53 additions
and
0 deletions
+53
-0
xtt/lib/ge/src/ge_attrnav.cpp
xtt/lib/ge/src/ge_attrnav.cpp
+1
-0
xtt/lib/ge/src/ge_graph.cpp
xtt/lib/ge/src/ge_graph.cpp
+51
-0
xtt/lib/ge/src/ge_graph.h
xtt/lib/ge/src/ge_graph.h
+1
-0
No files found.
xtt/lib/ge/src/ge_attrnav.cpp
View file @
efd91b85
...
@@ -106,6 +106,7 @@ static attrnav_sEnumElement elem_trace_type[] = {
...
@@ -106,6 +106,7 @@ static attrnav_sEnumElement elem_trace_type[] = {
{
(
int
)
graph_eTrace_RadioButton
,
"RadioButton"
},
{
(
int
)
graph_eTrace_RadioButton
,
"RadioButton"
},
{
(
int
)
graph_eTrace_Slider
,
"Slider"
},
{
(
int
)
graph_eTrace_Slider
,
"Slider"
},
{
(
int
)
graph_eTrace_SliderBackground
,
"SliderBackground"
},
{
(
int
)
graph_eTrace_SliderBackground
,
"SliderBackground"
},
{
(
int
)
graph_eTrace_Video
,
"Video"
},
{
(
int
)
graph_eTrace_No
,
"No"
},
{
(
int
)
graph_eTrace_No
,
"No"
},
{
0
,
""
}};
{
0
,
""
}};
...
...
xtt/lib/ge/src/ge_graph.cpp
View file @
efd91b85
...
@@ -1718,6 +1718,30 @@ int Graph::get_attr_items( grow_tObject object, attr_sItem **itemlist,
...
@@ -1718,6 +1718,30 @@ int Graph::get_attr_items( grow_tObject object, attr_sItem **itemlist,
&
grow_info_cnt
);
&
grow_info_cnt
);
break
;
break
;
}
}
case
graph_eTrace_Video
:
{
char
transtab
[][
32
]
=
{
"SubGraph"
,
"SubGraph"
,
"TraceData1"
,
""
,
"TraceData2"
,
""
,
"TraceData3"
,
""
,
"TraceData4"
,
""
,
"TraceData5"
,
""
,
"TraceData6"
,
""
,
"TraceData7"
,
""
,
"TraceData8"
,
""
,
"TraceData9"
,
""
,
"TraceAttrType"
,
"Type"
,
"TraceColor"
,
""
,
"TraceColor2"
,
""
,
"TraceAccess"
,
""
,
"TraceCycle"
,
"Cycle"
,
"TraceRefObject"
,
"RefObject"
,
"Dynamic"
,
""
,
""
};
grow_GetObjectAttrInfo
(
object
,
(
char
*
)
transtab
,
&
grow_info
,
&
grow_info_cnt
);
break
;
}
case
graph_eTrace_SetDig
:
case
graph_eTrace_SetDig
:
case
graph_eTrace_ResetDig
:
case
graph_eTrace_ResetDig
:
case
graph_eTrace_ToggleDig
:
case
graph_eTrace_ToggleDig
:
...
@@ -4262,6 +4286,18 @@ static int graph_trace_connect_bc( grow_tObject object,
...
@@ -4262,6 +4286,18 @@ static int graph_trace_connect_bc( grow_tObject object,
trace_data
->
p
=
(
void
*
)
&
dummy
;
trace_data
->
p
=
(
void
*
)
&
dummy
;
break
;
break
;
}
}
case
graph_eTrace_Video
:
{
data
=
(
graph_sTraceData
*
)
calloc
(
1
,
sizeof
(
*
data
));
data
->
access
=
trace_data
->
access
;
data
->
type
=
trace_type
;
data
->
cycle
=
cycle
;
data
->
first_scan
=
1
;
grow_SetUserData
(
object
,
(
void
*
)
data
);
trace_data
->
p
=
(
void
*
)
&
dummy
;
break
;
}
default:
default:
;
;
}
}
...
@@ -5862,6 +5898,21 @@ static int graph_trace_scan_bc( grow_tObject object, void *p)
...
@@ -5862,6 +5898,21 @@ static int graph_trace_scan_bc( grow_tObject object, void *p)
}
}
break
;
break
;
}
}
case
graph_eTrace_Video
:
{
grow_tObject
*
objectlist
;
int
object_cnt
;
grow_GetGroupObjectList
(
object
,
&
objectlist
,
&
object_cnt
);
for
(
int
i
=
0
;
i
<
object_cnt
;
i
++
)
{
if
(
grow_GetObjectType
(
objectlist
[
i
])
==
glow_eObjectType_GrowImage
)
{
grow_ImageUpdate
(
objectlist
[
i
]);
break
;
}
}
break
;
}
case
graph_eTrace_Bar
:
case
graph_eTrace_Bar
:
{
{
if
(
!
data
->
first_scan
)
if
(
!
data
->
first_scan
)
...
...
xtt/lib/ge/src/ge_graph.h
View file @
efd91b85
...
@@ -82,6 +82,7 @@ typedef enum {
...
@@ -82,6 +82,7 @@ typedef enum {
graph_eTrace_DigShift
=
19
,
graph_eTrace_DigShift
=
19
,
graph_eTrace_Move
=
20
,
graph_eTrace_Move
=
20
,
graph_eTrace_SliderBackground
=
21
,
graph_eTrace_SliderBackground
=
21
,
graph_eTrace_Video
=
22
,
graph_eTrace_No
=
999
,
graph_eTrace_No
=
999
,
graph_eTrace_SetDig
=
1000
,
graph_eTrace_SetDig
=
1000
,
graph_eTrace_ResetDig
=
1001
,
graph_eTrace_ResetDig
=
1001
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment