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
bdb8a2b2
Commit
bdb8a2b2
authored
Sep 10, 2018
by
Claes Sjofors
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Ge GrowBar obsolete trace attributes removed
parent
b554aeba
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
68 deletions
+5
-68
xtt/lib/glow/src/glow_growbar.cpp
xtt/lib/glow/src/glow_growbar.cpp
+5
-68
No files found.
xtt/lib/glow/src/glow_growbar.cpp
View file @
bdb8a2b2
...
...
@@ -78,27 +78,6 @@ void GrowBar::save(std::ofstream& fp, glow_eSaveMode mode)
<<
int
(
bar_bordercolor
)
<<
'\n'
;
fp
<<
int
(
glow_eSave_GrowBar_bar_borderwidth
)
<<
FSPACE
<<
bar_borderwidth
<<
'\n'
;
fp
<<
int
(
glow_eSave_GrowBar_trace_data1
)
<<
FSPACE
<<
trace
.
data
[
0
]
<<
'\n'
;
fp
<<
int
(
glow_eSave_GrowBar_trace_data2
)
<<
FSPACE
<<
trace
.
data
[
1
]
<<
'\n'
;
fp
<<
int
(
glow_eSave_GrowBar_trace_data3
)
<<
FSPACE
<<
trace
.
data
[
2
]
<<
'\n'
;
fp
<<
int
(
glow_eSave_GrowBar_trace_data4
)
<<
FSPACE
<<
trace
.
data
[
3
]
<<
'\n'
;
fp
<<
int
(
glow_eSave_GrowBar_trace_data5
)
<<
FSPACE
<<
trace
.
data
[
4
]
<<
'\n'
;
fp
<<
int
(
glow_eSave_GrowBar_trace_data6
)
<<
FSPACE
<<
trace
.
data
[
5
]
<<
'\n'
;
fp
<<
int
(
glow_eSave_GrowBar_trace_data7
)
<<
FSPACE
<<
trace
.
data
[
6
]
<<
'\n'
;
fp
<<
int
(
glow_eSave_GrowBar_trace_data8
)
<<
FSPACE
<<
trace
.
data
[
7
]
<<
'\n'
;
fp
<<
int
(
glow_eSave_GrowBar_trace_data9
)
<<
FSPACE
<<
trace
.
data
[
8
]
<<
'\n'
;
fp
<<
int
(
glow_eSave_GrowBar_trace_data10
)
<<
FSPACE
<<
trace
.
data
[
9
]
<<
'\n'
;
fp
<<
int
(
glow_eSave_GrowBar_trace_attr_type
)
<<
FSPACE
<<
int
(
trace
.
attr_type
)
<<
'\n'
;
fp
<<
int
(
glow_eSave_GrowBar_trace_color
)
<<
FSPACE
<<
int
(
trace
.
color
)
<<
'\n'
;
fp
<<
int
(
glow_eSave_GrowBar_trace_color
)
<<
FSPACE
<<
int
(
trace
.
color
)
<<
'\n'
;
fp
<<
int
(
glow_eSave_GrowBar_access
)
<<
FSPACE
<<
(
unsigned
int
)(
trace
.
access
)
<<
'\n'
;
fp
<<
int
(
glow_eSave_GrowBar_cycle
)
<<
FSPACE
<<
int
(
trace
.
cycle
)
<<
'\n'
;
fp
<<
int
(
glow_eSave_GrowBar_ref_object
)
<<
FSPACE
<<
trace
.
ref_object
<<
'\n'
;
fp
<<
int
(
glow_eSave_GrowBar_rect_part
)
<<
'\n'
;
GrowRect
::
save
(
fp
,
mode
);
if
(
user_data
&&
ctx
->
userdata_save_callback
)
{
...
...
@@ -151,65 +130,23 @@ void GrowBar::open(std::ifstream& fp)
GrowRect
::
open
(
fp
);
break
;
case
glow_eSave_GrowBar_trace_data1
:
fp
.
get
();
fp
.
getline
(
trace
.
data
[
0
],
sizeof
(
trace
.
data
[
0
]));
break
;
case
glow_eSave_GrowBar_trace_data2
:
fp
.
get
();
fp
.
getline
(
trace
.
data
[
1
],
sizeof
(
trace
.
data
[
0
]));
break
;
case
glow_eSave_GrowBar_trace_data3
:
fp
.
get
();
fp
.
getline
(
trace
.
data
[
2
],
sizeof
(
trace
.
data
[
0
]));
break
;
case
glow_eSave_GrowBar_trace_data4
:
fp
.
get
();
fp
.
getline
(
trace
.
data
[
3
],
sizeof
(
trace
.
data
[
0
]));
break
;
case
glow_eSave_GrowBar_trace_data5
:
fp
.
get
();
fp
.
getline
(
trace
.
data
[
4
],
sizeof
(
trace
.
data
[
0
]));
break
;
case
glow_eSave_GrowBar_trace_data6
:
fp
.
get
();
fp
.
getline
(
trace
.
data
[
5
],
sizeof
(
trace
.
data
[
0
]));
break
;
case
glow_eSave_GrowBar_trace_data7
:
fp
.
get
();
fp
.
getline
(
trace
.
data
[
6
],
sizeof
(
trace
.
data
[
0
]));
break
;
case
glow_eSave_GrowBar_trace_data8
:
fp
.
get
();
fp
.
getline
(
trace
.
data
[
7
],
sizeof
(
trace
.
data
[
0
]));
break
;
case
glow_eSave_GrowBar_trace_data9
:
fp
.
get
();
fp
.
getline
(
trace
.
data
[
8
],
sizeof
(
trace
.
data
[
0
]));
break
;
case
glow_eSave_GrowBar_trace_data10
:
fp
.
get
();
fp
.
getline
(
trace
.
data
[
9
],
sizeof
(
trace
.
data
[
0
]));
break
;
case
glow_eSave_GrowBar_trace_attr_type
:
fp
>>
tmp
;
trace
.
attr_type
=
(
glow_eTraceType
)
tmp
;
break
;
case
glow_eSave_GrowBar_trace_color
:
fp
>>
tmp
;
trace
.
color
=
(
glow_eDrawType
)
tmp
;
break
;
case
glow_eSave_GrowBar_access
:
fp
>>
utmp
;
trace
.
access
=
(
glow_mAccess
)
utmp
;
break
;
case
glow_eSave_GrowBar_cycle
:
fp
>>
tmp
;
trace
.
cycle
=
(
glow_eCycle
)
tmp
;
break
;
case
glow_eSave_GrowBar_ref_object
:
fp
.
get
();
fp
.
getline
(
trace
.
ref_object
,
sizeof
(
trace
.
ref_object
));
fp
.
getline
(
dummy
,
sizeof
(
dummy
));
break
;
case
glow_eSave_GrowBar_trace_attr_type
:
fp
>>
tmp
;
break
;
case
glow_eSave_GrowBar_trace_color
:
fp
>>
tmp
;
break
;
case
glow_eSave_GrowBar_access
:
fp
>>
utmp
;
break
;
case
glow_eSave_GrowBar_cycle
:
fp
>>
tmp
;
break
;
case
glow_eSave_GrowBar_userdata_cb
:
if
(
ctx
->
userdata_open_callback
)
(
ctx
->
userdata_open_callback
)(
&
fp
,
this
,
glow_eUserdataCbType_Node
);
...
...
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