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
4a1a186b
Commit
4a1a186b
authored
Jul 12, 2005
by
claes
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Scale added to get_annotation_info, and fixcolor added to GrowRect
parent
f190a30f
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
3 deletions
+10
-3
xtt/lib/glow/src/glow_growapi.cpp
xtt/lib/glow/src/glow_growapi.cpp
+8
-2
xtt/lib/glow/src/glow_growapi.h
xtt/lib/glow/src/glow_growapi.h
+2
-1
No files found.
xtt/lib/glow/src/glow_growapi.cpp
View file @
4a1a186b
...
...
@@ -1228,6 +1228,11 @@ int grow_GetObjectAttrInfo( grow_tObject object, char *transtab,
attrinfo
[
i
].
type
=
glow_eType_Boolean
;
attrinfo
[
i
++
].
size
=
sizeof
(
op
->
invisible
);
strcpy
(
attrinfo
[
i
].
name
,
"fixcolor"
);
attrinfo
[
i
].
value_p
=
&
op
->
fixcolor
;
attrinfo
[
i
].
type
=
glow_eType_Boolean
;
attrinfo
[
i
++
].
size
=
sizeof
(
op
->
fixcolor
);
strcpy
(
attrinfo
[
i
].
name
,
"disable_shadow"
);
attrinfo
[
i
].
value_p
=
&
op
->
disable_shadow
;
attrinfo
[
i
].
type
=
glow_eType_Boolean
;
...
...
@@ -4244,9 +4249,10 @@ void grow_SetTrendData( grow_tObject object, double *data[3], int data_curves, i
}
int
grow_GetObjectAnnotInfo
(
grow_tObject
object
,
int
num
,
int
*
text_size
,
glow_eDrawType
*
text_drawtype
,
glow_eDrawType
*
text_color
,
glow_eDrawType
*
bg_color
)
glow_eDrawType
*
text_color
,
glow_eDrawType
*
bg_color
,
double
*
scale
)
{
return
((
GrowNode
*
)
object
)
->
get_annotation_info
(
num
,
text_size
,
text_drawtype
,
text_color
,
bg_color
);
return
((
GrowNode
*
)
object
)
->
get_annotation_info
(
num
,
text_size
,
text_drawtype
,
text_color
,
bg_color
,
scale
);
}
void
grow_GetMenuChar
(
grow_tObject
menu
,
int
*
t_size
,
glow_eDrawType
*
fill_color
,
glow_eDrawType
*
t_drawtype
,
...
...
xtt/lib/glow/src/glow_growapi.h
View file @
4a1a186b
...
...
@@ -2801,10 +2801,11 @@ typedef GlowTraceData glow_sTraceData;
\param text_drawtype Annotation text drawtype.
\param text_color Annotation text color.
\param bg_color Annotation background color.
\param scale Vertical scale.
\return 0 if annotation doesn't exist, else 1.
*/
int
grow_GetObjectAnnotInfo
(
grow_tObject
object
,
int
num
,
int
*
text_size
,
glow_eDrawType
*
text_drawtype
,
glow_eDrawType
*
text_color
,
glow_eDrawType
*
bg_color
);
glow_eDrawType
*
text_color
,
glow_eDrawType
*
bg_color
,
double
*
scale
);
//! Get color, textsize and text colors for a menu.
/*!
...
...
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