images for icons
@ -166,7 +166,7 @@
|
|||||||
"led.unplot|param|y": "TODO",
|
"led.unplot|param|y": "TODO",
|
||||||
"music": "Generation of music tones through pin ``P0``.",
|
"music": "Generation of music tones through pin ``P0``.",
|
||||||
"music.beat": "Returns the duration of a beat in milli-seconds",
|
"music.beat": "Returns the duration of a beat in milli-seconds",
|
||||||
"music.beginMelody": "Starts playing a melody through pin ``P0``. \nNotes are expressed as a string of characters with this format: NOTE[octave][:duration]",
|
"music.beginMelody": "Starts playing a melody through pin ``P0``.\nNotes are expressed as a string of characters with this format: NOTE[octave][:duration]",
|
||||||
"music.beginMelody|param|options": "melody options, once / forever, in the foreground / background",
|
"music.beginMelody|param|options": "melody options, once / forever, in the foreground / background",
|
||||||
"music.builtInMelody": "Gets the melody array of a built-in melody.",
|
"music.builtInMelody": "Gets the melody array of a built-in melody.",
|
||||||
"music.changeTempoBy": "Change the tempo by the specified amount",
|
"music.changeTempoBy": "Change the tempo by the specified amount",
|
||||||
|
@ -86,7 +86,6 @@
|
|||||||
"IconNames.LeftTriangle|block": "left triangle",
|
"IconNames.LeftTriangle|block": "left triangle",
|
||||||
"IconNames.Meh|block": "meh",
|
"IconNames.Meh|block": "meh",
|
||||||
"IconNames.No|block": "no",
|
"IconNames.No|block": "no",
|
||||||
"IconNames.Pacman|block": "pac man",
|
|
||||||
"IconNames.Pitchfork|block": "pitchfork",
|
"IconNames.Pitchfork|block": "pitchfork",
|
||||||
"IconNames.QuarterNote|block": "quarter note",
|
"IconNames.QuarterNote|block": "quarter note",
|
||||||
"IconNames.Rabbit|block": "rabbit",
|
"IconNames.Rabbit|block": "rabbit",
|
||||||
|
@ -30,83 +30,119 @@ enum IconNames {
|
|||||||
//% blockImage=1
|
//% blockImage=1
|
||||||
Heart = 0,
|
Heart = 0,
|
||||||
//% block="small heart"
|
//% block="small heart"
|
||||||
|
//% blockImage=1
|
||||||
SmallHeart,
|
SmallHeart,
|
||||||
//% block="yes"
|
//% block="yes"
|
||||||
|
//% blockImage=1
|
||||||
Yes,
|
Yes,
|
||||||
//% block="no"
|
//% block="no"
|
||||||
|
//% blockImage=1
|
||||||
No,
|
No,
|
||||||
//% block="happy"
|
//% block="happy"
|
||||||
|
//% blockImage=1
|
||||||
Happy,
|
Happy,
|
||||||
//% block="sad"
|
//% block="sad"
|
||||||
|
//% blockImage=1
|
||||||
Sad,
|
Sad,
|
||||||
//% block="confused"
|
//% block="confused"
|
||||||
|
//% blockImage=1
|
||||||
Confused,
|
Confused,
|
||||||
//% block="angry"
|
//% block="angry"
|
||||||
|
//% blockImage=1
|
||||||
Angry,
|
Angry,
|
||||||
//% block="asleep"
|
//% block="asleep"
|
||||||
|
//% blockImage=1
|
||||||
Asleep,
|
Asleep,
|
||||||
//% block="surprised"
|
//% block="surprised"
|
||||||
|
//% blockImage=1
|
||||||
Surprised,
|
Surprised,
|
||||||
//% block="silly"
|
//% block="silly"
|
||||||
|
//% blockImage=1
|
||||||
Silly,
|
Silly,
|
||||||
//% block="fabulous"
|
//% block="fabulous"
|
||||||
|
//% blockImage=1
|
||||||
Fabulous,
|
Fabulous,
|
||||||
//% block="meh"
|
//% block="meh"
|
||||||
|
//% blockImage=1
|
||||||
Meh,
|
Meh,
|
||||||
//% block="t-shirt"
|
//% block="t-shirt"
|
||||||
|
//% blockImage=1
|
||||||
TShirt,
|
TShirt,
|
||||||
//% block="roller skate"
|
//% block="roller skate"
|
||||||
|
//% blockImage=1
|
||||||
Rollerskate,
|
Rollerskate,
|
||||||
//% block="duck"
|
//% block="duck"
|
||||||
|
//% blockImage=1
|
||||||
Duck,
|
Duck,
|
||||||
//% block="house"
|
//% block="house"
|
||||||
|
//% blockImage=1
|
||||||
House,
|
House,
|
||||||
//% block="tortoise"
|
//% block="tortoise"
|
||||||
|
//% blockImage=1
|
||||||
Tortoise,
|
Tortoise,
|
||||||
//% block="butterfly"
|
//% block="butterfly"
|
||||||
|
//% blockImage=1
|
||||||
Butterfly,
|
Butterfly,
|
||||||
//% block="stick figure"
|
//% block="stick figure"
|
||||||
|
//% blockImage=1
|
||||||
StickFigure,
|
StickFigure,
|
||||||
//% block="ghost"
|
//% block="ghost"
|
||||||
|
//% blockImage=1
|
||||||
Ghost,
|
Ghost,
|
||||||
//% block="sword"
|
//% block="sword"
|
||||||
|
//% blockImage=1
|
||||||
Sword,
|
Sword,
|
||||||
//% block="giraffe"
|
//% block="giraffe"
|
||||||
|
//% blockImage=1
|
||||||
Giraffe,
|
Giraffe,
|
||||||
//% block="skull"
|
//% block="skull"
|
||||||
|
//% blockImage=1
|
||||||
Skull,
|
Skull,
|
||||||
//% block="umbrella"
|
//% block="umbrella"
|
||||||
|
//% blockImage=1
|
||||||
Umbrella,
|
Umbrella,
|
||||||
//% block="snake"
|
//% block="snake"
|
||||||
|
//% blockImage=1
|
||||||
Snake,
|
Snake,
|
||||||
//% block="rabbit"
|
//% block="rabbit"
|
||||||
|
//% blockImage=1
|
||||||
Rabbit,
|
Rabbit,
|
||||||
//% block="cow"
|
//% block="cow"
|
||||||
|
//% blockImage=1
|
||||||
Cow,
|
Cow,
|
||||||
//% block="quarter note"
|
//% block="quarter note"
|
||||||
|
//% blockImage=1
|
||||||
QuarterNote,
|
QuarterNote,
|
||||||
//% block="eigth note"
|
//% block="eigth note"
|
||||||
|
//% blockImage=1
|
||||||
EigthNote,
|
EigthNote,
|
||||||
//% block="pitchfork"
|
//% block="pitchfork"
|
||||||
|
//% blockImage=1
|
||||||
Pitchfork,
|
Pitchfork,
|
||||||
//% block="pac man"
|
|
||||||
Pacman,
|
|
||||||
//% block="target"
|
//% block="target"
|
||||||
|
//% blockImage=1
|
||||||
Target,
|
Target,
|
||||||
//% block="triangle"
|
//% block="triangle"
|
||||||
|
//% blockImage=1
|
||||||
Triangle,
|
Triangle,
|
||||||
//% block="left triangle"
|
//% block="left triangle"
|
||||||
|
//% blockImage=1
|
||||||
LeftTriangle,
|
LeftTriangle,
|
||||||
//% block="chess board"
|
//% block="chess board"
|
||||||
|
//% blockImage=1
|
||||||
Chessboard,
|
Chessboard,
|
||||||
//% block="diamond"
|
//% block="diamond"
|
||||||
|
//% blockImage=1
|
||||||
Diamond,
|
Diamond,
|
||||||
//% block="small diamond"
|
//% block="small diamond"
|
||||||
|
//% blockImage=1
|
||||||
SmallDiamond,
|
SmallDiamond,
|
||||||
//% block="square"
|
//% block="square"
|
||||||
|
//% blockImage=1
|
||||||
Square,
|
Square,
|
||||||
//% block="small square"
|
//% block="small square"
|
||||||
SmallSquare,
|
//% blockImage=1
|
||||||
|
SmallSquare
|
||||||
}
|
}
|
||||||
|
|
||||||
enum ArrowNames {
|
enum ArrowNames {
|
||||||
@ -456,12 +492,6 @@ namespace images {
|
|||||||
# # # # #
|
# # # # #
|
||||||
. . # . .
|
. . # . .
|
||||||
. . # . .`;
|
. . # . .`;
|
||||||
case IconNames.Pacman: return `
|
|
||||||
. # # # #
|
|
||||||
# # # # .
|
|
||||||
# # # . .
|
|
||||||
# # # # .
|
|
||||||
. # # # #`;
|
|
||||||
case IconNames.Target: return `
|
case IconNames.Target: return `
|
||||||
. . # . .
|
. . # . .
|
||||||
. # # # .
|
. # # # .
|
||||||
|
BIN
sim/public/blocks/iconnames/angry.png
Normal file
After Width: | Height: | Size: 2.6 KiB |
BIN
sim/public/blocks/iconnames/asleep.png
Normal file
After Width: | Height: | Size: 2.5 KiB |
BIN
sim/public/blocks/iconnames/butterfly.png
Normal file
After Width: | Height: | Size: 2.8 KiB |
BIN
sim/public/blocks/iconnames/chessboard.png
Normal file
After Width: | Height: | Size: 2.7 KiB |
BIN
sim/public/blocks/iconnames/confused.png
Normal file
After Width: | Height: | Size: 2.5 KiB |
BIN
sim/public/blocks/iconnames/cow.png
Normal file
After Width: | Height: | Size: 2.6 KiB |
BIN
sim/public/blocks/iconnames/diamond.png
Normal file
After Width: | Height: | Size: 2.7 KiB |
BIN
sim/public/blocks/iconnames/duck.png
Normal file
After Width: | Height: | Size: 2.6 KiB |
BIN
sim/public/blocks/iconnames/eigthnote.png
Normal file
After Width: | Height: | Size: 2.7 KiB |
BIN
sim/public/blocks/iconnames/fabulous.png
Normal file
After Width: | Height: | Size: 2.6 KiB |
BIN
sim/public/blocks/iconnames/ghost.png
Normal file
After Width: | Height: | Size: 2.7 KiB |
BIN
sim/public/blocks/iconnames/giraffe.png
Normal file
After Width: | Height: | Size: 2.7 KiB |
BIN
sim/public/blocks/iconnames/happy.png
Normal file
After Width: | Height: | Size: 2.5 KiB |
Before Width: | Height: | Size: 5.0 KiB After Width: | Height: | Size: 2.7 KiB |
BIN
sim/public/blocks/iconnames/house.png
Normal file
After Width: | Height: | Size: 2.7 KiB |
BIN
sim/public/blocks/iconnames/lefttriangle.png
Normal file
After Width: | Height: | Size: 2.7 KiB |
BIN
sim/public/blocks/iconnames/meh.png
Normal file
After Width: | Height: | Size: 2.7 KiB |
BIN
sim/public/blocks/iconnames/no.png
Normal file
After Width: | Height: | Size: 2.6 KiB |
BIN
sim/public/blocks/iconnames/pitchfork.png
Normal file
After Width: | Height: | Size: 2.8 KiB |
BIN
sim/public/blocks/iconnames/quarternote.png
Normal file
After Width: | Height: | Size: 2.7 KiB |
BIN
sim/public/blocks/iconnames/rabbit.png
Normal file
After Width: | Height: | Size: 2.7 KiB |
BIN
sim/public/blocks/iconnames/rollerskate.png
Normal file
After Width: | Height: | Size: 2.6 KiB |
BIN
sim/public/blocks/iconnames/sad.png
Normal file
After Width: | Height: | Size: 2.5 KiB |
BIN
sim/public/blocks/iconnames/silly.png
Normal file
After Width: | Height: | Size: 2.5 KiB |
BIN
sim/public/blocks/iconnames/skull.png
Normal file
After Width: | Height: | Size: 2.7 KiB |
BIN
sim/public/blocks/iconnames/smalldiamond.png
Normal file
After Width: | Height: | Size: 2.5 KiB |
BIN
sim/public/blocks/iconnames/smallheart.png
Normal file
After Width: | Height: | Size: 2.5 KiB |
BIN
sim/public/blocks/iconnames/smallsquare.png
Normal file
After Width: | Height: | Size: 2.5 KiB |
BIN
sim/public/blocks/iconnames/snake.png
Normal file
After Width: | Height: | Size: 2.6 KiB |
BIN
sim/public/blocks/iconnames/square.png
Normal file
After Width: | Height: | Size: 2.5 KiB |
BIN
sim/public/blocks/iconnames/stickfigure.png
Normal file
After Width: | Height: | Size: 2.7 KiB |
BIN
sim/public/blocks/iconnames/surprised.png
Normal file
After Width: | Height: | Size: 2.6 KiB |
BIN
sim/public/blocks/iconnames/sword.png
Normal file
After Width: | Height: | Size: 2.7 KiB |
BIN
sim/public/blocks/iconnames/target.png
Normal file
After Width: | Height: | Size: 2.7 KiB |
BIN
sim/public/blocks/iconnames/tortoise.png
Normal file
After Width: | Height: | Size: 2.5 KiB |
BIN
sim/public/blocks/iconnames/triangle.png
Normal file
After Width: | Height: | Size: 2.6 KiB |
BIN
sim/public/blocks/iconnames/tshirt.png
Normal file
After Width: | Height: | Size: 2.7 KiB |
BIN
sim/public/blocks/iconnames/umbrella.png
Normal file
After Width: | Height: | Size: 2.8 KiB |
BIN
sim/public/blocks/iconnames/yes.png
Normal file
After Width: | Height: | Size: 2.5 KiB |