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
e2af5336
Commit
e2af5336
authored
Jul 26, 2013
by
Claes Sjofors
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Multiview MB3 close disabled for ge cells
parent
591af1b4
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
12 additions
and
7 deletions
+12
-7
xtt/lib/ge/src/ge_graph.cpp
xtt/lib/ge/src/ge_graph.cpp
+4
-4
xtt/lib/ge/src/ge_graph.h
xtt/lib/ge/src/ge_graph.h
+1
-1
xtt/lib/xtt/src/xtt_ge.cpp
xtt/lib/xtt/src/xtt_ge.cpp
+6
-1
xtt/lib/xtt/src/xtt_ge.h
xtt/lib/xtt/src/xtt_ge.h
+1
-1
No files found.
xtt/lib/ge/src/ge_graph.cpp
View file @
e2af5336
...
...
@@ -3810,8 +3810,8 @@ static int graph_trace_grow_cb( GlowCtx *ctx, glow_tEvent event)
case
glow_eMB3Action_Both
:
// Close
if
(
graph
->
close_cb
)
{
(
graph
->
close_cb
)(
graph
->
parent_ctx
);
return
GLOW__TERMINATED
;
if
(
(
graph
->
close_cb
)(
graph
->
parent_ctx
))
return
GLOW__TERMINATED
;
}
break
;
default:
...
...
@@ -4024,8 +4024,8 @@ static int graph_trace_grow_cb( GlowCtx *ctx, glow_tEvent event)
if
(
event
->
key
.
ascii
==
23
)
{
// Ctrl W, close graph
if
(
graph
->
close_cb
)
{
(
graph
->
close_cb
)(
graph
->
parent_ctx
);
return
GLOW__TERMINATED
;
if
(
(
graph
->
close_cb
)(
graph
->
parent_ctx
))
return
GLOW__TERMINATED
;
}
}
if
(
event
->
object
.
object_type
!=
glow_eObjectType_NoObject
)
{
...
...
xtt/lib/ge/src/ge_graph.h
View file @
e2af5336
...
...
@@ -453,7 +453,7 @@ class Graph {
void
(
*
message_cb
)(
void
*
,
char
,
const
char
*
);
int
(
*
get_current_subgraph_cb
)(
void
*
,
char
*
,
char
*
);
void
(
*
close_cb
)(
void
*
);
int
(
*
close_cb
)(
void
*
);
void
(
*
get_current_colors_cb
)(
void
*
,
glow_eDrawType
*
,
glow_eDrawType
*
,
glow_eDrawType
*
);
void
(
*
set_current_colors_cb
)(
void
*
,
glow_eDrawType
,
glow_eDrawType
,
glow_eDrawType
);
void
(
*
init_cb
)(
void
*
);
...
...
xtt/lib/xtt/src/xtt_ge.cpp
View file @
e2af5336
...
...
@@ -84,10 +84,15 @@ void XttGe::graph_init_cb( void *client_data)
}
void
XttGe
::
graph_close_cb
(
void
*
client_data
)
int
XttGe
::
graph_close_cb
(
void
*
client_data
)
{
XttGe
*
ge
=
(
XttGe
*
)
client_data
;
if
(
ge
->
options
&
ge_mOptions_Embedded
)
return
0
;
delete
ge
;
return
1
;
}
int
XttGe
::
ge_command_cb
(
void
*
ge_ctx
,
char
*
cmd
)
...
...
xtt/lib/xtt/src/xtt_ge.h
View file @
e2af5336
...
...
@@ -97,7 +97,7 @@ class XttGe {
void
event_exec
(
int
type
,
void
*
event
,
unsigned
int
size
);
static
void
graph_init_cb
(
void
*
client_data
);
static
void
graph_close_cb
(
void
*
client_data
);
static
int
graph_close_cb
(
void
*
client_data
);
static
int
ge_command_cb
(
void
*
ge_ctx
,
char
*
command
);
static
int
ge_sound_cb
(
void
*
ge_ctx
,
pwr_tAttrRef
*
aref
);
static
void
ge_display_in_xnav_cb
(
void
*
ge_ctx
,
pwr_sAttrRef
*
arp
);
...
...
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