-
Notifications
You must be signed in to change notification settings - Fork 0
/
Variable beautification.js
783 lines (746 loc) ยท 65.9 KB
/
Variable beautification.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
// Name: Custom Styles
// ID: shovelcss
// Description: Customize the appearance of variable monitors and prompts in your project.
// By: TheShovel
// License: MIT
// Thanks LilyMakesThings for the awesome banner!
(function (Scratch) {
"use strict";
// Styles
let monitorText = "";
let monitorBorder = "";
let monitorBackgroundColor = "";
let variableValueBackground = "";
let variableValueTextColor = "";
let listFooterBackground = "";
let listHeaderBackground = "";
let listValueText = "";
let listValueBackground = "";
let variableValueRoundness = -1;
let listValueRoundness = -1;
let monitorBackgroundRoundness = -1;
let monitorBackgroundBorderWidth = -1;
let allowScrolling = "";
let askBackground = "";
let askBackgroundRoundness = -1;
let askBackgroundBorderWidth = -1;
let askButtonBackground = "";
let askButtonRoundness = -1;
let askInputBackground = "";
let askInputRoundness = -1;
let askInputBorderWidth = -1;
let askBoxIcon = "";
let askInputText = "";
let askQuestionText = "";
let askButtonImage = "";
let askInputBorder = "";
// CSS selectors
let monitorRoot;
let monitorValue;
let monitorListHeader;
let monitorListFooter;
let monitorRowValueOuter;
let monitorRowsInner;
let monitorRowsScroller;
let monitorRowIndex;
let monitorValueLarge;
let askBoxBG;
let askBoxButton;
let askBoxInner;
let askBoxText;
let askBoxBorderMain;
let askBoxBorderOuter;
if (typeof scaffolding !== "undefined") {
monitorRoot = ".sc-monitor-root";
monitorValue = ".sc-monitor-value";
monitorListHeader = ".sc-monitor-list-label";
monitorListFooter = ".sc-monitor-list-footer";
monitorRowValueOuter = ".sc-monitor-row-value-outer";
monitorRowsInner = ".sc-monitor-rows-inner";
monitorRowsScroller = monitorRowsInner;
monitorRowIndex = ".sc-monitor-row-index";
monitorValueLarge = ".sc-monitor-large-value";
askBoxBG = ".sc-question-inner";
askBoxButton = ".sc-question-submit-button";
askBoxInner = ".sc-question-input";
askBoxText = ".sc-question-text";
askBoxBorderMain = ".sc-question-input:hover";
askBoxBorderOuter = ".sc-question-input:focus";
} else {
monitorRoot = 'div[class^="monitor_monitor-container_"]';
monitorValue = 'div[class^="monitor_value_"]';
monitorListHeader = 'div[class^="monitor_list-header_"]';
monitorListFooter = 'div[class^="monitor_list-footer_"]';
monitorRowValueOuter = 'div[class^="monitor_list-value_"]';
monitorRowsInner = 'div[class^="monitor_list-body_"]';
monitorRowsScroller =
'div[class^="monitor_list-body_"] > .ReactVirtualized__List';
monitorRowIndex = 'div[class^="monitor_list-index_"]';
monitorValueLarge = 'div[class^="monitor_large-value_"]';
askBoxBG = 'div[class^="question_question-container_"]';
askBoxButton = 'button[class^="question_question-submit-button_"]';
askBoxInner =
'[class^="question_question-container_"] input[class^="input_input-form_"]';
askBoxText =
'[class^="question_question-container_"] div[class^="question_question-label_"]';
askBoxIcon = 'img[class^="question_question-submit-button-icon_"]';
askBoxBorderMain =
'[class^="question_question-input_"] input:focus, [class^="question_question-input_"] input:hover';
askBoxBorderOuter = '[class^="question_question-input_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CIgc3Ryb2tlLXdpZHRoPSI1MCIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIi8+PHBhdGggZD0iTTE1My45MTUxOCwxMDMuODQ5ODV2LTMyLjA5NTloMTQuNjk0NTF2MzIuMDk1OXoiIHN0cm9rZT0iIzAwMDAwMCIgc3Ryb2tlLXdpZHRoPSI1MCIgc3Ryb2tlLWxpbmVjYXA9ImJ1dHQiLz48cGF0aCBkPSJNMTk1LjQ5OTkyLDQ5LjM3ODA0IiBzdHJva2U9IiNmZjAwMDAiIHN0cm9rZS13aWR0aD0iNTAiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIvPjwvZz48L2c+PC9zdmc+PCEtLXJvdGF0aW9uQ2VudGVyOjE3NC42NjE2MjoxNjMuNjc0NTU5OTk5OTk5OTktLT4=";
const stylesheet = document.createElement("style");
stylesheet.className = "shovelcss-style";
// end of <body> for higher precedence than other sheets
document.body.appendChild(stylesheet);
const applyCSS = () => {
let css = "";
// We assume all values are sanitized when they are set, so then we can just use them as-is here.
if (monitorText) {
css += `${monitorRoot}, ${monitorListFooter}, ${monitorListHeader}, ${monitorRowIndex} { color: ${monitorText}; }`;
}
if (monitorBackgroundColor) {
css += `${monitorRoot}, ${monitorRowsInner} { background: ${monitorBackgroundColor}; }`;
}
if (monitorBorder) {
css += `${monitorRoot} { border-color: ${monitorBorder}; }`;
}
if (monitorBackgroundRoundness >= 0) {
css += `${monitorRoot} { border-radius: ${monitorBackgroundRoundness}px; }`;
}
if (monitorBackgroundBorderWidth >= 0) {
css += `${monitorRoot} { border-width: ${monitorBackgroundBorderWidth}px; }`;
}
if (variableValueBackground) {
css += `${monitorValue}, ${monitorValueLarge} { background: ${variableValueBackground} !important; }`;
}
if (variableValueTextColor) {
css += `${monitorValue}, ${monitorValueLarge} { color: ${variableValueTextColor}; }`;
}
if (variableValueRoundness >= 0) {
css += `${monitorValue} { border-radius: ${variableValueRoundness}px; }`;
}
if (listHeaderBackground) {
css += `${monitorListHeader} { background: ${listHeaderBackground}; }`;
}
if (listFooterBackground) {
css += `${monitorListFooter} { background: ${listHeaderBackground}; }`;
}
if (listValueBackground) {
css += `${monitorRowValueOuter} { background: ${listValueBackground} !important; }`;
}
if (listValueText) {
css += `${monitorRowValueOuter} { color: ${listValueText}; }`;
}
if (listValueRoundness >= 0) {
css += `${monitorRowValueOuter} { border-radius: ${listValueRoundness}px; }`;
}
if (allowScrolling) {
css += `${monitorRowsScroller} { overflow: ${allowScrolling} !important; }`;
}
if (askBackground) {
css += `${askBoxBG} { background: ${askBackground} !important; border: none !important; }`;
}
if (askBackgroundRoundness >= 0) {
css += `${askBoxBG} { border-radius: ${askBackgroundRoundness}px !important; }`;
}
if (askBackgroundBorderWidth >= 0) {
css += `${askBoxBG} { border-width: ${askBackgroundBorderWidth}px !important; }`;
}
if (askButtonBackground) {
css += `${askBoxButton} { background-color: ${askButtonBackground}; }`;
}
if (askButtonRoundness >= 0) {
css += `${askBoxButton} { border-radius: ${askButtonRoundness}px !important; }`;
}
if (askInputBackground) {
css += `${askBoxInner} { background: ${askInputBackground} !important; }`;
css += `${askBoxInner} { border: none !important; }`;
}
if (askInputText) {
css += `${askBoxInner} { color: ${askInputText} !important; }`;
}
if (askQuestionText) {
css += `${askBoxText} { color: ${askQuestionText} !important; }`;
}
if (askInputRoundness >= 0) {
css += `${askBoxInner} { border-radius: ${askInputRoundness}px !important; }`;
}
if (askInputBorderWidth >= 0) {
css += `${askBoxInner} { border-width: ${askInputBorderWidth}px !important; }`;
}
if (askButtonImage) {
css += `${askBoxButton} { background-image: url("${encodeURI(
askButtonImage
)}") !important; background-repeat: no-repeat; background-size: contain; }`;
css += `${askBoxIcon} { visibility: hidden; }`;
}
if (askInputBorder) {
css += `${askBoxBorderMain}, ${askBoxBorderOuter} { border-color: ${askInputBorder} !important; }`;
css += `${askBoxBorderOuter} { box-shadow: none !important; }`;
}
stylesheet.textContent = css;
};
const resetStyles = () => {
monitorText = "";
monitorBorder = "";
monitorBackgroundColor = "";
variableValueBackground = "";
variableValueTextColor = "";
listFooterBackground = "";
listHeaderBackground = "";
listValueText = "";
listValueBackground = "";
variableValueRoundness = -1;
listValueRoundness = -1;
monitorBackgroundRoundness = -1;
monitorBackgroundBorderWidth = -1;
allowScrolling = "";
askBackground = "";
askBackgroundRoundness = -1;
askBackgroundBorderWidth = -1;
askButtonBackground = "";
askButtonRoundness = -1;
askInputBackground = "";
askInputRoundness = -1;
askInputBorderWidth = -1;
askBoxIcon = "";
askInputText = "";
askQuestionText = "";
askButtonImage = "";
askInputBorder = "";
applyCSS();
};
const getMonitorRoot = (id) => {
const allMonitors = document.querySelectorAll(monitorRoot);
for (const monitor of allMonitors) {
if (monitor.dataset.id === id) {
return monitor;
}
}
return null;
};
/**
* @param {string} id
* @param {number} x
* @param {number} y
*/
const setMonitorPosition = (id, x, y) => {
const root = getMonitorRoot(id);
if (root) {
root.style.transform = `translate(${x}px, ${y}px)`;
root.style.left = "0px";
root.style.top = "0px";
}
};
/**
* @param {VM.Target} target
* @param {string} name
* @param {VM.VariableType} type
* @param {number} x
* @param {number} y
*/
const setVariableMonitorPosition = (target, name, type, x, y) => {
// @ts-expect-error
const variable = target.lookupVariableByNameAndType(name, type);
if (variable) {
// @ts-expect-error
setMonitorPosition(variable.id, x, y);
}
};
const parseColor = (color, callback) => {
color = Scratch.Cast.toString(color);
// These might have some exponential backtracking/ReDoS, but that's not really a concern here.
// If a project wanted to get stuck in an infinite loop, there are so many other ways to do that.
// Simple color code or name
if (/^#?[a-z0-9]+$/.test(color)) {
callback(color);
return;
}
// General gradient pattern
if (/^[a-z-]+-gradient\([a-z0-9,#%. ]+\)$/i.test(color)) {
callback(color);
return;
}
// URL
// see list of non-escaped characters:
// https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/encodeURI#description
const match = color.match(/^url\("([A-Za-z0-9\-_.!~*'();/?:@&=+$,#]+)"\)$/);
if (match) {
const url = match[1];
return Scratch.canFetch(url).then((allowed) => {
if (allowed) {
callback(color);
}
});
}
console.error("Invalid color", color);
};
Scratch.vm.runtime.on("RUNTIME_DISPOSED", resetStyles);
class MonitorStyles {
getInfo() {
return {
id: "shovelcss",
name: "Custom Styles",
menuIconURI: extensionIcon,
color1: "#0072d6",
color2: "#0064bc",
color3: "#01539b",
blocks: [
{
blockIconURI: ColorIcon,
opcode: "changecss",
blockType: Scratch.BlockType.COMMAND,
text: "set [COLORABLE] to [COLOR]",
arguments: {
COLORABLE: {
type: Scratch.ArgumentType.STRING,
menu: "COLORABLE_MENU",
},
COLOR: {
type: Scratch.ArgumentType.COLOR,
defaultValue: "#ff0000",
},
},
},
{
blockIconURI: GradientIcon,
opcode: "gradientAngle",
blockType: Scratch.BlockType.REPORTER,
text: "make a gradient with [COLOR1] and [COLOR2] at angle [ANGLE]",
arguments: {
COLOR1: {
type: Scratch.ArgumentType.COLOR,
defaultValue: "#ff0000",
},
COLOR2: {
type: Scratch.ArgumentType.COLOR,
defaultValue: "#6ed02d",
},
ANGLE: {
type: Scratch.ArgumentType.ANGLE,
defaultValue: "90",
},
},
},
{
blockIconURI: TransparentIcon,
disableMonitor: true,
opcode: "transparentinput",
blockType: Scratch.BlockType.REPORTER,
text: "transparent",
},
{
blockIconURI: PictureIcon,
disableMonitor: true,
opcode: "pictureinput",
blockType: Scratch.BlockType.REPORTER,
text: "image [URL]",
arguments: {
URL: {
type: Scratch.ArgumentType.STRING,
defaultValue: "https://extensions.turbowarp.org/dango.png",
},
},
},
"---",
{
blockIconURI: PictureIcon,
disableMonitor: true,
opcode: "setAskURI",
blockType: Scratch.BlockType.COMMAND,
text: "set ask prompt button image to [URL]",
arguments: {
URL: {
type: Scratch.ArgumentType.STRING,
defaultValue: "https://extensions.turbowarp.org/dango.png",
},
},
},
"---",
{
blockIconURI: BorderIcon,
opcode: "setbordersize",
blockType: Scratch.BlockType.COMMAND,
text: "set border width of [BORDER] to [SIZE]",
arguments: {
BORDER: {
type: Scratch.ArgumentType.STRING,
menu: "BORDER_WIDTH_MENU",
},
SIZE: {
type: Scratch.ArgumentType.NUMBER,
defaultValue: "2",
},
},
},
{
blockIconURI: BorderIcon,
opcode: "setborderradius",
blockType: Scratch.BlockType.COMMAND,
text: "set roundness of [CORNER] to [SIZE]",
arguments: {
SIZE: {
type: Scratch.ArgumentType.NUMBER,
defaultValue: "4",
},
CORNER: {
type: Scratch.ArgumentType.STRING,
menu: "BORDER_ROUNDNESS_MENU",
},
},
},
"---",
{
blockIconURI: ResetIcon,
opcode: "clearCSS",
blockType: Scratch.BlockType.COMMAND,
text: "reset styles",
},
"---",
{
blockIconURI: miscIcon,
opcode: "allowscrollrule",
blockType: Scratch.BlockType.COMMAND,
text: "set list scrolling to [SCROLLRULE]",
arguments: {
SCROLLRULE: {
type: Scratch.ArgumentType.STRING,
menu: "SCROLL_MENU",
},
},
},
{
blockIconURI: miscIcon,
opcode: "getValue",
blockType: Scratch.BlockType.REPORTER,
text: "get [ITEM]",
arguments: {
ITEM: {
type: Scratch.ArgumentType.STRING,
menu: "VALUEGET_LIST",
},
},
},
"---",
{
blockIconURI: miscIcon,
opcode: "setvarpos",
blockType: Scratch.BlockType.COMMAND,
text: "set position of variable [NAME] to x: [X] y: [Y]",
arguments: {
X: {
type: Scratch.ArgumentType.NUMBER,
defaultValue: "0",
},
Y: {
type: Scratch.ArgumentType.NUMBER,
defaultValue: "0",
},
NAME: {
type: Scratch.ArgumentType.STRING,
defaultValue: "my variable",
},
},
},
{
blockIconURI: miscIcon,
opcode: "setlistpos",
blockType: Scratch.BlockType.COMMAND,
text: "set position of list [NAME] to x: [X] y: [Y]",
arguments: {
X: {
type: Scratch.ArgumentType.NUMBER,
defaultValue: "0",
},
Y: {
type: Scratch.ArgumentType.NUMBER,
defaultValue: "0",
},
NAME: {
type: Scratch.ArgumentType.STRING,
defaultValue: "my variable",
},
},
},
],
// Accepting reporters because there can't be errors in case the value is not correct
menus: {
COLORABLE_MENU: {
acceptReporters: true,
items: [
"monitor text",
"monitor background",
"monitor border",
"variable value background",
"variable value text",
"list header background",
"list footer background",
"list value background",
"list value text",
"ask prompt background",
"ask prompt button background",
"ask prompt input background",
"ask prompt question text",
"ask prompt input text",
"ask prompt input border",
],
},
BORDER_WIDTH_MENU: {
acceptReporters: true,
items: [
"monitor background",
"ask prompt background",
"ask prompt input",
],
},
BORDER_ROUNDNESS_MENU: {
acceptReporters: true,
items: [
"monitor background",
"variable value",
"list value",
"ask prompt background",
"ask prompt button",
"ask prompt input",
],
},
SCROLL_MENU: {
acceptReporters: true,
items: ["enabled", "disabled"],
},
VALUEGET_LIST: {
acceptReporters: true,
items: [
"monitor text",
"monitor background",
"monitor border color",
"variable value background",
"variable value text",
"list header background",
"list footer background",
"list value background",
"list value text",
"ask prompt background",
"ask prompt button background",
"ask prompt input background",
"ask prompt question text",
"ask prompt input text",
"ask prompt input border",
"monitor background border width",
"ask prompt background border width",
"ask prompt input border width",
"monitor background roundness",
"variable value roundness",
"list value roundness",
"ask prompt background roundness",
"ask prompt button roundness",
"ask prompt input roundness",
"ask prompt button image",
"list scroll rule",
],
},
},
};
}
changecss(args) {
return parseColor(args.COLOR, (color) => {
if (args.COLORABLE === "monitor text") {
monitorText = color;
} else if (args.COLORABLE === "monitor background") {
monitorBackgroundColor = color;
} else if (args.COLORABLE === "monitor border") {
monitorBorder = color;
} else if (args.COLORABLE === "variable value background") {
variableValueBackground = color;
} else if (args.COLORABLE === "variable value text") {
variableValueTextColor = color;
} else if (args.COLORABLE === "list header background") {
listHeaderBackground = color;
} else if (args.COLORABLE === "list footer background") {
listFooterBackground = color;
} else if (args.COLORABLE === "list value background") {
listValueBackground = color;
} else if (args.COLORABLE === "list value text") {
listValueText = color;
} else if (args.COLORABLE === "ask prompt background") {
askBackground = color;
} else if (args.COLORABLE === "ask prompt button background") {
askButtonBackground = color;
} else if (args.COLORABLE === "ask prompt input background") {
askInputBackground = color;
} else if (args.COLORABLE === "ask prompt question text") {
askQuestionText = color;
} else if (args.COLORABLE === "ask prompt input text") {
askInputText = color;
} else if (args.COLORABLE === "ask prompt input border") {
askInputBorder = color;
}
applyCSS();
});
}
gradientAngle(args) {
return (
"linear-gradient(" +
args.ANGLE +
"deg," +
args.COLOR1 +
"," +
args.COLOR2 +
")"
);
}
setbordersize(args) {
const size = Scratch.Cast.toNumber(args.SIZE);
if (args.BORDER === "monitor background") {
monitorBackgroundBorderWidth = size;
} else if (args.BORDER === "ask prompt background") {
askBackgroundBorderWidth = size;
} else if (args.BORDER === "ask prompt input") {
askInputBorderWidth = size;
}
applyCSS();
}
setborderradius(args) {
const size = Scratch.Cast.toNumber(args.SIZE);
if (args.CORNER === "monitor background") {
monitorBackgroundRoundness = size;
} else if (args.CORNER === "variable value") {
variableValueRoundness = size;
} else if (args.CORNER === "list value") {
listValueRoundness = size;
} else if (args.CORNER === "ask prompt background") {
askBackgroundRoundness = size;
} else if (args.CORNER === "ask prompt button") {
askButtonRoundness = size;
} else if (args.CORNER === "ask prompt input") {
askInputRoundness = size;
}
applyCSS();
}
allowscrollrule(args) {
if (args.SCROLLRULE === "enabled") {
allowScrolling = "auto";
} else {
allowScrolling = "hidden";
}
applyCSS();
}
setvarpos(args, util) {
setVariableMonitorPosition(
util.target,
args.NAME,
"",
Scratch.Cast.toNumber(args.X) + Scratch.vm.runtime.stageWidth / 2,
Scratch.vm.runtime.stageHeight / 2 - Scratch.Cast.toNumber(args.Y)
);
}
setlistpos(args, util) {
setVariableMonitorPosition(
util.target,
args.NAME,
"list",
Scratch.Cast.toNumber(args.X) + Scratch.vm.runtime.stageWidth / 2,
Scratch.vm.runtime.stageHeight / 2 - Scratch.Cast.toNumber(args.Y)
);
}
help() {
alert(
"\nThis is a short introduction to how to use the Monitor Styles extension!\n\n๐๐ผ๐ผ๐ธ๐ ๐ฏ๐น๐ผ๐ฐ๐ธ๐\nThese blocks change the appearance of the variable and list didsplays. You can use the drop-down menu to select what component you want to modify. ๐๐๐ ๐๐ค๐ก๐ค๐ง ๐๐ก๐ค๐๐ modifieas the color of a component. You can use the ๐๐ง๐๐๐๐๐ฃ๐ฉ block inside the color input, to create gradients or the ๐๐ข๐๐๐ block to use a image instead of solid colors. ๐๐๐๐จ๐ ๐ฉ๐ฌ๐ค ๐ค๐ฃ๐ก๐ฎ ๐ฌ๐ค๐ง๐ ๐ค๐ฃ ๐๐๐ง๐ฉ๐๐๐ฃ ๐๐ค๐ข๐ฅ๐ค๐ฃ๐๐ฃ๐ฉ๐จ! You can also use the ๐ฉ๐ง๐๐ฃ๐จ๐ฅ๐๐ง๐๐ฃ๐ฉ ๐๐ก๐ค๐๐ as a color input, to make components invisible. The ๐๐ค๐ง๐๐๐ง ๐๐ก๐ค๐๐ ๐จ modify the borders of components.\n\n๐ฆ๐ฒ๐ป๐๐ถ๐ป๐ด ๐ฏ๐น๐ผ๐ฐ๐ธ๐\nThese blocks can change the behaviour of certain components. The ๐จ๐๐ง๐ค๐ก๐ก ๐ง๐ช๐ก๐ block change the behaviour for lists. On 'auto' they will show the scroll bar, and allow you to school, but on 'hidden', they won't let you do that, and the scroll bar will be hidden.\n\n๐ ๐ผ๐๐ถ๐ผ๐ป ๐ฏ๐น๐ผ๐ฐ๐ธ๐\nThese blocks allow you to move variable and list displays around. You need to use their ๐ก๐๐๐๐ก ๐ฃ๐๐ข๐. The label name is the text that displays on the monitor. For example, a 'for this sprite only' variable will be like 'Sprite1: my variable'."
);
}
transparentinput() {
return "transparent";
}
pictureinput(args) {
return `url("${encodeURI(args.URL)}")`;
}
clearCSS() {
resetStyles();
}
getValue(args) {
if (args.ITEM === "monitor text") {
return monitorText;
} else if (args.ITEM === "monitor background") {
return monitorBackgroundColor;
} else if (args.ITEM === "monitor border color") {
return monitorBorder;
} else if (args.ITEM === "variable value background") {
return variableValueBackground;
} else if (args.ITEM === "variable value text") {
return variableValueTextColor;
} else if (args.ITEM === "list header background") {
return listHeaderBackground;
} else if (args.ITEM === "list footer background") {
return listFooterBackground;
} else if (args.ITEM === "list value background") {
return listValueBackground;
} else if (args.ITEM === "list value text") {
return listValueText;
} else if (args.ITEM === "ask prompt background") {
return askBackground;
} else if (args.ITEM === "ask prompt button background") {
return askButtonBackground;
} else if (args.ITEM === "ask prompt input background") {
return askInputBackground;
} else if (args.ITEM === "ask prompt question text") {
return askQuestionText;
} else if (args.ITEM === "ask prompt input text") {
return askInputText;
} else if (args.ITEM === "ask prompt input border") {
return askInputBorder;
} else if (args.ITEM === "monitor background border width") {
return monitorBackgroundBorderWidth;
} else if (args.ITEM === "ask prompt background border width") {
return askBackgroundBorderWidth;
} else if (args.ITEM === "ask prompt input border width") {
return askInputBorderWidth;
} else if (args.ITEM === "monitor background roundness") {
return monitorBackgroundRoundness;
} else if (args.ITEM === "variable value roundness") {
return variableValueRoundness;
} else if (args.ITEM === "list value roundness") {
return listValueRoundness;
} else if (args.ITEM === "ask prompt background roundness") {
return askBackgroundRoundness;
} else if (args.ITEM === "ask prompt button roundness") {
return askButtonRoundness;
} else if (args.ITEM === "ask prompt input roundness") {
return askInputRoundness;
} else if (args.ITEM === "ask prompt button image") {
return askButtonImage;
} else if (args.ITEM === "list scrolling") {
if (allowScrolling === "auto") {
return "enabled";
} else {
return "disabled";
}
}
return "";
}
setAskURI(args) {
return Scratch.canFetch(args.URL).then((allowed) => {
if (allowed) {
askButtonImage = args.URL;
applyCSS();
}
});
}
}
Scratch.extensions.register(new MonitorStyles());
})(Scratch);