summaryrefslogtreecommitdiff
path: root/macros/sci2c_gui.sci
diff options
context:
space:
mode:
authorimushir2016-02-09 17:00:34 +0530
committerimushir2016-02-09 17:00:34 +0530
commitfad04e78ac69db4ef74c1bd45154fc430c18cccc (patch)
tree29bb0c8b76e6882adbaaae67bd0e845e3280f73e /macros/sci2c_gui.sci
parentee5bf4d90f78673d1e4d5a9dd304ee53c503c085 (diff)
parentbbdc94252ee563f0b01d4949868a583e43a2e6a8 (diff)
downloadScilab2C_fossee_old-fad04e78ac69db4ef74c1bd45154fc430c18cccc.tar.gz
Scilab2C_fossee_old-fad04e78ac69db4ef74c1bd45154fc430c18cccc.tar.bz2
Scilab2C_fossee_old-fad04e78ac69db4ef74c1bd45154fc430c18cccc.zip
merged RPi & diag
Diffstat (limited to 'macros/sci2c_gui.sci')
-rw-r--r--macros/sci2c_gui.sci18
1 files changed, 16 insertions, 2 deletions
diff --git a/macros/sci2c_gui.sci b/macros/sci2c_gui.sci
index cb75b15..6dbd462 100644
--- a/macros/sci2c_gui.sci
+++ b/macros/sci2c_gui.sci
@@ -203,7 +203,7 @@ outformatradiostalone = uicontrol("parent", sci2cfig,...
outformatradioarduino = uicontrol("parent", sci2cfig,...
"style", "radiobutton",...
"string", gettext("Arduino"),...
- "position",[2*margin+widgetLabelWidth+2*radiow outformaty radiow widgeth],...
+ "position",[margin+widgetLabelWidth+2*radiow outformaty radiow widgeth],...
"horizontalalignment", "left",...
"fontname", defaultfont,...
"fontunits", "points",...
@@ -217,7 +217,7 @@ outformatradioarduino = uicontrol("parent", sci2cfig,...
outformatradioavr = uicontrol("parent", sci2cfig,...
"style", "radiobutton",...
"string", gettext("AVR"),...
- "position",[2*margin+widgetLabelWidth+3*radiow outformaty radiow widgeth],...
+ "position",[margin+widgetLabelWidth+3*radiow outformaty radiow widgeth],...
"horizontalalignment", "left",...
"fontname", defaultfont,...
"fontunits", "points",...
@@ -228,6 +228,20 @@ outformatradioavr = uicontrol("parent", sci2cfig,...
"callback", "cb_sci2c_gui",...
"tag", "outformatradioavr");
+outformatradiorpi = uicontrol("parent", sci2cfig,...
+ "style", "radiobutton",...
+ "string", gettext("Rpi"),...
+ "position",[margin+widgetLabelWidth+4*radiow outformaty radiow widgeth],...
+ "horizontalalignment", "left",...
+ "fontname", defaultfont,...
+ "fontunits", "points",...
+ "fontsize", 12,...
+ "min", 0, ...
+ "max", 1, ...
+ "value", 0,...
+ "callback", "cb_sci2c_gui",...
+ "tag", "outformatradiorpi");
+
// --- Run mode option ---
runy = outformaty + margin + widgeth;
runlabel = uicontrol("parent", sci2cfig,...