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
e1f451da
Commit
e1f451da
authored
Mar 01, 2016
by
Claes Sjofors
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Xtt, RtHide wasn't always hidden
parent
e139bf82
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
2 deletions
+6
-2
src/lib/rt/src/rt_rtt_menu.c
src/lib/rt/src/rt_rtt_menu.c
+3
-1
xtt/lib/xtt/src/xtt_item.cpp
xtt/lib/xtt/src/xtt_item.cpp
+2
-1
xtt/lib/xtt/src/xtt_xatt.cpp
xtt/lib/xtt/src/xtt_xatt.cpp
+1
-0
No files found.
src/lib/rt/src/rt_rtt_menu.c
View file @
e1f451da
...
...
@@ -6561,9 +6561,10 @@ int rtt_object_parameters(
for
(
i
=
0
;
i
<
rows
;
i
++
)
{
if
(
bd
[
i
].
attr
->
Param
.
Info
.
Flags
&
PWR_MASK_RTVIRTUAL
||
bd
[
i
].
attr
->
Param
.
Info
.
Flags
&
PWR_MASK_RTHIDE
||
(
bd
[
i
].
attr
->
Param
.
Info
.
Flags
&
PWR_MASK_PRIVATE
&&
bd
[
i
].
attr
->
Param
.
Info
.
Flags
&
PWR_MASK_POINTER
))
/* This parameter does not contain any useful information */
/* This parameter does not contain any useful information
, or should be hidden
*/
continue
;
elements
=
1
;
...
...
@@ -6593,6 +6594,7 @@ int rtt_object_parameters(
idx
=
0
;
for
(
i
=
0
;
i
<
rows
;
i
++
)
{
if
(
bd
[
i
].
attr
->
Param
.
Info
.
Flags
&
PWR_MASK_RTVIRTUAL
||
bd
[
i
].
attr
->
Param
.
Info
.
Flags
&
PWR_MASK_RTHIDE
||
(
bd
[
i
].
attr
->
Param
.
Info
.
Flags
&
PWR_MASK_PRIVATE
&&
bd
[
i
].
attr
->
Param
.
Info
.
Flags
&
PWR_MASK_POINTER
))
/* This parameter does not contain any useful information */
...
...
xtt/lib/xtt/src/xtt_item.cpp
View file @
e1f451da
...
...
@@ -348,7 +348,8 @@ int ItemBaseObject::open_attributes( XNavBrow *brow, double x, double y)
continue
;
if
(
bd
[
i
].
attr
->
Param
.
Info
.
Flags
&
PWR_MASK_RTHIDE
&&
((
brow
->
usertype
==
brow_eUserType_XNav
&&
!
((
XNav
*
)
brow
->
userdata
)
->
gbl
.
show_allattr
)
||
!
(((
XNav
*
)
brow
->
userdata
)
->
gbl
.
show_allattr
&&
!
(
bd
[
i
].
attr
->
Param
.
Info
.
Flags
&
PWR_MASK_DEVHIDEVALUE
)))
||
brow
->
usertype
==
brow_eUserType_XAttNav
))
continue
;
...
...
xtt/lib/xtt/src/xtt_xatt.cpp
View file @
e1f451da
...
...
@@ -224,6 +224,7 @@ int XAtt::object_attr()
if
(
bd
[
i
].
flags
&
gdh_mAttrDef_Shadowed
)
continue
;
if
(
bd
[
i
].
attr
->
Param
.
Info
.
Flags
&
PWR_MASK_RTVIRTUAL
||
bd
[
i
].
attr
->
Param
.
Info
.
Flags
&
PWR_MASK_RTHIDE
||
(
bd
[
i
].
attr
->
Param
.
Info
.
Flags
&
PWR_MASK_PRIVATE
&&
bd
[
i
].
attr
->
Param
.
Info
.
Flags
&
PWR_MASK_POINTER
))
continue
;
...
...
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