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
0eed4f37
Commit
0eed4f37
authored
Dec 03, 2019
by
pwrd
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Flow closing down bugfix
parent
5935f66d
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
1 deletion
+6
-1
xtt/lib/flow/src/flow_con.cpp
xtt/lib/flow/src/flow_con.cpp
+2
-0
xtt/lib/flow/src/flow_ctx.cpp
xtt/lib/flow/src/flow_ctx.cpp
+3
-1
xtt/lib/flow/src/flow_ctx.h
xtt/lib/flow/src/flow_ctx.h
+1
-0
No files found.
xtt/lib/flow/src/flow_con.cpp
View file @
0eed4f37
...
...
@@ -342,6 +342,8 @@ FlowCon::~FlowCon()
ctx
->
remove
(
this
);
ctx
->
select_remove
(
this
);
if
(
ctx
->
del_all
)
return
;
if
(
temporary_ref
||
cc
->
con_type
==
flow_eConType_Reference
)
{
source_node
->
conpoint_refcon_reconfig
(
source_conpoint
);
...
...
xtt/lib/flow/src/flow_ctx.cpp
View file @
0eed4f37
...
...
@@ -85,7 +85,7 @@ FlowCtx::FlowCtx(const char* ctx_name, double zoom_fact, int offs_x, int offs_y)
select_policy
(
flow_eSelectPolicy_Partial
),
tiptext
(
0
),
inverse_color
(
flow_eDrawType_Line
),
text_coding
(
flow_eTextCoding_ISO8859_1
),
display_level
(
flow_mDisplayLevel_1
),
scroll_size
(
0
),
scroll_callback
(
0
),
display_level
(
flow_mDisplayLevel_1
),
del_all
(
0
),
scroll_size
(
0
),
scroll_callback
(
0
),
scroll_data
(
NULL
)
{
strcpy
(
name
,
ctx_name
);
...
...
@@ -121,6 +121,7 @@ FlowCtx::~FlowCtx()
void
FlowCtx
::
delete_all
()
{
set_nodraw
();
del_all
=
1
;
for
(
int
i
=
0
;
i
<
a
.
a_size
;
i
++
)
{
FlowArrayElem
*
element
=
a
.
a
[
i
];
remove
(
element
);
...
...
@@ -130,6 +131,7 @@ void FlowCtx::delete_all()
i
--
;
}
reset_nodraw
();
del_all
=
0
;
}
int
FlowCtx
::
save
(
char
*
filename
,
flow_eSaveMode
mode
)
...
...
xtt/lib/flow/src/flow_ctx.h
View file @
0eed4f37
...
...
@@ -422,6 +422,7 @@ public:
a
.
move_widgets
(
x
,
y
);
}
int
display_level
;
int
del_all
;
void
scroll
(
int
delta_x
,
int
delta_y
);
void
scroll
(
double
delta_x
,
double
delta_y
);
double
scroll_size
;
...
...
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