From 162e4375276a5a6e206de90312bc62dc41a73afc Mon Sep 17 00:00:00 2001 From: Peli de Halleux Date: Wed, 6 Dec 2017 22:34:11 -0800 Subject: [PATCH] using icons on drop downs --- legoresources/SVGassets/Touch sensor.svg | 9 +- legoresources/SVGassets/icn_port.svg | 86 +++++++++++++++++-- .../_locales/color-sensor-strings.json | 4 +- libs/color-sensor/color.ts | 24 ++++-- libs/core/screen.ts | 2 +- libs/gyro-sensor/gyro.ts | 16 ++-- .../_locales/infrared-sensor-strings.json | 4 +- libs/infrared-sensor/ir.ts | 24 ++++-- libs/touch-sensor/touch.ts | 16 +++- libs/ultrasonic-sensor/ultrasonic.ts | 14 ++- 10 files changed, 154 insertions(+), 45 deletions(-) diff --git a/legoresources/SVGassets/Touch sensor.svg b/legoresources/SVGassets/Touch sensor.svg index d474dc91..130a40b9 100644 --- a/legoresources/SVGassets/Touch sensor.svg +++ b/legoresources/SVGassets/Touch sensor.svg @@ -14,7 +14,10 @@ sodipodi:docname="Touch sensor.svg" width="36.101002" height="36.101002" - inkscape:version="0.92.1 r15371"> + inkscape:version="0.92.1 r15371" + inkscape:export-filename="C:\gh\pxt-ev3\libs\core\jres\icons\touchSensor-icon.png" + inkscape:export-xdpi="319.10471" + inkscape:export-ydpi="319.10471"> @@ -36,8 +39,8 @@ guidetolerance="10" inkscape:pageopacity="0" inkscape:pageshadow="2" - inkscape:window-width="1920" - inkscape:window-height="1137" + inkscape:window-width="1600" + inkscape:window-height="837" id="namedview4574" showgrid="false" inkscape:zoom="7.0722208" diff --git a/legoresources/SVGassets/icn_port.svg b/legoresources/SVGassets/icn_port.svg index 5a91ad8d..64b2aad2 100644 --- a/legoresources/SVGassets/icn_port.svg +++ b/legoresources/SVGassets/icn_port.svg @@ -1,6 +1,58 @@ - - -