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
294d9235
Commit
294d9235
authored
Aug 26, 2004
by
claes
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Function to remove trace objects added
parent
e7b9069a
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
24 additions
and
0 deletions
+24
-0
src/lib/rt/src/rt_trace.c
src/lib/rt/src/rt_trace.c
+9
-0
xtt/mmi/xtt/en_us/inc_xtt.uil
xtt/mmi/xtt/en_us/inc_xtt.uil
+1
-0
xtt/mmi/xtt/src/xtt_trace.uil
xtt/mmi/xtt/src/xtt_trace.uil
+13
-0
xtt/mmi/xtt/sv_se/inc_xtt.uil
xtt/mmi/xtt/sv_se/inc_xtt.uil
+1
-0
No files found.
src/lib/rt/src/rt_trace.c
View file @
294d9235
...
...
@@ -303,6 +303,14 @@ static void tra_activate_restoretrace( Widget w, tra_tCtx tractx, XmAnyCallbackS
flow_OpenTrace
(
tractx
->
flow_ctx
,
filename
);
}
static
void
tra_activate_cleartrace
(
Widget
w
,
tra_tCtx
tractx
,
XmAnyCallbackStruct
*
data
)
{
if
(
!
tractx
->
trace_started
)
return
;
flow_RemoveTraceObjects
(
tractx
->
flow_ctx
);
}
static
void
tra_activate_display_object
(
Widget
w
,
tra_tCtx
tractx
,
XmAnyCallbackStruct
*
data
)
{
flow_tObject
node
;
...
...
@@ -1313,6 +1321,7 @@ tra_tCtx trace_new( void *parent_ctx,
{
"tra_activate_print"
,(
caddr_t
)
tra_activate_print
},
{
"tra_activate_savetrace"
,(
caddr_t
)
tra_activate_savetrace
},
{
"tra_activate_restoretrace"
,(
caddr_t
)
tra_activate_restoretrace
},
{
"tra_activate_cleartrace"
,(
caddr_t
)
tra_activate_cleartrace
},
{
"tra_activate_trace"
,(
caddr_t
)
tra_activate_trace
},
{
"tra_activate_display_object"
,(
caddr_t
)
tra_activate_display_object
},
{
"tra_activate_open_object"
,(
caddr_t
)
tra_activate_open_object
},
...
...
xtt/mmi/xtt/en_us/inc_xtt.uil
View file @
294d9235
...
...
@@ -71,6 +71,7 @@ c_Help_on_selected_msg : compound_string("Help on selected message");
c_SaveTrace : compound_string("SaveTrace");
c_RestoreTrace : compound_string("RestoreTrace");
c_ClearTrace : compound_string("ClearTrace");
c_Mode : compound_string("Mode");
c_Trace : compound_string("Trace");
c_Simulate : compound_string("Simulate");
...
...
xtt/mmi/xtt/src/xtt_trace.uil
View file @
294d9235
...
...
@@ -24,6 +24,7 @@ procedure
tra_activate_print(integer);
tra_activate_savetrace(integer);
tra_activate_restoretrace(integer);
tra_activate_cleartrace(integer);
tra_activate_display_object(integer);
tra_activate_open_object(integer);
tra_activate_show_cross(integer);
...
...
@@ -166,6 +167,18 @@ object file_entry : XmCascadeButton
};
};
XmPushButton
{
arguments
{
XmNlabelString = c_ClearTrace;
XmNfontList = menu_font;
};
callbacks
{
XmNactivateCallback = procedure tra_activate_cleartrace(tra_ctx);
};
};
XmPushButton
{
arguments
{
...
...
xtt/mmi/xtt/sv_se/inc_xtt.uil
View file @
294d9235
...
...
@@ -71,6 +71,7 @@ c_Help_on_selected_msg : compound_string("Hj
c_SaveTrace : compound_string("Spara Trace");
c_RestoreTrace : compound_string("terskapa Trace");
c_ClearTrace : compound_string("Rensa Trace");
c_Mode : compound_string("Mod");
c_Trace : compound_string("Trace");
c_Simulate : compound_string("Simulera");
...
...
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