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
a753db72
Commit
a753db72
authored
Jun 07, 2017
by
Claes Sjofors
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Ge bugfix in color out of range error
parent
2194095f
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
0 deletions
+8
-0
xtt/lib/ge/src/ge_dyn.cpp
xtt/lib/ge/src/ge_dyn.cpp
+8
-0
No files found.
xtt/lib/ge/src/ge_dyn.cpp
View file @
a753db72
...
...
@@ -2213,6 +2213,7 @@ int GeDigLowColor::connect( grow_tObject object, glow_sTraceData *trace_data)
color
=
dyn
->
get_color1
(
object
,
color
);
if
(
color
<
0
||
color
>=
glow_eDrawType__
)
{
printf
(
"** Color out of range, %s
\n
"
,
attribute
);
p
=
0
;
return
0
;
}
...
...
@@ -2498,6 +2499,7 @@ int GeDigColor::connect( grow_tObject object, glow_sTraceData *trace_data)
color
=
dyn
->
get_color2
(
object
,
color
);
if
(
color
<
0
||
color
>=
glow_eDrawType__
)
{
printf
(
"** Color out of range, %s
\n
"
,
attribute
);
p
=
0
;
return
0
;
}
...
...
@@ -3057,6 +3059,7 @@ int GeDigFlash::connect( grow_tObject object, glow_sTraceData *trace_data)
color
=
dyn
->
get_color1
(
object
,
color
);
if
(
color
<
0
||
color
>=
glow_eDrawType__
)
{
printf
(
"** Color out of range, %s
\n
"
,
attribute
);
p
=
0
;
return
0
;
}
...
...
@@ -3506,6 +3509,7 @@ int GeDigTextColor::connect( grow_tObject object, glow_sTraceData *trace_data)
color
=
dyn
->
get_color1
(
object
,
color
);
if
(
color
<
0
||
color
>=
glow_eDrawType__
)
{
printf
(
"** Color out of range, %s
\n
"
,
attribute
);
p
=
0
;
return
0
;
}
...
...
@@ -3658,6 +3662,7 @@ int GeDigBorder::connect( grow_tObject object, glow_sTraceData *trace_data)
color
=
dyn
->
get_color1
(
object
,
color
);
if
(
color
<
0
||
color
>=
glow_eDrawType__
)
{
printf
(
"** Color out of range, %s
\n
"
,
attribute
);
p
=
0
;
return
0
;
}
...
...
@@ -7248,6 +7253,7 @@ int GeDigBackgroundColor::connect( grow_tObject object, glow_sTraceData *trace_d
color
=
dyn
->
get_color2
(
object
,
color
);
if
(
color
<
0
||
color
>=
glow_eDrawType__
)
{
printf
(
"** Color out of range, %s
\n
"
,
attribute
);
p
=
0
;
return
0
;
}
...
...
@@ -10666,6 +10672,7 @@ int GeStatusColor::connect( grow_tObject object, glow_sTraceData *trace_data)
nostatus_color
=
dyn
->
get_color1
(
object
,
nostatus_color
);
if
(
nostatus_color
<
0
||
nostatus_color
>=
glow_eDrawType__
)
{
printf
(
"** Color out of range, %s
\n
"
,
attribute
);
p
=
0
;
return
0
;
}
...
...
@@ -12318,6 +12325,7 @@ int GeFillLevel::connect( grow_tObject object, glow_sTraceData *trace_data)
color
=
dyn
->
get_color2
(
object
,
color
);
if
(
color
<
0
||
color
>=
glow_eDrawType__
)
{
printf
(
"** Color out of range, %s
\n
"
,
attribute
);
p
=
0
;
return
0
;
}
...
...
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