summaryrefslogtreecommitdiff
path: root/2.3-1/macros/sci2c_gui.sci
diff options
context:
space:
mode:
authorsiddhu89902015-12-08 11:43:14 +0530
committersiddhu89902015-12-08 11:43:14 +0530
commit87e2de9869a72ab2058f4b3ca60d5a6e6d8d6035 (patch)
tree1e1b0a8dd61d37b6c5e617e5fe04238a0ef5ccdc /2.3-1/macros/sci2c_gui.sci
parentc41590dccb81670c8a81d94af47befaa72ee9928 (diff)
downloadScilab2C-87e2de9869a72ab2058f4b3ca60d5a6e6d8d6035.tar.gz
Scilab2C-87e2de9869a72ab2058f4b3ca60d5a6e6d8d6035.tar.bz2
Scilab2C-87e2de9869a72ab2058f4b3ca60d5a6e6d8d6035.zip
Modified so that code for all three output formats can be generated
Diffstat (limited to '2.3-1/macros/sci2c_gui.sci')
-rw-r--r--2.3-1/macros/sci2c_gui.sci14
1 files changed, 14 insertions, 0 deletions
diff --git a/2.3-1/macros/sci2c_gui.sci b/2.3-1/macros/sci2c_gui.sci
index 3abe497c..cb75b158 100644
--- a/2.3-1/macros/sci2c_gui.sci
+++ b/2.3-1/macros/sci2c_gui.sci
@@ -214,6 +214,20 @@ outformatradioarduino = uicontrol("parent", sci2cfig,...
"callback", "cb_sci2c_gui",...
"tag", "outformatradioarduino");
+outformatradioavr = uicontrol("parent", sci2cfig,...
+ "style", "radiobutton",...
+ "string", gettext("AVR"),...
+ "position",[2*margin+widgetLabelWidth+3*radiow outformaty radiow widgeth],...
+ "horizontalalignment", "left",...
+ "fontname", defaultfont,...
+ "fontunits", "points",...
+ "fontsize", 12,...
+ "min", 0, ...
+ "max", 1, ...
+ "value", 0,...
+ "callback", "cb_sci2c_gui",...
+ "tag", "outformatradioavr");
+
// --- Run mode option ---
runy = outformaty + margin + widgeth;
runlabel = uicontrol("parent", sci2cfig,...