images for icons

This commit is contained in:
Peli de Halleux 2017-02-28 22:37:48 -08:00
parent 9db5db5067
commit 4922a4a833
42 changed files with 40 additions and 11 deletions

View File

@ -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",

View File

@ -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",

View File

@ -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 `
. . # . . . . # . .
. # # # . . # # # .

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.0 KiB

After

Width:  |  Height:  |  Size: 2.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.5 KiB