diff --git a/editor/extension.ts b/editor/extension.ts
index 9a822927..957a41da 100644
--- a/editor/extension.ts
+++ b/editor/extension.ts
@@ -3,7 +3,7 @@
import { deployCoreAsync, initAsync } from "./deploy";
import { FieldPorts } from "./field_ports";
-import { FieldImages } from "./field_images";
+import { FieldMotors } from "./field_motors";
import { FieldSpeed } from "./field_speed";
import { FieldBrickButtons } from "./field_brickbuttons";
import { FieldTurnRatio } from "./field_turnratio";
@@ -17,8 +17,8 @@ pxt.editor.initExtensionsAsync = function (opts: pxt.editor.ExtensionOptions): P
selector: "ports",
editor: FieldPorts
}, {
- selector: "images",
- editor: FieldImages
+ selector: "motors",
+ editor: FieldMotors
}, {
selector: "speed",
editor: FieldSpeed
diff --git a/editor/field_brickbuttons.ts b/editor/field_brickbuttons.ts
index 94f2bc2b..f55ed62b 100644
--- a/editor/field_brickbuttons.ts
+++ b/editor/field_brickbuttons.ts
@@ -155,5 +155,6 @@ export class FieldBrickButtons extends Blockly.FieldDropdown implements Blockly.
Blockly.DropDownDiv.content_.removeAttribute('role');
Blockly.DropDownDiv.content_.removeAttribute('aria-haspopup');
Blockly.DropDownDiv.content_.removeAttribute('aria-activedescendant');
+ Blockly.DropDownDiv.getContentDiv().style.width = '';
};
}
\ No newline at end of file
diff --git a/editor/field_images.ts b/editor/field_images.ts
deleted file mode 100644
index 2357a580..00000000
--- a/editor/field_images.ts
+++ /dev/null
@@ -1,114 +0,0 @@
-///
-///
-///
-
-export interface FieldImagesOptions extends pxtblockly.FieldImageDropdownOptions {
-}
-
-export class FieldImages extends pxtblockly.FieldImageDropdown implements Blockly.FieldCustom {
- public isFieldCustom_ = true;
-
- constructor(text: string, options: FieldImagesOptions, validator?: Function) {
- super(text, options, validator);
- }
-
- /**
- * Create a dropdown menu under the text.
- * @private
- */
- public showEditor_() {
- // If there is an existing drop-down we own, this is a request to hide the drop-down.
- if (Blockly.DropDownDiv.hideIfOwner(this)) {
- return;
- }
- // If there is an existing drop-down someone else owns, hide it immediately and clear it.
- Blockly.DropDownDiv.hideWithoutAnimation();
- Blockly.DropDownDiv.clearContent();
- // Populate the drop-down with the icons for this field.
- let dropdownDiv = Blockly.DropDownDiv.getContentDiv();
- let contentDiv = document.createElement('div');
- // Accessibility properties
- contentDiv.setAttribute('role', 'menu');
- contentDiv.setAttribute('aria-haspopup', 'true');
- const options = this.getOptions();
- for (let i = 0, option: any; option = options[i]; i++) {
- let content = (options[i] as any)[0]; // Human-readable text or image.
- const value = (options[i] as any)[1]; // Language-neutral value.
- // Icons with the type property placeholder take up space but don't have any functionality
- // Use for special-case layouts
- if (content.type == 'placeholder') {
- let placeholder = document.createElement('span');
- placeholder.setAttribute('class', 'blocklyDropDownPlaceholder');
- placeholder.style.width = content.width + 'px';
- placeholder.style.height = content.height + 'px';
- contentDiv.appendChild(placeholder);
- continue;
- }
- let button = document.createElement('button');
- button.setAttribute('id', ':' + i); // For aria-activedescendant
- button.setAttribute('role', 'menuitem');
- button.setAttribute('class', 'blocklyDropDownButton');
- button.title = content.alt;
- if ((this as any).columns_) {
- button.style.width = (((this as any).width_ / (this as any).columns_) - 8) + 'px';
- //button.style.height = ((this.width_ / this.columns_) - 8) + 'px';
- } else {
- button.style.width = content.width + 'px';
- button.style.height = content.height + 'px';
- }
- let backgroundColor = this.sourceBlock_.getColour();
- if (value == this.getValue()) {
- // This icon is selected, show it in a different colour
- backgroundColor = this.sourceBlock_.getColourTertiary();
- button.setAttribute('aria-selected', 'true');
- }
- button.style.backgroundColor = backgroundColor;
- button.style.borderColor = this.sourceBlock_.getColourTertiary();
- Blockly.bindEvent_(button, 'click', this, (this as any).buttonClick_);
- Blockly.bindEvent_(button, 'mouseup', this, (this as any).buttonClick_);
- // These are applied manually instead of using the :hover pseudoclass
- // because Android has a bad long press "helper" menu and green highlight
- // that we must prevent with ontouchstart preventDefault
- Blockly.bindEvent_(button, 'mousedown', button, function (e) {
- this.setAttribute('class', 'blocklyDropDownButton blocklyDropDownButtonHover');
- e.preventDefault();
- });
- Blockly.bindEvent_(button, 'mouseover', button, function () {
- this.setAttribute('class', 'blocklyDropDownButton blocklyDropDownButtonHover');
- contentDiv.setAttribute('aria-activedescendant', this.id);
- });
- Blockly.bindEvent_(button, 'mouseout', button, function () {
- this.setAttribute('class', 'blocklyDropDownButton');
- contentDiv.removeAttribute('aria-activedescendant');
- });
- let buttonImg = document.createElement('img');
- buttonImg.src = content.src;
- //buttonImg.alt = icon.alt;
- // Upon click/touch, we will be able to get the clicked element as e.target
- // Store a data attribute on all possible click targets so we can match it to the icon.
- button.setAttribute('data-value', value);
- buttonImg.setAttribute('data-value', value);
- button.appendChild(buttonImg);
- contentDiv.appendChild(button);
- }
- contentDiv.style.width = (this as any).width_ + 'px';
- dropdownDiv.appendChild(contentDiv);
-
- Blockly.DropDownDiv.setColour(this.sourceBlock_.getColour(), this.sourceBlock_.getColourTertiary());
-
- // Calculate positioning based on the field position.
- var scale = this.sourceBlock_.workspace.scale;
- var bBox = { width: this.size_.width, height: this.size_.height };
- bBox.width *= scale;
- bBox.height *= scale;
- var position = this.fieldGroup_.getBoundingClientRect();
- var primaryX = position.left + bBox.width / 2;
- var primaryY = position.top + bBox.height;
- var secondaryX = primaryX;
- var secondaryY = position.top;
- // Set bounds to workspace; show the drop-down.
- (Blockly.DropDownDiv as any).setBoundsElement(this.sourceBlock_.workspace.getParentSvg().parentNode);
- (Blockly.DropDownDiv as any).show(this, primaryX, primaryY, secondaryX, secondaryY,
- (this as any).onHide_.bind(this));
- }
-}
\ No newline at end of file
diff --git a/editor/field_motors.ts b/editor/field_motors.ts
new file mode 100644
index 00000000..64984eee
--- /dev/null
+++ b/editor/field_motors.ts
@@ -0,0 +1,565 @@
+///
+///
+
+export interface FieldMotorsOptions extends Blockly.FieldCustomDropdownOptions {
+
+}
+
+export class FieldMotors extends Blockly.FieldDropdown implements Blockly.FieldCustom {
+ public isFieldCustom_ = true;
+
+ private box2_: SVGRectElement;
+ private textElement2_: SVGTextElement;
+ private arrow2_: SVGImageElement;
+
+ // Width in pixels
+ protected itemWidth_: number;
+
+ // Number of rows to display (if there are extra rows, the picker will be scrollable)
+ protected maxRows_: number;
+
+ protected backgroundColour_: string;
+ protected itemColour_: string;
+ protected borderColour_: string;
+
+ private isFirst_: boolean; // which of the two dropdowns is selected
+
+ constructor(text: string, options: FieldMotorsOptions, validator?: Function) {
+ super(options.data, validator);
+
+ this.itemWidth_ = 75;
+ this.backgroundColour_ = pxtblockly.parseColour(options.colour);
+ this.itemColour_ = "rgba(255, 255, 255, 0.6)";
+ this.borderColour_ = Blockly.PXTUtils.fadeColour(this.backgroundColour_, 0.4, false);
+ }
+
+ init() {
+ if (this.fieldGroup_) {
+ // Field has already been initialized once.
+ return;
+ }
+ // Add dropdown arrow: "option ▾" (LTR) or "▾ אופציה" (RTL)
+ // Positioned on render, after text size is calculated.
+ /** @type {Number} */
+ (this as any).arrowSize_ = 12;
+ /** @type {Number} */
+ (this as any).arrowX_ = 0;
+ /** @type {Number} */
+ this.arrowY_ = 11;
+ this.arrow_ = Blockly.utils.createSvgElement('image', {
+ 'height': (this as any).arrowSize_ + 'px',
+ 'width': (this as any).arrowSize_ + 'px'
+ });
+ this.arrow_.setAttributeNS('http://www.w3.org/1999/xlink',
+ 'xlink:href', (Blockly.FieldDropdown as any).DROPDOWN_SVG_DATAURI);
+
+ this.arrow2_ = Blockly.utils.createSvgElement('image', {
+ 'height': (this as any).arrowSize_ + 'px',
+ 'width': (this as any).arrowSize_ + 'px'
+ });
+ this.arrow2_.setAttributeNS('http://www.w3.org/1999/xlink',
+ 'xlink:href', (Blockly.FieldDropdown as any).DROPDOWN_SVG_DATAURI);
+ (this as any).className_ += ' blocklyDropdownText';
+
+ // Build the DOM.
+ this.fieldGroup_ = Blockly.utils.createSvgElement('g', {}, null);
+ if (!this.visible_) {
+ (this.fieldGroup_ as any).style.display = 'none';
+ }
+ // Adjust X to be flipped for RTL. Position is relative to horizontal start of source block.
+ var size = this.getSize();
+ var fieldX = (this.sourceBlock_.RTL) ? -size.width / 2 : size.width / 2;
+ /** @type {!Element} */
+ this.textElement_ = Blockly.utils.createSvgElement('text',
+ {
+ 'class': (this as any).className_,
+ 'x': fieldX,
+ 'dy': '0.7ex',
+ 'y': size.height / 2
+ },
+ this.fieldGroup_);
+ fieldX += 10; // size of first group.
+ this.textElement2_ = Blockly.utils.createSvgElement('text',
+ {
+ 'class': (this as any).className_,
+ 'x': fieldX,
+ 'dy': '0.7ex',
+ 'y': this.size_.height / 2
+ },
+ this.fieldGroup_);
+
+ this.updateEditable();
+ this.sourceBlock_.getSvgRoot().appendChild(this.fieldGroup_);
+ // Force a render.
+ this.render_();
+ this.size_.width = 0;
+ (this as any).mouseDownWrapper_ =
+ Blockly.bindEventWithChecks_((this as any).getClickTarget_(), 'mousedown', this,
+ (this as any).onMouseDown_);
+
+ // Add second dropdown
+ if (this.shouldShowRect_()) {
+ this.box_ = Blockly.utils.createSvgElement('rect', {
+ 'rx': (Blockly.BlockSvg as any).CORNER_RADIUS,
+ 'ry': (Blockly.BlockSvg as any).CORNER_RADIUS,
+ 'x': 0,
+ 'y': 0,
+ 'width': this.size_.width,
+ 'height': this.size_.height,
+ 'stroke': this.sourceBlock_.getColourTertiary(),
+ 'fill': this.sourceBlock_.getColour(),
+ 'class': 'blocklyBlockBackground',
+ 'fill-opacity': 1
+ }, null);
+ this.fieldGroup_.insertBefore(this.box_, this.textElement_);
+ this.box2_ = Blockly.utils.createSvgElement('rect', {
+ 'rx': (Blockly.BlockSvg as any).CORNER_RADIUS,
+ 'ry': (Blockly.BlockSvg as any).CORNER_RADIUS,
+ 'x': 0,
+ 'y': 0,
+ 'width': this.size_.width,
+ 'height': this.size_.height,
+ 'stroke': this.sourceBlock_.getColourTertiary(),
+ 'fill': this.sourceBlock_.getColour(),
+ 'class': 'blocklyBlockBackground',
+ 'fill-opacity': 1
+ }, null);
+ this.fieldGroup_.insertBefore(this.box2_, this.textElement2_);
+ }
+
+ // Force a reset of the text to add the arrow.
+ var text = this.text_;
+ this.text_ = null;
+ this.setText(text);
+ }
+
+ getFirstValue(text: string) {
+ // Get first set of words up until last space
+ return this.normalizeText_(text.substring(0, text.lastIndexOf(' ')));
+ }
+
+ getSecondValue(text: string) {
+ // Get last word
+ return this.normalizeText_(text.match(/\S*$/)[0]);
+ }
+
+ private normalizeText_(text: string) {
+ if (!text) {
+ // Prevent the field from disappearing if empty.
+ return Blockly.Field.NBSP;
+ }
+ if (text.length > this.maxDisplayLength) {
+ // Truncate displayed string and add an ellipsis ('...').
+ text = text.substring(0, this.maxDisplayLength - 2) + '\u2026';
+ }
+ // Replace whitespace with non-breaking spaces so the text doesn't collapse.
+ text = text.replace(/\s/g, Blockly.Field.NBSP);
+ if (this.sourceBlock_.RTL) {
+ // The SVG is LTR, force text to be RTL.
+ text += '\u200F';
+ }
+ return text;
+ }
+
+ updateTextNode2_() {
+ if (!this.textElement2_) {
+ // Not rendered yet.
+ return;
+ }
+ var text = this.text_;
+ if (text.length > this.maxDisplayLength) {
+ // Truncate displayed string and add an ellipsis ('...').
+ text = text.substring(0, this.maxDisplayLength - 2) + '\u2026';
+ // Add special class for sizing font when truncated
+ this.textElement2_.setAttribute('class', (this as any).className_ + ' blocklyTextTruncated');
+ } else {
+ this.textElement2_.setAttribute('class', (this as any).className_);
+ }
+ // Empty the text element.
+ goog.dom.removeChildren(/** @type {!Element} */(this.textElement2_));
+ // Replace whitespace with non-breaking spaces so the text doesn't collapse.
+ text = text.replace(/\s/g, Blockly.Field.NBSP);
+ if (this.sourceBlock_.RTL && text) {
+ // The SVG is LTR, force text to be RTL.
+ text += '\u200F';
+ }
+ if (!text) {
+ // Prevent the field from disappearing if empty.
+ text = Blockly.Field.NBSP;
+ }
+ var textNode = document.createTextNode(text);
+ this.textElement2_.appendChild(textNode);
+
+ // Cached width is obsolete. Clear it.
+ this.size_.width = 0;
+ };
+
+ patchDualMotorText(text: string) {
+ if (text === null) {
+ return text;
+ }
+ if (text.indexOf(' ') == -1) {
+ text = `large motors ${text}`;
+ }
+ return text;
+ }
+
+ setText(text: string) {
+ if (text === null || text === this.text_) {
+ // No change if null.
+ return;
+ }
+ text = this.patchDualMotorText(text);
+ this.text_ = text;
+ this.updateTextNode_();
+ this.updateTextNode2_();
+
+ if (this.textElement_) {
+ this.textElement_.parentNode.appendChild(this.arrow_);
+ }
+ if (this.textElement2_) {
+ this.textElement2_.parentNode.appendChild(this.arrow2_);
+ }
+ if (this.sourceBlock_ && this.sourceBlock_.rendered) {
+ this.sourceBlock_.render();
+ this.sourceBlock_.bumpNeighbours_();
+ }
+ }
+
+ positionArrow2(start: number, x: number) {
+ if (!this.arrow2_) {
+ return 0;
+ }
+
+ var addedWidth = 0;
+ if (this.sourceBlock_.RTL) {
+ (this as any).arrow2X_ = (this as any).arrowSize_ - (Blockly.BlockSvg as any).DROPDOWN_ARROW_PADDING;
+ addedWidth = (this as any).arrowSize_ + (Blockly.BlockSvg as any).DROPDOWN_ARROW_PADDING;
+ } else {
+ (this as any).arrow2X_ = x + (Blockly.BlockSvg as any).DROPDOWN_ARROW_PADDING / 2;
+ addedWidth = (this as any).arrowSize_ + (Blockly.BlockSvg as any).DROPDOWN_ARROW_PADDING;
+ }
+ if (this.box_) {
+ // Bump positioning to the right for a box-type drop-down.
+ (this as any).arrow2X_ += Blockly.BlockSvg.BOX_FIELD_PADDING;
+ }
+ (this as any).arrow2X_ += start;
+ this.arrow2_.setAttribute('transform',
+ 'translate(' + (this as any).arrow2X_ + ',' + this.arrowY_ + ')'
+ );
+ return addedWidth;
+ };
+
+ updateWidth() {
+ // Calculate width of field
+ var width = Blockly.Field.getCachedWidth(this.textElement_);
+ var width2 = Blockly.Field.getCachedWidth(this.textElement2_);
+
+ // Add padding to left and right of text.
+ if (this.EDITABLE) {
+ width += Blockly.BlockSvg.EDITABLE_FIELD_PADDING;
+ width2 += Blockly.BlockSvg.EDITABLE_FIELD_PADDING;
+ }
+
+ // Adjust width for drop-down arrow.
+ this.arrowWidth_ = 0;
+ if (this.positionArrow) {
+ this.arrowWidth_ = this.positionArrow(width);
+ width += this.arrowWidth_;
+ }
+
+ // Add padding to any drawn box.
+ if (this.box_) {
+ width += 2 * Blockly.BlockSvg.BOX_FIELD_PADDING;
+ }
+
+ // Adjust width for second drop-down arrow.
+ (this as any).arrowWidth2_ = 0;
+ if (this.positionArrow2) {
+ (this as any).arrowWidth2_ = this.positionArrow2(width + Blockly.BlockSvg.BOX_FIELD_PADDING, width2);
+ width2 += (this as any).arrowWidth2_;
+ }
+
+ // Add padding to any drawn box.
+ if (this.box2_) {
+ width2 += 2 * Blockly.BlockSvg.BOX_FIELD_PADDING;
+ }
+
+ // Set width of the field.
+ this.size_.width = width + Blockly.BlockSvg.BOX_FIELD_PADDING + width2;
+ (this as any).width1 = width;
+ (this as any).width2 = width2;
+ };
+
+ render_() {
+ if (this.visible_ && this.textElement_) {
+ goog.dom.removeChildren(/** @type {!Element} */(this.textElement_));
+ goog.dom.removeChildren(/** @type {!Element} */(this.textElement2_));
+
+ var text = this.text_;
+ text = this.patchDualMotorText(text);
+
+ // First dropdown
+ const textNode1 = document.createTextNode(this.getFirstValue(text));
+ this.textElement_.appendChild(textNode1);
+
+ // Second dropdown
+ if (this.textElement2_) {
+ const textNode2 = document.createTextNode(this.getSecondValue(text));
+ this.textElement2_.appendChild(textNode2);
+ }
+ this.updateWidth();
+
+ // Update text centering, based on newly calculated width.
+ let centerTextX = ((this as any).width1 - this.arrowWidth_) / 2;
+ if (this.sourceBlock_.RTL) {
+ centerTextX += this.arrowWidth_;
+ }
+
+ // In a text-editing shadow block's field,
+ // if half the text length is not at least center of
+ // visible field (FIELD_WIDTH), center it there instead,
+ // unless there is a drop-down arrow.
+ if (this.sourceBlock_.isShadow() && !this.positionArrow) {
+ let minOffset = (Blockly.BlockSvg as any).FIELD_WIDTH / 2;
+ if (this.sourceBlock_.RTL) {
+ // X position starts at the left edge of the block, in both RTL and LTR.
+ // First offset by the width of the block to move to the right edge,
+ // and then subtract to move to the same position as LTR.
+ let minCenter = (this as any).width1 - minOffset;
+ centerTextX = Math.min(minCenter, centerTextX);
+ } else {
+ // (width / 2) should exceed Blockly.BlockSvg.FIELD_WIDTH / 2
+ // if the text is longer.
+ centerTextX = Math.max(minOffset, centerTextX);
+ }
+ }
+
+ // Apply new text element x position.
+ var width = Blockly.Field.getCachedWidth(this.textElement_);
+ var newX = centerTextX - width / 2;
+ this.textElement_.setAttribute('x', `${newX}`);
+
+ // Update text centering, based on newly calculated width.
+ let centerTextX2 = ((this as any).width2 - (this as any).arrowWidth2_) / 2;
+ if (this.sourceBlock_.RTL) {
+ centerTextX2 += (this as any).arrowWidth2_;
+ }
+
+ // In a text-editing shadow block's field,
+ // if half the text length is not at least center of
+ // visible field (FIELD_WIDTH), center it there instead,
+ // unless there is a drop-down arrow.
+ if (this.sourceBlock_.isShadow() && !this.positionArrow2) {
+ let minOffset = (Blockly.BlockSvg as any).FIELD_WIDTH / 2;
+ if (this.sourceBlock_.RTL) {
+ // X position starts at the left edge of the block, in both RTL and LTR.
+ // First offset by the width of the block to move to the right edge,
+ // and then subtract to move to the same position as LTR.
+ let minCenter = (this as any).width2 - minOffset;
+ centerTextX2 = Math.min(minCenter, centerTextX2);
+ } else {
+ // (width / 2) should exceed Blockly.BlockSvg.FIELD_WIDTH / 2
+ // if the text is longer.
+ centerTextX2 = Math.max(minOffset, centerTextX2);
+ }
+ }
+
+ // Apply new text element x position.
+ var width2 = Blockly.Field.getCachedWidth(this.textElement2_);
+ var newX2 = centerTextX2 - width2 / 2;
+ this.textElement2_.setAttribute('x', `${newX2 + (this as any).width1 + Blockly.BlockSvg.BOX_FIELD_PADDING}`);
+ }
+
+ // Update any drawn box to the correct width and height.
+ if (this.box_) {
+ this.box_.setAttribute('width', `${(this as any).width1}`);
+ this.box_.setAttribute('height', `${this.size_.height}`);
+ }
+
+ // Update any drawn box to the correct width and height.
+ if (this.box2_) {
+ this.box2_.setAttribute('x', `${(this as any).width1 + Blockly.BlockSvg.BOX_FIELD_PADDING}`);
+ this.box2_.setAttribute('width', `${(this as any).width2}`);
+ this.box2_.setAttribute('height', `${this.size_.height}`);
+ }
+ };
+
+ showEditor_(e?: MouseEvent) {
+ // If there is an existing drop-down we own, this is a request to hide the drop-down.
+ if (Blockly.DropDownDiv.hideIfOwner(this)) {
+ return;
+ }
+ this.isFirst_ = e.clientX - this.getScaledBBox_().left < ((this as any).width1 * this.sourceBlock_.workspace.scale);
+ // If there is an existing drop-down someone else owns, hide it immediately and clear it.
+ Blockly.DropDownDiv.hideWithoutAnimation();
+ Blockly.DropDownDiv.clearContent();
+ // Populate the drop-down with the icons for this field.
+ let dropdownDiv = Blockly.DropDownDiv.getContentDiv();
+ let contentDiv = document.createElement('div');
+ // Accessibility properties
+ contentDiv.setAttribute('role', 'menu');
+ contentDiv.setAttribute('aria-haspopup', 'true');
+ let options = this.getOptions();
+
+ // Hashmap of options
+ let opts = {};
+ let conts = {};
+ let vals = {};
+ for (let opt in options) {
+ let text = options[opt][0].alt ? options[opt][0].alt : options[opt][0];
+ if (text.indexOf(' ') == -1) {
+ // Patch dual motors as they don't have prefixes.
+ text = this.patchDualMotorText(text);
+ if (options[opt][0].alt) options[opt][0].alt = text;
+ }
+ const value = options[opt][1];
+ const firstValue = this.getFirstValue(text);
+ const secondValue = this.getSecondValue(text);
+ if (!opts[firstValue]) opts[firstValue] = [secondValue];
+ else opts[firstValue].push(secondValue);
+ // Store a hash of the original key value pairs for later
+ conts[text] = options[opt][0];
+ vals[text] = value;
+ }
+
+ const currentFirst = this.getFirstValue(this.text_);
+ const currentSecond = this.getSecondValue(this.text_);
+
+ if (!this.isFirst_) {
+ options = opts[currentFirst];
+ } else {
+ options = Object.keys(opts);
+ // Flip the first and second options to make it sorted the way we want it (medium, large, dual)
+ if (options.length == 3) {
+ const temp = options[1];
+ options[1] = options[0];
+ options[0] = temp;
+ } else {
+ options.reverse();
+ }
+ }
+
+ const isFirstUrl = {
+ 'large motors': FieldMotors.DUAL_MOTORS_DATAURI,
+ 'large motor': FieldMotors.MOTORS_LARGE_DATAURI,
+ 'medium motor': FieldMotors.MOTORS_MEDIUM_DATAURI
+ }
+ const columns = options.length;
+
+ for (let i = 0, option: any; option = options[i]; i++) {
+ let text = this.isFirst_ ? option + ' ' + opts[option][0] : currentFirst + ' ' + option;
+ text = text.replace(/\xA0/g, ' ');
+ const content: any = conts[text];
+ const value = vals[text];
+ // Icons with the type property placeholder take up space but don't have any functionality
+ // Use for special-case layouts
+ if (content.type == 'placeholder') {
+ let placeholder = document.createElement('span');
+ placeholder.setAttribute('class', 'blocklyDropDownPlaceholder');
+ placeholder.style.width = content.width + 'px';
+ placeholder.style.height = content.height + 'px';
+ contentDiv.appendChild(placeholder);
+ continue;
+ }
+ let button = document.createElement('button');
+ button.setAttribute('id', ':' + i); // For aria-activedescendant
+ button.setAttribute('role', 'menuitem');
+ button.setAttribute('class', 'blocklyDropDownButton');
+ button.title = this.isFirst_ ? this.getFirstValue(content.alt) : content.alt;
+ button.style.width = ((this.itemWidth_) - 8) + 'px';
+ button.style.height = ((this.itemWidth_) - 8) + 'px';
+ let backgroundColor = this.backgroundColour_;
+ if (value == this.getValue()) {
+ // This icon is selected, show it in a different colour
+ backgroundColor = this.sourceBlock_.getColourTertiary();
+ button.setAttribute('aria-selected', 'true');
+ }
+ button.style.backgroundColor = backgroundColor;
+ button.style.borderColor = this.borderColour_;
+ Blockly.bindEvent_(button, 'click', this, this.buttonClick_);
+ Blockly.bindEvent_(button, 'mouseup', this, this.buttonClick_);
+ // These are applied manually instead of using the :hover pseudoclass
+ // because Android has a bad long press "helper" menu and green highlight
+ // that we must prevent with ontouchstart preventDefault
+ Blockly.bindEvent_(button, 'mousedown', button, function (e) {
+ this.setAttribute('class', 'blocklyDropDownButton blocklyDropDownButtonHover');
+ e.preventDefault();
+ });
+ Blockly.bindEvent_(button, 'mouseover', button, function () {
+ this.setAttribute('class', 'blocklyDropDownButton blocklyDropDownButtonHover');
+ contentDiv.setAttribute('aria-activedescendant', this.id);
+ });
+ Blockly.bindEvent_(button, 'mouseout', button, function () {
+ this.setAttribute('class', 'blocklyDropDownButton');
+ contentDiv.removeAttribute('aria-activedescendant');
+ });
+ let buttonImg = document.createElement('img');
+ buttonImg.src = this.isFirst_ ? isFirstUrl[option.replace(/\xA0/g, ' ')] : content.src;
+ //buttonImg.alt = icon.alt;
+ // Upon click/touch, we will be able to get the clicked element as e.target
+ // Store a data attribute on all possible click targets so we can match it to the icon.
+ button.setAttribute('data-value', value);
+ buttonImg.setAttribute('data-value', value);
+ button.appendChild(buttonImg);
+ contentDiv.appendChild(button);
+ }
+ contentDiv.style.width = (this.itemWidth_ * columns) + 'px';
+ dropdownDiv.appendChild(contentDiv);
+
+ Blockly.DropDownDiv.setColour(this.backgroundColour_, this.borderColour_);
+
+ // Calculate positioning based on the field position.
+ let scale = this.sourceBlock_.workspace.scale;
+ let width = this.isFirst_ ? (this as any).width1 : (this as any).width2;
+ let bBox = { width: this.size_.width, height: this.size_.height };
+ width *= scale;
+ bBox.height *= scale;
+ let position = this.fieldGroup_.getBoundingClientRect();
+ let leftPosition = this.isFirst_ ? position.left : position.left + (scale * (this as any).width1) + Blockly.BlockSvg.BOX_FIELD_PADDING;
+ let primaryX = leftPosition + width / 2;
+ let primaryY = position.top + bBox.height;
+ let secondaryX = primaryX;
+ let secondaryY = position.top;
+ // Set bounds to workspace; show the drop-down.
+ (Blockly.DropDownDiv as any).setBoundsElement(this.sourceBlock_.workspace.getParentSvg().parentNode);
+ (Blockly.DropDownDiv as any).show(this, primaryX, primaryY, secondaryX, secondaryY,
+ this.onHide_.bind(this));
+
+ // Update colour to look selected.
+ if (this.isFirst_ && this.box_) {
+ this.box_.setAttribute('fill', this.sourceBlock_.getColourTertiary());
+ } else if (!this.isFirst_ && this.box2_) {
+ this.box2_.setAttribute('fill', this.sourceBlock_.getColourTertiary());
+ }
+ }
+
+ protected buttonClick_ = function (e: any) {
+ let value = e.target.getAttribute('data-value');
+ this.setValue(value);
+ Blockly.DropDownDiv.hide();
+ };
+
+
+ /**
+ * Callback for when the drop-down is hidden.
+ */
+ protected onHide_ = function () {
+ Blockly.DropDownDiv.content_.removeAttribute('role');
+ Blockly.DropDownDiv.content_.removeAttribute('aria-haspopup');
+ Blockly.DropDownDiv.content_.removeAttribute('aria-activedescendant');
+ Blockly.DropDownDiv.getContentDiv().style.width = '';
+ if (this.isFirst_ && this.box_) {
+ this.box_.setAttribute('fill', this.sourceBlock_.getColour());
+ } else if (!this.isFirst_ && this.box2_) {
+ this.box2_.setAttribute('fill', this.sourceBlock_.getColour());
+ }
+ };
+
+ static MOTORS_MEDIUM_DATAURI = 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHgAAAB4CAYAAAA5ZDbSAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAAllQAAJZUBCPt9OwAAABl0RVh0U29mdHdhcmUAd3d3Lmlua3NjYXBlLm9yZ5vuPBoAABffSURBVHic7V1rbBzXeT33MY/dWXIpkqJImSJNupBlyrIkR0EkI3LTOHFhyWlsR3ZtI2mQoEDQBPnT1gWCtogAtwGCNAkKFAna/mljNLBV1G5ixe4rtmPJoiXHlG1RssVElGgyomjR4mNf87r39sdqV7vcWXKX3KVmGR2AWO7szJ1775nvvub7zgV+u0Cu/v3WYC0WlpT5LAdV5nNNYC0RnLNOWvBHCj4XllVd/ZMFn7Lg+5ogekmCn3vuuRbHcfoppaF8GIQQRAhBUqkUtW2bJRIJnkwmued5zDAMvbOzcz2ACGPMXHCdDSBz6dKly47juJqmiVgs5jc1NfmmaQrLsiRjTDHGQkm0lFIZhjH64IMPzi52XlnSnnnmmbsV1JMA9i523vWCUtl6l1LC9334vg8AYIyBUQbCCBhlFaUlpIASCr7w4dgONF0D5xycc1BKAQCEhK4KAEApqFcZYX/1yCOPHA06ITDXTz/99NdB8Pflfr/eUEpBKQUhBHzfh5QSjDFompYnZLmQSsJzPQghQCkF5xyMMRBCwkoyAEgofP3RRx/9wcIfSnL840M//iRV9H+R7btChxy5vu/DdV1QSqFpWYurJXzpw3M8SClhGE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N8D8JlpUvw9FjR3HuXHQlD0c4cHx0o0ie5yFHZOi6Hj0+75hCVdUXUnvK1BAA2L9//+p169Yd5jhuTtx/MMZw7PgxdHR0THmtb9B39d13373fjOceOHCg5sILLzw8WbpmE0opDh0+NMqMfaLONyFEP3P6TNnDDz9s6oaY8ae9+uqrCysrK5/zer2bkYKDAbNgjOHosaPo7OxMeF7TtbcHzg3c9cADD8x4m5SRHDlypHbp0qUvEELmRPlBKcVHhz6aypgz2NvTu3kmm0NNxLiCrqurE0pLS20A0NfXx+UX5//CIljumO4DGM4vuCCIb/cWa1NHNS0M8Pl8/9h+tv1lo2j01lihkyF9165ds7Zma/fu3d7Kyspv2h32GkEQXIwxwhgroJRunPrumUMpHTpy7Eh9KBAKj9LyUQQ0Tfvk1KlTex999FHzbcuRxJf+xK4nfuy0OVPyPDVderp7rn7ooYdMqd5nyv33379sxcoVadmWRtXV13fct+OGdDxrLFNqPSyihY3wVDmrSJKUMbN4hYWFhtvtTsuzVE2ds6nrzFB7ZSCCILB0zQ3M5RxEZs1+/J2083cB+BtnSgEghKRt0Xw6n/V3okwpAAzsTDoSAgCGYUytCUoTlNJ0ukkxfTu4ZJm6CTDwZwCzLwQEf/zud7+bnHO/NBCJRLoBnE3HsxjY61NfNTtMKQC33357gBp0vaZrHZquYZZ+3/H7/P+QjgwnS11dHSUgXwcwm7USIyBP2S32l2bxGZOStMr3V//7V/9X5MVvmJ0ABtZx7z33lpgdr1ns3LnzNkEUTJ+EAQBFVm667777/jT1lbPH/wdy/1gLaYikJgAAAABJRU5ErkJggg==';
+}
\ No newline at end of file
diff --git a/editor/field_ports.ts b/editor/field_ports.ts
index ff6a51b9..53778ecf 100644
--- a/editor/field_ports.ts
+++ b/editor/field_ports.ts
@@ -1,4 +1,5 @@
///
+///
///
export interface FieldPortsOptions extends Blockly.FieldCustomDropdownOptions {
@@ -6,146 +7,31 @@ export interface FieldPortsOptions extends Blockly.FieldCustomDropdownOptions {
width?: string;
}
-export class FieldPorts extends Blockly.FieldDropdown implements Blockly.FieldCustom {
+export class FieldPorts extends pxtblockly.FieldImages implements Blockly.FieldCustom {
public isFieldCustom_ = true;
- // Width in pixels
- private width_: number;
-
- // Columns in grid
- private columns_: number;
-
- private savedPrimary_: string;
-
constructor(text: string, options: FieldPortsOptions, validator?: Function) {
- super(options.data);
+ super(text, options, validator);
this.columns_ = parseInt(options.columns) || 4;
this.width_ = parseInt(options.width) || 300;
+
+ this.setText = Blockly.FieldDropdown.prototype.setText;
+ this.updateWidth = (Blockly.Field as any).prototype.updateWidth;
+ this.updateTextNode_ = Blockly.Field.prototype.updateTextNode_;
}
trimOptions_() {
}
- /**
- * Create a dropdown menu under the text.
- * @private
- */
- public showEditor_() {
- // If there is an existing drop-down we own, this is a request to hide the drop-down.
- if (Blockly.DropDownDiv.hideIfOwner(this)) {
- return;
- }
- // If there is an existing drop-down someone else owns, hide it immediately and clear it.
- Blockly.DropDownDiv.hideWithoutAnimation();
- Blockly.DropDownDiv.clearContent();
- // Populate the drop-down with the icons for this field.
- let dropdownDiv = Blockly.DropDownDiv.getContentDiv();
- let contentDiv = document.createElement('div');
- // Accessibility properties
- contentDiv.setAttribute('role', 'menu');
- contentDiv.setAttribute('aria-haspopup', 'true');
- let options = this.getOptions();
- options = options.sort();
- for (let i = 0, option: any; option = options[i]; i++) {
- let content = (options[i] as any)[0]; // Human-readable text or image.
- const value = (options[i] as any)[1]; // Language-neutral value.
- // Icons with the type property placeholder take up space but don't have any functionality
- // Use for special-case layouts
- if (content.type == 'placeholder') {
- let placeholder = document.createElement('span');
- placeholder.setAttribute('class', 'blocklyDropDownPlaceholder');
- placeholder.style.width = content.width + 'px';
- placeholder.style.height = content.height + 'px';
- contentDiv.appendChild(placeholder);
- continue;
- }
- let button = document.createElement('button');
- button.setAttribute('id', ':' + i); // For aria-activedescendant
- button.setAttribute('role', 'menuitem');
- button.setAttribute('class', 'blocklyDropDownButton');
- button.title = content.alt;
- if (this.columns_) {
- button.style.width = ((this.width_ / this.columns_) - 8) + 'px';
- button.style.height = ((this.width_ / this.columns_) - 8) + 'px';
- } else {
- button.style.width = content.width + 'px';
- button.style.height = content.height + 'px';
- }
- let backgroundColor = this.sourceBlock_.getColour();
- if (value == this.getValue()) {
- // This icon is selected, show it in a different colour
- backgroundColor = this.sourceBlock_.getColourTertiary();
- button.setAttribute('aria-selected', 'true');
- }
- button.style.backgroundColor = backgroundColor;
- button.style.borderColor = this.sourceBlock_.getColourTertiary();
- Blockly.bindEvent_(button, 'click', this, this.buttonClick_);
- Blockly.bindEvent_(button, 'mouseup', this, this.buttonClick_);
- // These are applied manually instead of using the :hover pseudoclass
- // because Android has a bad long press "helper" menu and green highlight
- // that we must prevent with ontouchstart preventDefault
- Blockly.bindEvent_(button, 'mousedown', button, function (e) {
- this.setAttribute('class', 'blocklyDropDownButton blocklyDropDownButtonHover');
- e.preventDefault();
- });
- Blockly.bindEvent_(button, 'mouseover', button, function () {
- this.setAttribute('class', 'blocklyDropDownButton blocklyDropDownButtonHover');
- contentDiv.setAttribute('aria-activedescendant', this.id);
- });
- Blockly.bindEvent_(button, 'mouseout', button, function () {
- this.setAttribute('class', 'blocklyDropDownButton');
- contentDiv.removeAttribute('aria-activedescendant');
- });
- let buttonImg = document.createElement('img');
- buttonImg.src = content.src;
- //buttonImg.alt = icon.alt;
- // Upon click/touch, we will be able to get the clicked element as e.target
- // Store a data attribute on all possible click targets so we can match it to the icon.
- button.setAttribute('data-value', value);
- buttonImg.setAttribute('data-value', value);
- button.appendChild(buttonImg);
- contentDiv.appendChild(button);
- }
- contentDiv.style.width = this.width_ + 'px';
- dropdownDiv.appendChild(contentDiv);
-
- Blockly.DropDownDiv.setColour(this.sourceBlock_.getColour(), this.sourceBlock_.getColourTertiary());
-
- // Calculate positioning based on the field position.
- var scale = this.sourceBlock_.workspace.scale;
- var bBox = { width: this.size_.width, height: this.size_.height };
- bBox.width *= scale;
- bBox.height *= scale;
- var position = this.fieldGroup_.getBoundingClientRect();
- var primaryX = position.left + bBox.width / 2;
- var primaryY = position.top + bBox.height;
- var secondaryX = primaryX;
- var secondaryY = position.top;
- // Set bounds to workspace; show the drop-down.
- (Blockly.DropDownDiv as any).setBoundsElement(this.sourceBlock_.workspace.getParentSvg().parentNode);
- (Blockly.DropDownDiv as any).show(this, primaryX, primaryY, secondaryX, secondaryY,
- this.onHide_.bind(this));
+ getOptions() {
+ const options = super.getOptions();
+ return options ? options.sort() : undefined;
}
- /**
- * Callback for when a button is clicked inside the drop-down.
- * Should be bound to the FieldIconMenu.
- * @param {Event} e DOM event for the click/touch
- * @private
- */
- private buttonClick_ = function (e: any) {
+ protected buttonClick_ = function (e: any) {
let value = e.target.getAttribute('data-value');
this.setValue(value);
Blockly.DropDownDiv.hide();
};
-
- /**
- * Callback for when the drop-down is hidden.
- */
- private onHide_ = function () {
- Blockly.DropDownDiv.content_.removeAttribute('role');
- Blockly.DropDownDiv.content_.removeAttribute('aria-haspopup');
- Blockly.DropDownDiv.content_.removeAttribute('aria-activedescendant');
- };
}
\ No newline at end of file
diff --git a/legoresources/SVGassets/Large Motor.svg b/legoresources/SVGassets/Large Motor.svg
index ee3d43a7..351e4e41 100644
--- a/legoresources/SVGassets/Large Motor.svg
+++ b/legoresources/SVGassets/Large Motor.svg
@@ -13,7 +13,7 @@
sodipodi:docname="Large Motor.svg"
width="153.634"
height="153.634"
- inkscape:version="0.92.1 r15371"
+ inkscape:version="0.91 r13725"
inkscape:export-filename="C:\gh\pxt-ev3\libs\core\jres\icons\motorLarge-icon.png"
inkscape:export-xdpi="74.983398"
inkscape:export-ydpi="74.983398">
@@ -25,7 +25,7 @@
image/svg+xml
-
+
@@ -38,15 +38,15 @@
guidetolerance="10"
inkscape:pageopacity="0"
inkscape:pageshadow="2"
- inkscape:window-width="1600"
- inkscape:window-height="837"
+ inkscape:window-width="2560"
+ inkscape:window-height="1395"
id="namedview7026"
showgrid="false"
- inkscape:zoom="1.5361183"
- inkscape:cx="39.260502"
- inkscape:cy="76.817001"
- inkscape:window-x="-8"
- inkscape:window-y="-8"
+ inkscape:zoom="3.0722366"
+ inkscape:cx="-73.361033"
+ inkscape:cy="76.817002"
+ inkscape:window-x="0"
+ inkscape:window-y="1"
inkscape:window-maximized="1"
inkscape:current-layer="svg7024" />
+ transform="matrix(-1,0,0,-1,3003.735,6879.9214)">
+ transform="translate(-1.623,0)">
@@ -358,8 +358,8 @@
id="Path_36"
data-name="Path 36"
class="cls-1"
- d="m 0.607,0 h 26.262 a 0.607,0.607 0 0 1 0.607,0.607 V 5.9 A 0.607,0.607 0 0 1 26.869,6.507 H 0.607 A 0.607,0.607 0 0 1 0,5.9 V 0.607 A 0.607,0.607 0 0 1 0.607,0 Z"
- transform="translate(41.1)"
+ d="m 0.607,0 26.262,0 a 0.607,0.607 0 0 1 0.607,0.607 l 0,5.293 a 0.607,0.607 0 0 1 -0.607,0.607 l -26.262,0 A 0.607,0.607 0 0 1 0,5.9 L 0,0.607 A 0.607,0.607 0 0 1 0.607,0 Z"
+ transform="translate(41.1,0)"
inkscape:connector-curvature="0"
style="fill:#a8a9a8" />
@@ -380,7 +380,7 @@
id="Path_2-2"
data-name="Path 2"
class="cls-3"
- d="m 5610.158,939.234 a 4.151,4.151 0 0 1 -2.342,0.705 5.131,5.131 0 0 1 -2.988,-0.705 c -1.257,-0.931 -1.229,0.1 -1.229,0.1 v 1.8 c 0,0.45 0.553,0.846 1.229,0.459 0.676,-0.387 1,-0.581 1,-0.581 0,0 0.361,-0.184 0.361,0.335 v 2.62 c 0,0 0.021,0.786 -0.73,0.768 -0.751,-0.018 -1.38,0 -1.38,0 0,0 -0.293,0.248 -0.293,1.385 0,1.137 0.293,1.322 0.293,1.322 h 1.38 c 0,0 0.73,-0.024 0.73,0.649 v 1.3 c 0,0 0.227,0.359 1.169,0.306 a 3.6,3.6 0 0 0 1.4,-0.306 v -1.3 a 0.67,0.67 0 0 1 0.66,-0.649 c 0.631,-0.01 1.257,0 1.257,0 0,0 0.252,-0.191 0.287,-1.322 0.035,-1.131 -0.287,-1.385 -0.287,-1.385 h -1.257 c 0,0 -0.805,-0.052 -0.817,-0.768 -0.012,-0.716 0,-2.62 0,-2.62 0,0 -0.047,-0.515 0.332,-0.335 0.379,0.18 1.215,0.581 1.215,0.581 0,0 0.83,0.407 0.814,-0.459 -0.016,-0.866 0,-1.8 0,-1.8 0,0 -0.072,-0.534 -0.804,-0.1 z"
+ d="m 5610.158,939.234 a 4.151,4.151 0 0 1 -2.342,0.705 5.131,5.131 0 0 1 -2.988,-0.705 c -1.257,-0.931 -1.229,0.1 -1.229,0.1 l 0,1.8 c 0,0.45 0.553,0.846 1.229,0.459 0.676,-0.387 1,-0.581 1,-0.581 0,0 0.361,-0.184 0.361,0.335 l 0,2.62 c 0,0 0.021,0.786 -0.73,0.768 -0.751,-0.018 -1.38,0 -1.38,0 0,0 -0.293,0.248 -0.293,1.385 0,1.137 0.293,1.322 0.293,1.322 l 1.38,0 c 0,0 0.73,-0.024 0.73,0.649 l 0,1.3 c 0,0 0.227,0.359 1.169,0.306 a 3.6,3.6 0 0 0 1.4,-0.306 l 0,-1.3 a 0.67,0.67 0 0 1 0.66,-0.649 c 0.631,-0.01 1.257,0 1.257,0 0,0 0.252,-0.191 0.287,-1.322 0.035,-1.131 -0.287,-1.385 -0.287,-1.385 l -1.257,0 c 0,0 -0.805,-0.052 -0.817,-0.768 -0.012,-0.716 0,-2.62 0,-2.62 0,0 -0.047,-0.515 0.332,-0.335 0.379,0.18 1.215,0.581 1.215,0.581 0,0 0.83,0.407 0.814,-0.459 -0.016,-0.866 0,-1.8 0,-1.8 0,0 -0.072,-0.534 -0.804,-0.1 z"
transform="translate(-5553.893,-845.301)"
inkscape:connector-curvature="0"
style="fill:#ffffff" />
@@ -388,7 +388,7 @@
id="Path_3"
data-name="Path 3"
class="cls-3"
- d="m 5601.9,1015.336 a 0.83,0.83 0 0 1 1.2,-0.594 6.516,6.516 0 0 0 2.85,0.772 5.05,5.05 0 0 0 2.768,-0.772 c 0.829,-0.4 1.067,0.594 1.067,0.594 v 1.76 a 0.71,0.71 0 0 1 -1.067,0.561 5.791,5.791 0 0 0 -2.768,-0.837 7.06,7.06 0 0 0 -2.85,0.837 c 0,0 -1.178,0.239 -1.2,-0.561 -0.022,-0.8 0,-1.76 0,-1.76 z"
+ d="m 5601.9,1015.336 a 0.83,0.83 0 0 1 1.2,-0.594 6.516,6.516 0 0 0 2.85,0.772 5.05,5.05 0 0 0 2.768,-0.772 c 0.829,-0.4 1.067,0.594 1.067,0.594 l 0,1.76 a 0.71,0.71 0 0 1 -1.067,0.561 5.791,5.791 0 0 0 -2.768,-0.837 7.06,7.06 0 0 0 -2.85,0.837 c 0,0 -1.178,0.239 -1.2,-0.561 -0.022,-0.8 0,-1.76 0,-1.76 z"
transform="translate(-5552.485,-909.604)"
inkscape:connector-curvature="0"
style="fill:#ffffff" />
@@ -415,7 +415,7 @@
id="Path_2-3"
data-name="Path 2"
class="cls-1"
- d="m 1484.037,521.285 v 17.253 c 0,0 0.019,0.845 0.3,1.121 0.281,0.276 3.516,3.626 3.516,3.626 a 1.566,1.566 0 0 0 1.157,0.4 c 0.758,-0.025 11.627,0 11.627,0 l 4.429,-4.7 v -7.963 l -10.662,-0.567 z"
+ d="m 1484.037,521.285 0,17.253 c 0,0 0.019,0.845 0.3,1.121 0.281,0.276 3.516,3.626 3.516,3.626 a 1.566,1.566 0 0 0 1.157,0.4 c 0.758,-0.025 11.627,0 11.627,0 l 4.429,-4.7 0,-7.963 -10.662,-0.567 z"
transform="translate(676.31,5680.52)"
inkscape:connector-curvature="0"
style="fill:#a8a9a8" />
@@ -428,7 +428,7 @@
id="Path_44"
data-name="Path 44"
class="cls-1"
- d="m 5.461,0 h 5.612 a 5.461,5.461 0 0 1 5.461,5.461 v 22.9 a 5.461,5.461 0 0 1 -5.461,5.461 H 5.461 A 5.461,5.461 0 0 1 0,28.365 V 5.461 A 5.461,5.461 0 0 1 5.461,0 Z"
+ d="m 5.461,0 5.612,0 a 5.461,5.461 0 0 1 5.461,5.461 l 0,22.9 a 5.461,5.461 0 0 1 -5.461,5.461 l -5.612,0 A 5.461,5.461 0 0 1 0,28.365 L 0,5.461 A 5.461,5.461 0 0 1 5.461,0 Z"
inkscape:connector-curvature="0"
style="fill:#a8a9a8" />
@@ -461,7 +461,7 @@
id="Path_6"
data-name="Path 6"
class="cls-3"
- d="m 5601.9,1015.336 a 0.83,0.83 0 0 1 1.2,-0.594 6.516,6.516 0 0 0 2.85,0.772 5.05,5.05 0 0 0 2.768,-0.772 c 0.829,-0.4 1.067,0.594 1.067,0.594 v 1.76 a 0.71,0.71 0 0 1 -1.067,0.561 5.791,5.791 0 0 0 -2.768,-0.837 7.06,7.06 0 0 0 -2.85,0.837 c 0,0 -1.178,0.239 -1.2,-0.561 -0.022,-0.8 0,-1.76 0,-1.76 z"
+ d="m 5601.9,1015.336 a 0.83,0.83 0 0 1 1.2,-0.594 6.516,6.516 0 0 0 2.85,0.772 5.05,5.05 0 0 0 2.768,-0.772 c 0.829,-0.4 1.067,0.594 1.067,0.594 l 0,1.76 a 0.71,0.71 0 0 1 -1.067,0.561 5.791,5.791 0 0 0 -2.768,-0.837 7.06,7.06 0 0 0 -2.85,0.837 c 0,0 -1.178,0.239 -1.2,-0.561 -0.022,-0.8 0,-1.76 0,-1.76 z"
transform="translate(-5600.979,-993.616)"
inkscape:connector-curvature="0"
style="fill:#ffffff" />
@@ -475,7 +475,7 @@
id="Path_1-4"
data-name="Path 1"
class="cls-1"
- d="m 5.784,0 h 42.66 a 5.784,5.784 0 0 1 5.784,5.784 v 29.64 C 43.86,49.487 36.1,59.29 36.1,59.29 h -0.595 c 0,0 -19.462,-0.147 -23.864,-0.147 A 2.28,2.28 0 0 1 9.263,58.158 L 0,48.582 V 5.784 A 5.784,5.784 0 0 1 5.784,0 Z"
+ d="m 5.784,0 42.66,0 a 5.784,5.784 0 0 1 5.784,5.784 l 0,29.64 C 43.86,49.487 36.1,59.29 36.1,59.29 l -0.595,0 c 0,0 -19.462,-0.147 -23.864,-0.147 A 2.28,2.28 0 0 1 9.263,58.158 L 0,48.582 0,5.784 A 5.784,5.784 0 0 1 5.784,0 Z"
transform="translate(2159.6,6153.16)"
inkscape:connector-curvature="0"
style="fill:#a8a9a8" />
@@ -492,7 +492,7 @@
id="hvid-2"
data-name="hvid"
class="cls-5"
- d="m 1498.578,449.051 7.155,7.37 23.789,31.08 v 14.857 l 13.063,-16.131 v -31.221 l -0.993,-7.691 z"
+ d="m 1498.578,449.051 7.155,7.37 23.789,31.08 0,14.857 13.063,-16.131 0,-31.221 -0.993,-7.691 z"
transform="translate(-1487.315,-449.455)"
inkscape:connector-curvature="0"
style="fill:#f2f2f2" />
@@ -507,7 +507,7 @@
id="Path_4-2"
data-name="Path 4"
class="cls-1"
- d="M 5.784,0 H 36.875 A 5.784,5.784 0 0 1 42.66,5.784 V 28.032 C 34.013,39.3 27.1,48.444 27.1,48.444 H 5.784 A 5.784,5.784 0 0 1 0,42.66 V 5.784 A 5.784,5.784 0 0 1 5.784,0 Z"
+ d="m 5.784,0 31.091,0 a 5.784,5.784 0 0 1 5.785,5.784 l 0,22.248 C 34.013,39.3 27.1,48.444 27.1,48.444 l -21.316,0 A 5.784,5.784 0 0 1 0,42.66 L 0,5.784 A 5.784,5.784 0 0 1 5.784,0 Z"
transform="translate(2165.38,6158.22)"
inkscape:connector-curvature="0"
style="fill:#a8a9a8" />
@@ -525,7 +525,7 @@
id="Union_1"
data-name="Union 1"
class="cls-7"
- d="M 14.461,28.56 V 1.085 a 1.085,1.085 0 1 1 2.169,0 V 28.56 a 1.085,1.085 0 1 1 -2.169,0 z m -3.615,0 V 1.085 a 1.085,1.085 0 1 1 2.169,0 V 28.56 a 1.085,1.085 0 1 1 -2.169,0 z m -3.615,0 V 1.085 a 1.085,1.085 0 1 1 2.169,0 V 28.56 a 1.085,1.085 0 1 1 -2.169,0 z m -3.615,0 V 1.085 a 1.085,1.085 0 1 1 2.169,0 V 28.56 a 1.085,1.085 0 1 1 -2.169,0 z M 0,28.56 V 1.085 a 1.085,1.085 0 1 1 2.169,0 V 28.56 A 1.085,1.085 0 1 1 0,28.56 Z"
+ d="m 14.461,28.56 0,-27.475 a 1.085,1.085 0 1 1 2.169,0 l 0,27.475 a 1.085,1.085 0 1 1 -2.169,0 z m -3.615,0 0,-27.475 a 1.085,1.085 0 1 1 2.169,0 l 0,27.475 a 1.085,1.085 0 1 1 -2.169,0 z m -3.615,0 0,-27.475 a 1.085,1.085 0 1 1 2.169,0 l 0,27.475 a 1.085,1.085 0 1 1 -2.169,0 z m -3.615,0 0,-27.475 a 1.085,1.085 0 1 1 2.169,0 l 0,27.475 a 1.085,1.085 0 1 1 -2.169,0 z M 0,28.56 0,1.085 a 1.085,1.085 0 1 1 2.169,0 l 0,27.475 A 1.085,1.085 0 1 1 0,28.56 Z"
transform="translate(15.907,-5.365)"
inkscape:connector-curvature="0"
style="fill:#6a6a6a" />
@@ -573,7 +573,7 @@
class="cls-10"
cx="3.7920001"
cy="3.7920001"
- transform="translate(11.528)"
+ transform="translate(11.528,0)"
r="3.7920001"
style="fill:#3c3c3c" />
@@ -623,28 +623,361 @@
id="Path_7"
data-name="Path 7"
class="cls-10"
- d="M 0.455,0.155 2.016,0 3.64,0.155 A 0.455,0.455 0 0 1 4.1,0.61 V 2.734 A 0.455,0.455 0 0 1 3.645,3.189 L 2.094,2.979 0.46,3.189 A 0.455,0.455 0 0 1 0,2.734 V 0.61 A 0.455,0.455 0 0 1 0.455,0.155 Z"
- transform="rotate(-90,12.71,4.628)"
+ d="M 0.455,0.155 2.016,0 3.64,0.155 A 0.455,0.455 0 0 1 4.1,0.61 l 0,2.124 A 0.455,0.455 0 0 1 3.645,3.189 L 2.094,2.979 0.46,3.189 A 0.455,0.455 0 0 1 0,2.734 L 0,0.61 A 0.455,0.455 0 0 1 0.455,0.155 Z"
+ transform="matrix(0,-1,1,0,8.082,17.338)"
inkscape:connector-curvature="0"
style="fill:#3c3c3c" />
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/legoresources/SVGassets/Large Motors.svg b/legoresources/SVGassets/Large Motors.svg
new file mode 100644
index 00000000..93fd9212
--- /dev/null
+++ b/legoresources/SVGassets/Large Motors.svg
@@ -0,0 +1,983 @@
+
+
diff --git a/legoresources/SVGassets/icn_port.svg b/legoresources/SVGassets/icn_port.svg
index 64b2aad2..05ff8074 100644
--- a/legoresources/SVGassets/icn_port.svg
+++ b/legoresources/SVGassets/icn_port.svg
@@ -13,10 +13,10 @@
sodipodi:docname="icn_port.svg"
width="58.928001"
height="58.928001"
- inkscape:export-filename="C:\gh\pxt-ev3\libs\core\jres\icons\portB.png"
- inkscape:export-xdpi="156.39424"
- inkscape:export-ydpi="156.39424"
- inkscape:version="0.92.1 r15371">
+ inkscape:export-filename="/Users/sam/pxt-ev3/libs/core/jres/icons/portCD-icon.png"
+ inkscape:export-xdpi="146.62"
+ inkscape:export-ydpi="146.62"
+ inkscape:version="0.91 r13725">
@@ -25,7 +25,7 @@
image/svg+xml
-
+
@@ -38,15 +38,15 @@
guidetolerance="10"
inkscape:pageopacity="0"
inkscape:pageshadow="2"
- inkscape:window-width="1600"
- inkscape:window-height="837"
+ inkscape:window-width="2560"
+ inkscape:window-height="1395"
id="namedview6350"
showgrid="false"
inkscape:zoom="4.0048872"
- inkscape:cx="24.98"
+ inkscape:cx="-18.217222"
inkscape:cy="29.464001"
- inkscape:window-x="-8"
- inkscape:window-y="-8"
+ inkscape:window-x="0"
+ inkscape:window-y="1"
inkscape:window-maximized="1"
inkscape:current-layer="svg6348" />
B
+ x="1457.2511"
+ y="6184.4844"
+ style="font-size:27.5px">CD
diff --git a/libs/core/icons.jres b/libs/core/icons.jres
index 03a5e0a5..e71a83f9 100644
--- a/libs/core/icons.jres
+++ b/libs/core/icons.jres
@@ -12,8 +12,11 @@
"motorMedium": {
"ic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HD5ymMhV0YDaPUB59dtsNjQ2Nmbt1+Px4IdzP8jlFy9eYHBwEG63+42fXVxcXHX6G4/HEZuLYS42h+npaYyNjiEQCKScZdlsNhz58xHU1dWt/xdJARUBVjtW2Nrairy87N1XV1ejsrIST548kW3iJTEtAcLhML79x7dZ9b+reRcOHTq06iYSDagIcPPmTdVUzdPuSdE6czweD06fPi2Xb9++ndODvIIgwN3kxsGDB3O++KMigHL4KSkpQW2teh91vXg8Hpw5c0bOxyQSCVzxX8GBPxyg4j8vLw9OpxPbarbB5XJh165db8/xdEmSsG/fPnR2dsq2kpISagsVACgrL8OXf/0Si4uLsq24uFjVrr29Hdu2bXujP7PZDLPZDIvFAovZgkJ7IQRBoBZvJuiy+Sc+0WgUt3pv0YznrcPlcsHpcK778/wZMcZwARjDBWAMF4AxXADGZDUNzcvLUz1JokQQBNVmfDgcRiLx+lxNcVGxfPBpMjhJ7L86nU7odXpIkIgHPOx2O6yWl2d1pmem5YWgwWBAWenr5w2mpqbk94kKggBHuUOuCz4LEnklq9Wa8d6FcYMxo/ZKshLAbDajyd2U8ef6+vswPf36+HlFRQVKS0sBAM9+fkaktGt31EKv10OSSAEc5Q5s2rQJwMstw1cCmEwmYhE4NDQkC2AwGIi651PPiaMzVVVVhEBawIcgxnABGMMFYAwXgDFcAMZwARjDBWAMF4AxXADGcAEYw+SdcRaLhUg3rDw9kZ+fn/Lcz8p92pU5G6PJKNcp3+1gNpvlOmXexmg0Qq97fQ2y2JbMakuSkz18CGIMF4AxXADGcAEYwwVgDBeAMVwAxvwfhhv7WJgwSfcAAAAASUVORK5CYII="
}
}
\ No newline at end of file
diff --git a/libs/core/jres/icons/dualMotorLarge-icon.png b/libs/core/jres/icons/dualMotorLarge-icon.png
new file mode 100644
index 00000000..0cd76b09
Binary files /dev/null and b/libs/core/jres/icons/dualMotorLarge-icon.png differ
diff --git a/libs/core/jres/icons/motorLarge-icon.png b/libs/core/jres/icons/motorLarge-icon.png
index 32bf7796..3ed0fca4 100644
Binary files a/libs/core/jres/icons/motorLarge-icon.png and b/libs/core/jres/icons/motorLarge-icon.png differ
diff --git a/libs/core/jres/icons/portA-icon.png b/libs/core/jres/icons/portA-icon.png
index c9550307..97887a58 100644
Binary files a/libs/core/jres/icons/portA-icon.png and b/libs/core/jres/icons/portA-icon.png differ
diff --git a/libs/core/jres/icons/portAB-icon.png b/libs/core/jres/icons/portAB-icon.png
new file mode 100644
index 00000000..d79814e6
Binary files /dev/null and b/libs/core/jres/icons/portAB-icon.png differ
diff --git a/libs/core/jres/icons/portAD-icon.png b/libs/core/jres/icons/portAD-icon.png
new file mode 100644
index 00000000..59fe830b
Binary files /dev/null and b/libs/core/jres/icons/portAD-icon.png differ
diff --git a/libs/core/jres/icons/portB-icon.png b/libs/core/jres/icons/portB-icon.png
index d5112f5d..f12e7830 100644
Binary files a/libs/core/jres/icons/portB-icon.png and b/libs/core/jres/icons/portB-icon.png differ
diff --git a/libs/core/jres/icons/portBC-icon.png b/libs/core/jres/icons/portBC-icon.png
new file mode 100644
index 00000000..15b1b5f4
Binary files /dev/null and b/libs/core/jres/icons/portBC-icon.png differ
diff --git a/libs/core/jres/icons/portC-icon.png b/libs/core/jres/icons/portC-icon.png
index 628b2410..4baa4c41 100644
Binary files a/libs/core/jres/icons/portC-icon.png and b/libs/core/jres/icons/portC-icon.png differ
diff --git a/libs/core/jres/icons/portCD-icon.png b/libs/core/jres/icons/portCD-icon.png
new file mode 100644
index 00000000..f5b69733
Binary files /dev/null and b/libs/core/jres/icons/portCD-icon.png differ
diff --git a/libs/core/jres/icons/portD-icon.png b/libs/core/jres/icons/portD-icon.png
index 3122fd14..20b26828 100644
Binary files a/libs/core/jres/icons/portD-icon.png and b/libs/core/jres/icons/portD-icon.png differ
diff --git a/libs/core/output.ts b/libs/core/output.ts
index 861f959d..4481f05e 100644
--- a/libs/core/output.ts
+++ b/libs/core/output.ts
@@ -163,6 +163,7 @@ namespace motors {
* @param brake a value indicating if the motor should break when off
*/
//% blockId=outputMotorSetBrakeMode block="set %motor|brake %brake=toggleOnOff"
+ //% motor.fieldEditor="motors"
//% weight=60 blockGap=8
//% group="Properties"
//% help=motors/motor/set-brake
@@ -175,6 +176,7 @@ namespace motors {
* Inverts the motor polarity
*/
//% blockId=motorSetInverted block="set %motor|inverted %reversed=toggleOnOff"
+ //% motor.fieldEditor="motors"
//% weight=59 blockGap=8
//% group="Properties"
//% help=motors/motor/set-inverted
@@ -192,6 +194,7 @@ namespace motors {
//% group="Move"
//% help=motors/motor/stop
//% blockId=motorStop block="stop %motors|"
+ //% motors.fieldEditor="motors"
stop() {
this.init();
stop(this._port, this._brake);
@@ -212,6 +215,7 @@ namespace motors {
//% group="Move"
//% help=motors/motor/reset
//% blockId=motorReset block="reset %motors|"
+ //% motors.fieldEditor="motors"
reset() {
this.init();
reset(this._port);
@@ -226,6 +230,7 @@ namespace motors {
//% blockId=motorRun block="run %motor at %speed=motorSpeedPicker|\\%||for %value %unit"
//% weight=100 blockGap=8
//% group="Move"
+ //% motor.fieldEditor="motors"
//% expandableArgumentMode=toggle
//% help=motors/motor/run
run(speed: number, value: number = 0, unit: MoveUnit = MoveUnit.MilliSeconds) {
@@ -287,6 +292,7 @@ namespace motors {
* @param timeOut optional maximum pausing time in milliseconds
*/
//% blockId=motorPauseUntilRead block="pause until %motor|ready"
+ //% motor.fieldEditor="motors"
//% weight=90
//% group="Move"
pauseUntilReady(timeOut?: number) {
@@ -343,6 +349,7 @@ namespace motors {
* @param value true for regulated motor
*/
//% blockId=outputMotorSetRegulated block="set %motor|regulated %value=toggleOnOff"
+ //% motor.fieldEditor="motors"
//% weight=58
//% group="Properties"
//% help=motors/motor/set-regulated
@@ -355,6 +362,7 @@ namespace motors {
* @param motor the port which connects to the motor
*/
//% blockId=motorSpeed block="%motor|speed"
+ //% motor.fieldEditor="motors"
//% weight=72
//% blockGap=8
//% group="Counters"
@@ -369,6 +377,7 @@ namespace motors {
* @param motor the port which connects to the motor
*/
//% blockId=motorAngle block="%motor|angle"
+ //% motor.fieldEditor="motors"
//% weight=70
//% blockGap=8
//% group="Counters"
@@ -382,6 +391,7 @@ namespace motors {
* Clears the motor count
*/
//% blockId=motorClearCount block="clear %motor|counters"
+ //% motor.fieldEditor="motors"
//% weight=68
//% blockGap=8
//% group="Counters"
@@ -406,28 +416,28 @@ namespace motors {
}
}
- //% whenUsed fixedInstance block="large motor A"
+ //% whenUsed fixedInstance block="large motor A" jres=icons.portA
export const largeA = new Motor(Output.A, true);
- //% whenUsed fixedInstance block="large motor B"
+ //% whenUsed fixedInstance block="large motor B" jres=icons.portB
export const largeB = new Motor(Output.B, true);
- //% whenUsed fixedInstance block="large motor C"
+ //% whenUsed fixedInstance block="large motor C" jres=icons.portC
export const largeC = new Motor(Output.C, true);
- //% whenUsed fixedInstance block="large motor D"
+ //% whenUsed fixedInstance block="large motor D" jres=icons.portD
export const largeD = new Motor(Output.D, true);
- //% whenUsed fixedInstance block="medium motor A"
+ //% whenUsed fixedInstance block="medium motor A" jres=icons.portA
export const mediumA = new Motor(Output.A, false);
- //% whenUsed fixedInstance block="medium motor B"
+ //% whenUsed fixedInstance block="medium motor B" jres=icons.portB
export const mediumB = new Motor(Output.B, false);
- //% whenUsed fixedInstance block="medium motor C"
+ //% whenUsed fixedInstance block="medium motor C" jres=icons.portC
export const mediumC = new Motor(Output.C, false);
- //% whenUsed fixedInstance block="medium motor D"
+ //% whenUsed fixedInstance block="medium motor D" jres=icons.portD
export const mediumD = new Motor(Output.D, false);
//% fixedInstances
@@ -481,7 +491,8 @@ namespace motors {
* @param value (optional) move duration or rotation
* @param unit (optional) unit of the value
*/
- //% blockId=motorPairTank block="tank %motors %speedLeft=motorSpeedPicker|\\% %speedRight=motorSpeedPicker|\\%||for %value %unit"
+ //% blockId=motorPairTank block="tank **motors** %motors %speedLeft=motorSpeedPicker|\\% %speedRight=motorSpeedPicker|\\%||for %value %unit"
+ //% motors.fieldEditor="ports"
//% weight=96 blockGap=8
//% inlineInputMode=inline
//% group="Move"
@@ -508,7 +519,8 @@ namespace motors {
* @param value (optional) move duration or rotation
* @param unit (optional) unit of the value
*/
- //% blockId=motorPairSteer block="steer %chassis turn ratio %turnRatio=motorTurnRatioPicker speed %speed=motorSpeedPicker|\\%||for %value %unit"
+ //% blockId=motorPairSteer block="steer **motors** %chassis turn ratio %turnRatio=motorTurnRatioPicker speed %speed=motorSpeedPicker|\\%||for %value %unit"
+ //% chassis.fieldEditor="ports"
//% weight=95
//% turnRatio.min=-200 turnRatio=200
//% inlineInputMode=inline
@@ -571,16 +583,16 @@ namespace motors {
}
}
- //% whenUsed fixedInstance block="large motors B+C"
+ //% whenUsed fixedInstance block="B+C" jres=icons.portBC
export const largeBC = new SynchedMotorPair(Output.BC);
- //% whenUsed fixedInstance block="large motors A+D"
+ //% whenUsed fixedInstance block="A+D" jres=icons.portAD
export const largeAD = new SynchedMotorPair(Output.AD);
- //% whenUsed fixedInstance block="large motors A+B"
+ //% whenUsed fixedInstance block="A+B" jres=icons.portAB
export const largeAB = new SynchedMotorPair(Output.AB);
- //% whenUsed fixedInstance block="large motors C+D"
+ //% whenUsed fixedInstance block="C+D" jres=icons.portCD
export const largeCD = new SynchedMotorPair(Output.CD);
function reset(out: Output) {