From d7f46c0fb509e9e667e3f64c7917dd3e403bb509 Mon Sep 17 00:00:00 2001 From: Sam El-Husseini Date: Thu, 28 Dec 2017 11:15:53 -0800 Subject: [PATCH] Hide screen picker properly from typescript --- libs/core/_locales/core-jsdoc-strings.json | 2 - libs/core/_locales/core-strings.json | 1 - libs/core/images.ts | 258 ++++++++++----------- libs/core/screen.ts | 2 +- 4 files changed, 130 insertions(+), 133 deletions(-) diff --git a/libs/core/_locales/core-jsdoc-strings.json b/libs/core/_locales/core-jsdoc-strings.json index 309c14dd..faf6ef75 100644 --- a/libs/core/_locales/core-jsdoc-strings.json +++ b/libs/core/_locales/core-jsdoc-strings.json @@ -21,8 +21,6 @@ "brick.Button.pauseUntil": "Waits until the event is raised", "brick.Button.pauseUntil|param|ev": "the event to wait for", "brick.Button.wasPressed": "See if the button was pressed again since the last time you checked.", - "brick._imagePicker": "An image", - "brick._imagePicker|param|image": "the image", "brick.buttonDown": "Down button on the EV3 Brick.", "brick.buttonEnter": "Enter button on the EV3 Brick.", "brick.buttonLeft": "Left button on the EV3 Brick.", diff --git a/libs/core/_locales/core-strings.json b/libs/core/_locales/core-strings.json index a68e8a47..6e94110a 100644 --- a/libs/core/_locales/core-strings.json +++ b/libs/core/_locales/core-strings.json @@ -28,7 +28,6 @@ "brick.Button.onEvent|block": "on %button|%event", "brick.Button.pauseUntil|block": "pause until %button|%event", "brick.Button.wasPressed|block": "%button|was pressed", - "brick._imagePicker|block": "%image", "brick.buttonDown|block": "down", "brick.buttonEnter|block": "enter", "brick.buttonLeft|block": "left", diff --git a/libs/core/images.ts b/libs/core/images.ts index 5e4d482b..999cb197 100644 --- a/libs/core/images.ts +++ b/libs/core/images.ts @@ -1,260 +1,260 @@ namespace images { - //% fixedInstance jres blockIdentity=brick._imagePicker + //% fixedInstance jres blockIdentity=brick.__imagePicker export const expressionsBigSmile = screen.unpackPNG(hex``); - //% fixedInstance jres blockIdentity=brick._imagePicker + //% fixedInstance jres blockIdentity=brick.__imagePicker export const expressionsHeartLarge = screen.unpackPNG(hex``); - //% fixedInstance jres blockIdentity=brick._imagePicker + //% fixedInstance jres blockIdentity=brick.__imagePicker export const expressionsHeartSmall = screen.unpackPNG(hex``); - //% fixedInstance jres blockIdentity=brick._imagePicker + //% fixedInstance jres blockIdentity=brick.__imagePicker export const expressionsMouth1open = screen.unpackPNG(hex``); - //% fixedInstance jres blockIdentity=brick._imagePicker + //% fixedInstance jres blockIdentity=brick.__imagePicker export const expressionsMouth1shut = screen.unpackPNG(hex``); - //% fixedInstance jres blockIdentity=brick._imagePicker + //% fixedInstance jres blockIdentity=brick.__imagePicker export const expressionsMouth2open = screen.unpackPNG(hex``); - //% fixedInstance jres blockIdentity=brick._imagePicker + //% fixedInstance jres blockIdentity=brick.__imagePicker export const expressionsMouth2shut = screen.unpackPNG(hex``); - //% fixedInstance jres blockIdentity=brick._imagePicker + //% fixedInstance jres blockIdentity=brick.__imagePicker export const expressionsSad = screen.unpackPNG(hex``); - //% fixedInstance jres blockIdentity=brick._imagePicker + //% fixedInstance jres blockIdentity=brick.__imagePicker export const expressionsSick = screen.unpackPNG(hex``); - //% fixedInstance jres blockIdentity=brick._imagePicker + //% fixedInstance jres blockIdentity=brick.__imagePicker export const expressionsSmile = screen.unpackPNG(hex``); - //% fixedInstance jres blockIdentity=brick._imagePicker + //% fixedInstance jres blockIdentity=brick.__imagePicker export const expressionsSwearing = screen.unpackPNG(hex``); - //% fixedInstance jres blockIdentity=brick._imagePicker + //% fixedInstance jres blockIdentity=brick.__imagePicker export const expressionsTalking = screen.unpackPNG(hex``); - //% fixedInstance jres blockIdentity=brick._imagePicker + //% fixedInstance jres blockIdentity=brick.__imagePicker export const expressionsWink = screen.unpackPNG(hex``); - //% fixedInstance jres blockIdentity=brick._imagePicker + //% fixedInstance jres blockIdentity=brick.__imagePicker export const expressionsZzz = screen.unpackPNG(hex``); - //% fixedInstance jres blockIdentity=brick._imagePicker + //% fixedInstance jres blockIdentity=brick.__imagePicker export const eyesAngry = screen.unpackPNG(hex``); - //% fixedInstance jres blockIdentity=brick._imagePicker + //% fixedInstance jres blockIdentity=brick.__imagePicker export const eyesAwake = screen.unpackPNG(hex``); - //% fixedInstance jres blockIdentity=brick._imagePicker + //% fixedInstance jres blockIdentity=brick.__imagePicker export const eyesBlackEye = screen.unpackPNG(hex``); - //% fixedInstance jres blockIdentity=brick._imagePicker + //% fixedInstance jres blockIdentity=brick.__imagePicker export const eyesBottomLeft = screen.unpackPNG(hex``); - //% fixedInstance jres blockIdentity=brick._imagePicker + //% fixedInstance jres blockIdentity=brick.__imagePicker export const eyesBottomRight = screen.unpackPNG(hex``); - //% fixedInstance jres blockIdentity=brick._imagePicker + //% fixedInstance jres blockIdentity=brick.__imagePicker export const eyesCrazy1 = screen.unpackPNG(hex``); - //% fixedInstance jres blockIdentity=brick._imagePicker + //% fixedInstance jres blockIdentity=brick.__imagePicker export const eyesCrazy2 = screen.unpackPNG(hex``); - //% fixedInstance jres blockIdentity=brick._imagePicker + //% fixedInstance jres blockIdentity=brick.__imagePicker export const eyesDisappointed = screen.unpackPNG(hex``); - //% fixedInstance jres blockIdentity=brick._imagePicker + //% fixedInstance jres blockIdentity=brick.__imagePicker export const eyesDizzy = screen.unpackPNG(hex``); - //% fixedInstance jres blockIdentity=brick._imagePicker + //% fixedInstance jres blockIdentity=brick.__imagePicker export const eyesDown = screen.unpackPNG(hex``); - //% fixedInstance jres blockIdentity=brick._imagePicker + //% fixedInstance jres blockIdentity=brick.__imagePicker export const eyesEvil = screen.unpackPNG(hex``); - //% fixedInstance jres blockIdentity=brick._imagePicker + //% fixedInstance jres blockIdentity=brick.__imagePicker export const eyesHurt = screen.unpackPNG(hex``); - //% fixedInstance jres blockIdentity=brick._imagePicker + //% fixedInstance jres blockIdentity=brick.__imagePicker export const eyesKnockedOut = screen.unpackPNG(hex``); - //% fixedInstance jres blockIdentity=brick._imagePicker + //% fixedInstance jres blockIdentity=brick.__imagePicker export const eyesLove = screen.unpackPNG(hex``); - //% fixedInstance jres blockIdentity=brick._imagePicker + //% fixedInstance jres blockIdentity=brick.__imagePicker export const eyesMiddleLeft = screen.unpackPNG(hex``); - //% fixedInstance jres blockIdentity=brick._imagePicker + //% fixedInstance jres blockIdentity=brick.__imagePicker export const eyesMiddleRight = screen.unpackPNG(hex``); - //% fixedInstance jres blockIdentity=brick._imagePicker + //% fixedInstance jres blockIdentity=brick.__imagePicker export const eyesNeutral = screen.unpackPNG(hex``); - //% fixedInstance jres blockIdentity=brick._imagePicker + //% fixedInstance jres blockIdentity=brick.__imagePicker export const eyesNuclear = screen.unpackPNG(hex``); - //% fixedInstance jres blockIdentity=brick._imagePicker + //% fixedInstance jres blockIdentity=brick.__imagePicker export const eyesPinchLeft = screen.unpackPNG(hex``); - //% fixedInstance jres blockIdentity=brick._imagePicker + //% fixedInstance jres blockIdentity=brick.__imagePicker export const eyesPinchMiddle = screen.unpackPNG(hex``); - //% fixedInstance jres blockIdentity=brick._imagePicker + //% fixedInstance jres blockIdentity=brick.__imagePicker export const eyesPinchRight = screen.unpackPNG(hex``); - //% fixedInstance jres blockIdentity=brick._imagePicker + //% fixedInstance jres blockIdentity=brick.__imagePicker export const eyesSleeping = screen.unpackPNG(hex``); - //% fixedInstance jres blockIdentity=brick._imagePicker + //% fixedInstance jres blockIdentity=brick.__imagePicker export const eyesTear = screen.unpackPNG(hex``); - //% fixedInstance jres blockIdentity=brick._imagePicker + //% fixedInstance jres blockIdentity=brick.__imagePicker export const eyesTiredLeft = screen.unpackPNG(hex``); - //% fixedInstance jres blockIdentity=brick._imagePicker + //% fixedInstance jres blockIdentity=brick.__imagePicker export const eyesTiredMiddle = screen.unpackPNG(hex``); - //% fixedInstance jres blockIdentity=brick._imagePicker + //% fixedInstance jres blockIdentity=brick.__imagePicker export const eyesTiredRight = screen.unpackPNG(hex``); - //% fixedInstance jres blockIdentity=brick._imagePicker + //% fixedInstance jres blockIdentity=brick.__imagePicker export const eyesToxic = screen.unpackPNG(hex``); - //% fixedInstance jres blockIdentity=brick._imagePicker + //% fixedInstance jres blockIdentity=brick.__imagePicker export const eyesUp = screen.unpackPNG(hex``); - //% fixedInstance jres blockIdentity=brick._imagePicker + //% fixedInstance jres blockIdentity=brick.__imagePicker export const eyesWinking = screen.unpackPNG(hex``); - //% fixedInstance jres blockIdentity=brick._imagePicker + //% fixedInstance jres blockIdentity=brick.__imagePicker export const informationAccept = screen.unpackPNG(hex``); - //% fixedInstance jres blockIdentity=brick._imagePicker + //% fixedInstance jres blockIdentity=brick.__imagePicker export const informationBackward = screen.unpackPNG(hex``); - //% fixedInstance jres blockIdentity=brick._imagePicker + //% fixedInstance jres blockIdentity=brick.__imagePicker export const informationDecline = screen.unpackPNG(hex``); - //% fixedInstance jres blockIdentity=brick._imagePicker + //% fixedInstance jres blockIdentity=brick.__imagePicker export const informationForward = screen.unpackPNG(hex``); - //% fixedInstance jres blockIdentity=brick._imagePicker + //% fixedInstance jres blockIdentity=brick.__imagePicker export const informationLeft = screen.unpackPNG(hex``); - //% fixedInstance jres blockIdentity=brick._imagePicker + //% fixedInstance jres blockIdentity=brick.__imagePicker export const informationNoGo = screen.unpackPNG(hex``); - //% fixedInstance jres blockIdentity=brick._imagePicker + //% fixedInstance jres blockIdentity=brick.__imagePicker export const informationQuestionMark = screen.unpackPNG(hex``); - //% fixedInstance jres blockIdentity=brick._imagePicker + //% fixedInstance jres blockIdentity=brick.__imagePicker export const informationRight = screen.unpackPNG(hex``); - //% fixedInstance jres blockIdentity=brick._imagePicker + //% fixedInstance jres blockIdentity=brick.__imagePicker export const informationStop1 = screen.unpackPNG(hex``); - //% fixedInstance jres blockIdentity=brick._imagePicker + //% fixedInstance jres blockIdentity=brick.__imagePicker export const informationStop2 = screen.unpackPNG(hex``); - //% fixedInstance jres blockIdentity=brick._imagePicker + //% fixedInstance jres blockIdentity=brick.__imagePicker export const informationThumbsDown = screen.unpackPNG(hex``); - //% fixedInstance jres blockIdentity=brick._imagePicker + //% fixedInstance jres blockIdentity=brick.__imagePicker export const informationThumbsUp = screen.unpackPNG(hex``); - //% fixedInstance jres blockIdentity=brick._imagePicker + //% fixedInstance jres blockIdentity=brick.__imagePicker export const informationWarning = screen.unpackPNG(hex``); - //% fixedInstance jres blockIdentity=brick._imagePicker + //% fixedInstance jres blockIdentity=brick.__imagePicker export const legoColorSensor = screen.unpackPNG(hex``); - //% fixedInstance jres blockIdentity=brick._imagePicker + //% fixedInstance jres blockIdentity=brick.__imagePicker export const legoEv3icon = screen.unpackPNG(hex``); - //% fixedInstance jres blockIdentity=brick._imagePicker + //% fixedInstance jres blockIdentity=brick.__imagePicker export const legoEv3 = screen.unpackPNG(hex``); - //% fixedInstance jres blockIdentity=brick._imagePicker + //% fixedInstance jres blockIdentity=brick.__imagePicker export const legoGyroSensor = screen.unpackPNG(hex``); - //% fixedInstance jres blockIdentity=brick._imagePicker + //% fixedInstance jres blockIdentity=brick.__imagePicker export const legoIrBeacon = screen.unpackPNG(hex``); - //% fixedInstance jres blockIdentity=brick._imagePicker + //% fixedInstance jres blockIdentity=brick.__imagePicker export const legoIrSensor = screen.unpackPNG(hex``); - //% fixedInstance jres blockIdentity=brick._imagePicker + //% fixedInstance jres blockIdentity=brick.__imagePicker export const legoLego = screen.unpackPNG(hex``); - //% fixedInstance jres blockIdentity=brick._imagePicker + //% fixedInstance jres blockIdentity=brick.__imagePicker export const legoLargeMotor = screen.unpackPNG(hex``); - //% fixedInstance jres blockIdentity=brick._imagePicker + //% fixedInstance jres blockIdentity=brick.__imagePicker export const legoMindstorms = screen.unpackPNG(hex``); - //% fixedInstance jres blockIdentity=brick._imagePicker + //% fixedInstance jres blockIdentity=brick.__imagePicker export const legoMediumMotor = screen.unpackPNG(hex``); - //% fixedInstance jres blockIdentity=brick._imagePicker + //% fixedInstance jres blockIdentity=brick.__imagePicker export const legoSoundSensor = screen.unpackPNG(hex``); - //% fixedInstance jres blockIdentity=brick._imagePicker + //% fixedInstance jres blockIdentity=brick.__imagePicker export const legoTempSensor = screen.unpackPNG(hex``); - //% fixedInstance jres blockIdentity=brick._imagePicker + //% fixedInstance jres blockIdentity=brick.__imagePicker export const legoTouchSensor = screen.unpackPNG(hex``); - //% fixedInstance jres blockIdentity=brick._imagePicker + //% fixedInstance jres blockIdentity=brick.__imagePicker export const legoUsSensor = screen.unpackPNG(hex``); - //% fixedInstance jres blockIdentity=brick._imagePicker + //% fixedInstance jres blockIdentity=brick.__imagePicker export const objectsBomb = screen.unpackPNG(hex``); - //% fixedInstance jres blockIdentity=brick._imagePicker + //% fixedInstance jres blockIdentity=brick.__imagePicker export const objectsBoom = screen.unpackPNG(hex``); - //% fixedInstance jres blockIdentity=brick._imagePicker + //% fixedInstance jres blockIdentity=brick.__imagePicker export const objectsFire = screen.unpackPNG(hex``); - //% fixedInstance jres blockIdentity=brick._imagePicker + //% fixedInstance jres blockIdentity=brick.__imagePicker export const objectsFlowers = screen.unpackPNG(hex``); - //% fixedInstance jres blockIdentity=brick._imagePicker + //% fixedInstance jres blockIdentity=brick.__imagePicker export const objectsForest = screen.unpackPNG(hex``); - //% fixedInstance jres blockIdentity=brick._imagePicker + //% fixedInstance jres blockIdentity=brick.__imagePicker export const objectsLightOff = screen.unpackPNG(hex``); - //% fixedInstance jres blockIdentity=brick._imagePicker + //% fixedInstance jres blockIdentity=brick.__imagePicker export const objectsLightOn = screen.unpackPNG(hex``); - //% fixedInstance jres blockIdentity=brick._imagePicker + //% fixedInstance jres blockIdentity=brick.__imagePicker export const objectsLightning = screen.unpackPNG(hex``); - //% fixedInstance jres blockIdentity=brick._imagePicker + //% fixedInstance jres blockIdentity=brick.__imagePicker export const objectsNight = screen.unpackPNG(hex``); - //% fixedInstance jres blockIdentity=brick._imagePicker + //% fixedInstance jres blockIdentity=brick.__imagePicker export const objectsPirate = screen.unpackPNG(hex``); - //% fixedInstance jres blockIdentity=brick._imagePicker + //% fixedInstance jres blockIdentity=brick.__imagePicker export const objectsSnow = screen.unpackPNG(hex``); - //% fixedInstance jres blockIdentity=brick._imagePicker + //% fixedInstance jres blockIdentity=brick.__imagePicker export const objectsTarget = screen.unpackPNG(hex``); - //% fixedInstance jres blockIdentity=brick._imagePicker + //% fixedInstance jres blockIdentity=brick.__imagePicker export const progressBar0 = screen.unpackPNG(hex``); - //% fixedInstance jres blockIdentity=brick._imagePicker + //% fixedInstance jres blockIdentity=brick.__imagePicker export const progressBar1 = screen.unpackPNG(hex``); - //% fixedInstance jres blockIdentity=brick._imagePicker + //% fixedInstance jres blockIdentity=brick.__imagePicker export const progressBar2 = screen.unpackPNG(hex``); - //% fixedInstance jres blockIdentity=brick._imagePicker + //% fixedInstance jres blockIdentity=brick.__imagePicker export const progressBar3 = screen.unpackPNG(hex``); - //% fixedInstance jres blockIdentity=brick._imagePicker + //% fixedInstance jres blockIdentity=brick.__imagePicker export const progressBar4 = screen.unpackPNG(hex``); - //% fixedInstance jres blockIdentity=brick._imagePicker + //% fixedInstance jres blockIdentity=brick.__imagePicker export const progressDial0 = screen.unpackPNG(hex``); - //% fixedInstance jres blockIdentity=brick._imagePicker + //% fixedInstance jres blockIdentity=brick.__imagePicker export const progressDial1 = screen.unpackPNG(hex``); - //% fixedInstance jres blockIdentity=brick._imagePicker + //% fixedInstance jres blockIdentity=brick.__imagePicker export const progressDial2 = screen.unpackPNG(hex``); - //% fixedInstance jres blockIdentity=brick._imagePicker + //% fixedInstance jres blockIdentity=brick.__imagePicker export const progressDial3 = screen.unpackPNG(hex``); - //% fixedInstance jres blockIdentity=brick._imagePicker + //% fixedInstance jres blockIdentity=brick.__imagePicker export const progressDial4 = screen.unpackPNG(hex``); - //% fixedInstance jres blockIdentity=brick._imagePicker + //% fixedInstance jres blockIdentity=brick.__imagePicker export const progressDots0 = screen.unpackPNG(hex``); - //% fixedInstance jres blockIdentity=brick._imagePicker + //% fixedInstance jres blockIdentity=brick.__imagePicker export const progressDots1 = screen.unpackPNG(hex``); - //% fixedInstance jres blockIdentity=brick._imagePicker + //% fixedInstance jres blockIdentity=brick.__imagePicker export const progressDots2 = screen.unpackPNG(hex``); - //% fixedInstance jres blockIdentity=brick._imagePicker + //% fixedInstance jres blockIdentity=brick.__imagePicker export const progressDots3 = screen.unpackPNG(hex``); - //% fixedInstance jres blockIdentity=brick._imagePicker + //% fixedInstance jres blockIdentity=brick.__imagePicker export const progressHourglass0 = screen.unpackPNG(hex``); - //% fixedInstance jres blockIdentity=brick._imagePicker + //% fixedInstance jres blockIdentity=brick.__imagePicker export const progressHourglass1 = screen.unpackPNG(hex``); - //% fixedInstance jres blockIdentity=brick._imagePicker + //% fixedInstance jres blockIdentity=brick.__imagePicker export const progressHourglass2 = screen.unpackPNG(hex``); - //% fixedInstance jres blockIdentity=brick._imagePicker + //% fixedInstance jres blockIdentity=brick.__imagePicker export const progressTimer0 = screen.unpackPNG(hex``); - //% fixedInstance jres blockIdentity=brick._imagePicker + //% fixedInstance jres blockIdentity=brick.__imagePicker export const progressTimer1 = screen.unpackPNG(hex``); - //% fixedInstance jres blockIdentity=brick._imagePicker + //% fixedInstance jres blockIdentity=brick.__imagePicker export const progressTimer2 = screen.unpackPNG(hex``); - //% fixedInstance jres blockIdentity=brick._imagePicker + //% fixedInstance jres blockIdentity=brick.__imagePicker export const progressTimer3 = screen.unpackPNG(hex``); - //% fixedInstance jres blockIdentity=brick._imagePicker + //% fixedInstance jres blockIdentity=brick.__imagePicker export const progressTimer4 = screen.unpackPNG(hex``); - //% fixedInstance jres blockIdentity=brick._imagePicker + //% fixedInstance jres blockIdentity=brick.__imagePicker export const progressWaterLevel0 = screen.unpackPNG(hex``); - //% fixedInstance jres blockIdentity=brick._imagePicker + //% fixedInstance jres blockIdentity=brick.__imagePicker export const progressWaterLevel1 = screen.unpackPNG(hex``); - //% fixedInstance jres blockIdentity=brick._imagePicker + //% fixedInstance jres blockIdentity=brick.__imagePicker export const progressWaterLevel2 = screen.unpackPNG(hex``); - //% fixedInstance jres blockIdentity=brick._imagePicker + //% fixedInstance jres blockIdentity=brick.__imagePicker export const progressWaterLevel3 = screen.unpackPNG(hex``); - //% fixedInstance jres blockIdentity=brick._imagePicker + //% fixedInstance jres blockIdentity=brick.__imagePicker export const systemAccept1 = screen.unpackPNG(hex``); - //% fixedInstance jres blockIdentity=brick._imagePicker + //% fixedInstance jres blockIdentity=brick.__imagePicker export const systemAccept2 = screen.unpackPNG(hex``); - //% fixedInstance jres blockIdentity=brick._imagePicker + //% fixedInstance jres blockIdentity=brick.__imagePicker export const systemAlert = screen.unpackPNG(hex``); - //% fixedInstance jres blockIdentity=brick._imagePicker + //% fixedInstance jres blockIdentity=brick.__imagePicker export const systemBox = screen.unpackPNG(hex``); - //% fixedInstance jres blockIdentity=brick._imagePicker + //% fixedInstance jres blockIdentity=brick.__imagePicker export const systemBusy0 = screen.unpackPNG(hex``); - //% fixedInstance jres blockIdentity=brick._imagePicker + //% fixedInstance jres blockIdentity=brick.__imagePicker export const systemBusy1 = screen.unpackPNG(hex``); - //% fixedInstance jres blockIdentity=brick._imagePicker + //% fixedInstance jres blockIdentity=brick.__imagePicker export const systemDecline1 = screen.unpackPNG(hex``); - //% fixedInstance jres blockIdentity=brick._imagePicker + //% fixedInstance jres blockIdentity=brick.__imagePicker export const systemDecline2 = screen.unpackPNG(hex``); - //% fixedInstance jres blockIdentity=brick._imagePicker + //% fixedInstance jres blockIdentity=brick.__imagePicker export const systemDotEmpty = screen.unpackPNG(hex``); - //% fixedInstance jres blockIdentity=brick._imagePicker + //% fixedInstance jres blockIdentity=brick.__imagePicker export const systemDotFull = screen.unpackPNG(hex``); - //% fixedInstance jres blockIdentity=brick._imagePicker + //% fixedInstance jres blockIdentity=brick.__imagePicker export const systemEv3small = screen.unpackPNG(hex``); - //% fixedInstance jres blockIdentity=brick._imagePicker + //% fixedInstance jres blockIdentity=brick.__imagePicker export const systemPlay = screen.unpackPNG(hex``); - //% fixedInstance jres blockIdentity=brick._imagePicker + //% fixedInstance jres blockIdentity=brick.__imagePicker export const systemSlider0 = screen.unpackPNG(hex``); - //% fixedInstance jres blockIdentity=brick._imagePicker + //% fixedInstance jres blockIdentity=brick.__imagePicker export const systemSlider1 = screen.unpackPNG(hex``); - //% fixedInstance jres blockIdentity=brick._imagePicker + //% fixedInstance jres blockIdentity=brick.__imagePicker export const systemSlider2 = screen.unpackPNG(hex``); - //% fixedInstance jres blockIdentity=brick._imagePicker + //% fixedInstance jres blockIdentity=brick.__imagePicker export const systemSlider3 = screen.unpackPNG(hex``); - //% fixedInstance jres blockIdentity=brick._imagePicker + //% fixedInstance jres blockIdentity=brick.__imagePicker export const systemSlider4 = screen.unpackPNG(hex``); - //% fixedInstance jres blockIdentity=brick._imagePicker + //% fixedInstance jres blockIdentity=brick.__imagePicker export const systemSlider5 = screen.unpackPNG(hex``); - //% fixedInstance jres blockIdentity=brick._imagePicker + //% fixedInstance jres blockIdentity=brick.__imagePicker export const systemSlider6 = screen.unpackPNG(hex``); - //% fixedInstance jres blockIdentity=brick._imagePicker + //% fixedInstance jres blockIdentity=brick.__imagePicker export const systemSlider7 = screen.unpackPNG(hex``); - //% fixedInstance jres blockIdentity=brick._imagePicker + //% fixedInstance jres blockIdentity=brick.__imagePicker export const systemSlider8 = screen.unpackPNG(hex``); } diff --git a/libs/core/screen.ts b/libs/core/screen.ts index 9027f5f7..f70dc6e1 100644 --- a/libs/core/screen.ts +++ b/libs/core/screen.ts @@ -158,7 +158,7 @@ namespace brick { //% image.fieldOptions.columns=6 //% image.fieldOptions.hasSearchBar=true //% group="Screen" weight=0 blockHidden=1 - export function _imagePicker(image: Image): Image { + export function __imagePicker(image: Image): Image { return image; }