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
90bde1fd
Commit
90bde1fd
authored
Mar 22, 2019
by
Claes Sjofors
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master'
parents
8b74cc11
b086ae5a
Changes
5
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
320 additions
and
12 deletions
+320
-12
xtt/lib/flow/qt/flow_draw_qt.cqt
xtt/lib/flow/qt/flow_draw_qt.cqt
+1
-2
xtt/lib/flow/src/flow_con.cpp
xtt/lib/flow/src/flow_con.cpp
+313
-10
xtt/lib/flow/src/flow_con.h
xtt/lib/flow/src/flow_con.h
+3
-0
xtt/lib/flow/src/flow_ctx.cpp
xtt/lib/flow/src/flow_ctx.cpp
+2
-0
xtt/lib/flow/src/flow_tiptext.cpp
xtt/lib/flow/src/flow_tiptext.cpp
+1
-0
No files found.
xtt/lib/flow/qt/flow_draw_qt.cqt
View file @
90bde1fd
...
...
@@ -1051,7 +1051,6 @@ void FlowDrawQt::cancel_event_timer(FlowCtx* ctx)
FlowDrawQt* draw_ctx = (FlowDrawQt*)ctx->fdraw;
if (draw_ctx->timer_id) {
draw_ctx->timer_id->stop();
draw_ctx->timer_id = 0;
}
}
...
...
@@ -1214,4 +1213,4 @@ FlowPrintDraw* FlowDrawQt::print_draw_new(void* context, const char* title, int
fprintf(stderr, "ERROR!\nFlowDrawQt::print_draw_new called.\nThis should never happend!\n");
assert(false);
return NULL;
}
\ No newline at end of file
}
xtt/lib/flow/src/flow_con.cpp
View file @
90bde1fd
This diff is collapsed.
Click to expand it.
xtt/lib/flow/src/flow_con.h
View file @
90bde1fd
...
...
@@ -97,6 +97,9 @@ public:
double
dest_x
,
double
dest_y
,
flow_eDirection
dest_dir
);
int
con_route_grafcet
(
flow_eConType
con_type
,
double
src_x
,
double
src_y
,
double
dest_x
,
double
dest_y
);
void
draw_routed_roundcorner
(
int
points
,
double
*
x
,
double
*
y
);
void
draw_routed
(
int
points
,
double
*
x
,
double
*
y
);
void
draw_routed_trans
(
int
points
,
double
*
x
,
double
*
y
);
void
set_highlight
(
int
on
);
int
get_highlight
()
{
...
...
xtt/lib/flow/src/flow_ctx.cpp
View file @
90bde1fd
...
...
@@ -1529,6 +1529,8 @@ void FlowCtx::trace_scan()
for
(
i
=
0
;
i
<
a
.
a_size
;
i
++
)
a
.
a
[
i
]
->
trace_scan
();
redraw_if_dirty
();
}
void
FlowCtx
::
get_selected_nodes
(
FlowArrayElem
***
nodes
,
int
*
num
)
...
...
xtt/lib/flow/src/flow_tiptext.cpp
View file @
90bde1fd
...
...
@@ -47,6 +47,7 @@ static void tiptext_timer_cb(FlowCtx* ctx)
ctx
->
tiptext
->
active
=
true
;
ctx
->
set_dirty
();
ctx
->
redraw_if_dirty
();
}
FlowTipText
::~
FlowTipText
()
{
...
...
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