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
42dfb2ee
Commit
42dfb2ee
authored
Mar 14, 2017
by
Claes Sjofors
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Ge emit signal with 'set subwindow' fix
parent
4a33bbf0
Changes
6
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
12 additions
and
5 deletions
+12
-5
xtt/lib/ge/src/ge_graph.cpp
xtt/lib/ge/src/ge_graph.cpp
+7
-1
xtt/lib/glow/gtk/glow_draw_gtk.cpp
xtt/lib/glow/gtk/glow_draw_gtk.cpp
+1
-1
xtt/lib/glow/src/glow_growctx.cpp
xtt/lib/glow/src/glow_growctx.cpp
+1
-1
xtt/lib/glow/src/glow_growgroup.cpp
xtt/lib/glow/src/glow_growgroup.cpp
+1
-1
xtt/lib/glow/src/glow_growwindow.cpp
xtt/lib/glow/src/glow_growwindow.cpp
+1
-0
xtt/lib/glow/src/glow_nodegroup.cpp
xtt/lib/glow/src/glow_nodegroup.cpp
+1
-1
No files found.
xtt/lib/ge/src/ge_graph.cpp
View file @
42dfb2ee
...
...
@@ -4259,9 +4259,15 @@ static int graph_trace_grow_cb( GlowCtx *ctx, glow_tEvent event)
if
(
grow_GetObjectType
(
event
->
signal
.
object
)
==
glow_eObjectType_GrowNode
||
grow_GetObjectType
(
event
->
signal
.
object
)
==
glow_eObjectType_GrowGroup
)
{
GeDyn
*
dyn
;
int
sts
;
grow_GetUserData
(
event
->
signal
.
object
,
(
void
**
)
&
dyn
);
dyn
->
action
(
event
->
signal
.
object
,
event
);
sts
=
dyn
->
action
(
event
->
signal
.
object
,
event
);
if
(
sts
==
GLOW__TERMINATED
||
sts
==
GLOW__SUBTERMINATED
)
{
if
(
ctx_popped
)
graph
->
grow
->
push
();
return
GLOW__NO_PROPAGATE
;
}
}
break
;
}
...
...
xtt/lib/glow/gtk/glow_draw_gtk.cpp
View file @
42dfb2ee
...
...
@@ -2484,7 +2484,7 @@ int GlowDrawGtk::set_clip_rectangle( GlowWind *wind,
{
DrawWindGtk
*
w
=
(
DrawWindGtk
*
)
wind
->
window
;
if
(
w
->
clip_cnt
>=
DRAW_CLIP_SIZE
)
{
printf
(
"** Draw clip refu
c
ed
\n
"
);
printf
(
"** Draw clip refu
s
ed
\n
"
);
return
0
;
}
int
x0
,
x1
,
y0
,
y1
;
...
...
xtt/lib/glow/src/glow_growctx.cpp
View file @
42dfb2ee
...
...
@@ -110,7 +110,7 @@ GrowCtx::~GrowCtx()
free
(
dynamic
);
if
(
gdraw
&&
ctx_type
==
glow_eCtxType_Grow
&&
customcolors
)
{
gdraw
->
reset_customcolors
(
customcolors
);
free
(
customcolors
)
;
delete
customcolors
;
}
}
...
...
xtt/lib/glow/src/glow_growgroup.cpp
View file @
42dfb2ee
...
...
@@ -92,7 +92,7 @@ void GrowGroup::copy_from( const GrowGroup& n)
dynamic
=
(
char
*
)
calloc
(
1
,
n
.
dynamicsize
);
memcpy
(
dynamic
,
n
.
nc
->
dynamic
,
n
.
dynamicsize
);
}
// Get uni
c
name
// Get uni
que
name
sprintf
(
n_name
,
"Grp%d_"
,
((
GrowCtx
*
)
ctx
)
->
objectname_cnt
++
);
nc
=
new
GlowNodeGroup
(
(
GlowNodeGroup
&
)
*
n
.
nc
);
...
...
xtt/lib/glow/src/glow_growwindow.cpp
View file @
42dfb2ee
...
...
@@ -696,6 +696,7 @@ int GrowWindow::event_handler( GlowWind *w, glow_eEvent event, int x, int y, dou
return
sts
;
else
if
(
sts
==
GLOW__SUBTERMINATED
)
{
ctx
->
gdraw
->
pop_customcolors
();
ctx
->
gdraw
->
reset_clip_rectangle
(
&
ctx
->
mw
);
return
1
;
}
...
...
xtt/lib/glow/src/glow_nodegroup.cpp
View file @
42dfb2ee
...
...
@@ -60,7 +60,7 @@ GlowNodeGroup::GlowNodeGroup( GrowCtx *glow_ctx, const char *name)
GlowNodeGroup
::
GlowNodeGroup
(
const
GlowNodeGroup
&
nc
)
:
GlowNodeClass
(
(
GlowNodeClass
&
)
nc
)
{
// Get uni
c
name
// Get uni
que
name
sprintf
(
nc_name
,
"Grp%d_"
,
((
GrowCtx
*
)
ctx
)
->
objectname_cnt
++
);
}
...
...
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