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
e71e64c4
Commit
e71e64c4
authored
Nov 21, 2011
by
Claes Sjofors
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
rt_rtt, show nodes, os and hw added
parent
384a0080
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
18 additions
and
1 deletion
+18
-1
src/lib/dtt/src/dtt_rttsys.c
src/lib/dtt/src/dtt_rttsys.c
+17
-0
xtt/lib/ge/gtk/ge_gtk.cpp
xtt/lib/ge/gtk/ge_gtk.cpp
+1
-1
No files found.
src/lib/dtt/src/dtt_rttsys.c
View file @
e71e64c4
...
...
@@ -1088,6 +1088,9 @@ int RTTSYS_SHOW_NODES( menu_ctx ctx,
case
co_eOS_MacOS
:
strcpy
(
menu_ptr
->
value_ptr
,
"MacOS"
);
break
;
case
co_eOS_VMS
:
strcpy
(
menu_ptr
->
value_ptr
,
"VMS"
);
break
;
case
co_eOS_ELN
:
strcpy
(
menu_ptr
->
value_ptr
,
"ELN"
);
break
;
case
co_eOS_FreeBSD
:
strcpy
(
menu_ptr
->
value_ptr
,
"FreeBSD"
);
break
;
case
co_eOS_OpenBSD
:
strcpy
(
menu_ptr
->
value_ptr
,
"OpenBSD"
);
break
;
case
co_eOS_Cygwin
:
strcpy
(
menu_ptr
->
value_ptr
,
"Cygwin"
);
break
;
default:
strcpy
(
menu_ptr
->
value_ptr
,
"Unknwn"
);
}
menu_ptr
++
;
...
...
@@ -1099,6 +1102,7 @@ int RTTSYS_SHOW_NODES( menu_ctx ctx,
case
co_eHW_VAX
:
strcpy
(
menu_ptr
->
value_ptr
,
"VAX"
);
break
;
case
co_eHW_Alpha
:
strcpy
(
menu_ptr
->
value_ptr
,
"AXP"
);
break
;
case
co_eHW_PPC
:
strcpy
(
menu_ptr
->
value_ptr
,
"PPC"
);
break
;
case
co_eHW_ARM
:
strcpy
(
menu_ptr
->
value_ptr
,
"ARM"
);
break
;
default:
strcpy
(
menu_ptr
->
value_ptr
,
"Unknwn"
);
}
menu_ptr
++
;
...
...
@@ -1254,6 +1258,9 @@ int RTTSYS_SHOW_NODES( menu_ctx ctx,
case
co_eOS_MacOS
:
strcpy
(
menu_ptr
->
value_ptr
,
"MacOS"
);
break
;
case
co_eOS_VMS
:
strcpy
(
menu_ptr
->
value_ptr
,
"VMS"
);
break
;
case
co_eOS_ELN
:
strcpy
(
menu_ptr
->
value_ptr
,
"ELN"
);
break
;
case
co_eOS_FreeBSD
:
strcpy
(
menu_ptr
->
value_ptr
,
"FreeBSD"
);
break
;
case
co_eOS_OpenBSD
:
strcpy
(
menu_ptr
->
value_ptr
,
"OpenBSD"
);
break
;
case
co_eOS_Cygwin
:
strcpy
(
menu_ptr
->
value_ptr
,
"Cygwin"
);
break
;
default:
strcpy
(
menu_ptr
->
value_ptr
,
"Unknwn"
);
}
menu_ptr
++
;
...
...
@@ -1265,6 +1272,7 @@ int RTTSYS_SHOW_NODES( menu_ctx ctx,
case
co_eHW_VAX
:
strcpy
(
menu_ptr
->
value_ptr
,
"VAX"
);
break
;
case
co_eHW_Alpha
:
strcpy
(
menu_ptr
->
value_ptr
,
"AXP"
);
break
;
case
co_eHW_PPC
:
strcpy
(
menu_ptr
->
value_ptr
,
"PPC"
);
break
;
case
co_eHW_ARM
:
strcpy
(
menu_ptr
->
value_ptr
,
"ARM"
);
break
;
default:
strcpy
(
menu_ptr
->
value_ptr
,
"Unknwn"
);
}
menu_ptr
++
;
...
...
@@ -11785,8 +11793,12 @@ int RTTSYS_QCOM_NODES( menu_ctx ctx,
switch
(
np
->
os
)
{
case
co_eOS_Lynx
:
strcpy
(
menu_ptr
->
value_ptr
,
"Lynx"
);
break
;
case
co_eOS_Linux
:
strcpy
(
menu_ptr
->
value_ptr
,
"Linux"
);
break
;
case
co_eOS_MacOS
:
strcpy
(
menu_ptr
->
value_ptr
,
"MacOS"
);
break
;
case
co_eOS_VMS
:
strcpy
(
menu_ptr
->
value_ptr
,
"VMS"
);
break
;
case
co_eOS_ELN
:
strcpy
(
menu_ptr
->
value_ptr
,
"ELN"
);
break
;
case
co_eOS_FreeBSD
:
strcpy
(
menu_ptr
->
value_ptr
,
"FreeBSD"
);
break
;
case
co_eOS_OpenBSD
:
strcpy
(
menu_ptr
->
value_ptr
,
"OpenBSD"
);
break
;
case
co_eOS_Cygwin
:
strcpy
(
menu_ptr
->
value_ptr
,
"Cygwin"
);
break
;
default:
strcpy
(
menu_ptr
->
value_ptr
,
"Unknwn"
);
}
menu_ptr
++
;
...
...
@@ -11798,6 +11810,7 @@ int RTTSYS_QCOM_NODES( menu_ctx ctx,
case
co_eHW_VAX
:
strcpy
(
menu_ptr
->
value_ptr
,
"VAX"
);
break
;
case
co_eHW_Alpha
:
strcpy
(
menu_ptr
->
value_ptr
,
"AXP"
);
break
;
case
co_eHW_PPC
:
strcpy
(
menu_ptr
->
value_ptr
,
"PPC"
);
break
;
case
co_eHW_ARM
:
strcpy
(
menu_ptr
->
value_ptr
,
"ARM"
);
break
;
default:
strcpy
(
menu_ptr
->
value_ptr
,
"Unknwn"
);
}
menu_ptr
++
;
...
...
@@ -11948,6 +11961,9 @@ int RTTSYS_QCOM_NODES( menu_ctx ctx,
case
co_eOS_MacOS
:
strcpy
(
menu_ptr
->
value_ptr
,
"MacOS"
);
break
;
case
co_eOS_VMS
:
strcpy
(
menu_ptr
->
value_ptr
,
"VMS"
);
break
;
case
co_eOS_ELN
:
strcpy
(
menu_ptr
->
value_ptr
,
"ELN"
);
break
;
case
co_eOS_FreeBSD
:
strcpy
(
menu_ptr
->
value_ptr
,
"FreeBSD"
);
break
;
case
co_eOS_OpenBSD
:
strcpy
(
menu_ptr
->
value_ptr
,
"OpenBSD"
);
break
;
case
co_eOS_Cygwin
:
strcpy
(
menu_ptr
->
value_ptr
,
"Cygwin"
);
break
;
default:
strcpy
(
menu_ptr
->
value_ptr
,
"Unknwn"
);
}
menu_ptr
++
;
...
...
@@ -11959,6 +11975,7 @@ int RTTSYS_QCOM_NODES( menu_ctx ctx,
case
co_eHW_VAX
:
strcpy
(
menu_ptr
->
value_ptr
,
"VAX"
);
break
;
case
co_eHW_Alpha
:
strcpy
(
menu_ptr
->
value_ptr
,
"AXP"
);
break
;
case
co_eHW_PPC
:
strcpy
(
menu_ptr
->
value_ptr
,
"PPC"
);
break
;
case
co_eHW_ARM
:
strcpy
(
menu_ptr
->
value_ptr
,
"ARM"
);
break
;
default:
strcpy
(
menu_ptr
->
value_ptr
,
"Unknwn"
);
}
menu_ptr
++
;
...
...
xtt/lib/ge/gtk/ge_gtk.cpp
View file @
e71e64c4
...
...
@@ -2249,7 +2249,7 @@ GeGtk::GeGtk( void *x_parent_ctx,
GtkWidget
*
tools_circ
=
image_button
(
"$pwr_exe/ge_circ.png"
);
g_signal_connect
(
tools_circ
,
"clicked"
,
G_CALLBACK
(
activate_circle
),
this
);
gtk_toolbar_append_widget
(
tools
,
tools_circ
,
"Draw a circle or elipse"
,
""
);
gtk_toolbar_append_widget
(
tools
,
tools_circ
,
"Draw a circle or el
l
ipse"
,
""
);
GtkWidget
*
tools_line
=
image_button
(
"$pwr_exe/ge_line.png"
);
g_signal_connect
(
tools_line
,
"clicked"
,
G_CALLBACK
(
activate_line
),
this
);
...
...
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