1
0
Fork 0

GPSmap196: change canvas backgorund color

This commit is contained in:
Clément de l'Hamaide 2014-05-14 10:48:41 +02:00
parent 607e76e347
commit 0180967468

View file

@ -293,7 +293,7 @@
<script>
<![CDATA[
var dlg = canvas.Window.new([512, 256], "dialog").set("resize", 1).set("title", "Garmin GPSmap196");
var gps196Widget = dlg.createCanvas().setColorBackground(0,0,1,1);
var gps196Widget = dlg.createCanvas().setColorBackground(1,1,1,1);
var root = gps196Widget.createGroup();
canvas.parsesvg(root, "Aircraft/Instruments-3d/GPSmap196/widget/gpsmap196-widget.svg");