Skip to content

Commit 8ccbc08

Browse files
committed
highlighting
1 parent 8e3ec90 commit 8ccbc08

2 files changed

Lines changed: 35 additions & 14 deletions

File tree

assets.ts

Lines changed: 31 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -2921,21 +2921,21 @@ bffffffffffffffffffffffffffffffb
29212921
. . . . . . . . . . . . . . . .
29222922
`
29232923

2924-
export const running = bmp`
2924+
export const runDisabled = bmp`
29252925
. . . . . . . . . . . . . . . .
29262926
. . . . . . . . . . . . . . . .
29272927
. c c c . . . . . . . . . . . .
2928-
. c 5 5 c c . . . . . . . . . .
2929-
. c 5 5 5 5 c c c . . . . . . .
2930-
. c 5 5 5 5 5 5 c c . . . . . .
2931-
. c 5 5 5 5 5 5 5 5 c c . . . .
2932-
. c 5 5 5 5 5 5 5 5 5 5 c c . .
2933-
. c 5 5 5 5 5 5 5 5 5 5 5 5 c .
2934-
. c 5 5 5 5 5 5 5 5 5 5 c c . .
2935-
. c 5 5 5 5 5 5 5 5 c c . . . .
2936-
. c 5 5 5 5 5 5 c c . . . . . .
2937-
. c 5 5 5 5 c c . . . . . . . .
2938-
. c 5 5 c c . . . . . . . . . .
2928+
. c b b c c . . . . . . . . . .
2929+
. c b b b b c c c . . . . . . .
2930+
. c b b b b b b c c . . . . . .
2931+
. c b b b b b b b b c c . . . .
2932+
. c b b b b b b b b b b c c . .
2933+
. c b b b b b b b b b b b b c .
2934+
. c b b b b b b b b b b c c . .
2935+
. c b b b b b b b b c c . . . .
2936+
. c b b b b b b c c . . . . . .
2937+
. c b b b b c c . . . . . . . .
2938+
. c b b c c . . . . . . . . . .
29392939
. c c c . . . . . . . . . . . .
29402940
. . . . . . . . . . . . . . . .
29412941
`
@@ -3072,6 +3072,25 @@ bffffffffffffffffffffffffffffffb
30723072
. . . . . . . . . . . . . . . .
30733073
`
30743074

3075+
export const stopDisabled = bmp`
3076+
. . . . . . . . . . . . . . . .
3077+
. . . . . d d d d d d . . . . .
3078+
. . . . d c c c c c c d . . . .
3079+
. . . d c b b b b b b c d . . .
3080+
. . d c b b b b b b b b c d . .
3081+
. d c b b b b b b b b b b c d .
3082+
. d c b b b b b b b b b b c d .
3083+
. d c b b c c c c c c b b c d .
3084+
. d c b b c c c c c c b b c d .
3085+
. d c b b b b b b b b b b c d .
3086+
. d c b b b b b b b b b b c d .
3087+
. . d c b b b b b b b b c d . .
3088+
. . . d c b b b b b b c d . . .
3089+
. . . . d c c c c c c d . . . .
3090+
. . . . . d d d d d d . . . . .
3091+
. . . . . . . . . . . . . . . .
3092+
`
3093+
30753094
export const car_wall = bmp`
30763095
. . . . . . . . . . . . . . . .
30773096
d d d d d d d d d d d d d d d d

editor.ts

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -269,22 +269,24 @@ namespace microcode {
269269
onClick: () => {
270270
if (!isProgramRunning()) {
271271
runProgram(this.progdef)
272-
this.runBtn.buildSprite(icondb.running)
272+
this.runBtn.buildSprite(icondb.runDisabled)
273+
this.stopBtn.buildSprite(icondb.car_stop)
273274
this.dirty = true
274275
}
275276
},
276277
})
277278
this.stopBtn = new Button({
278279
parent: this.hudroot,
279280
style: ButtonStyles.BorderedPurple,
280-
icon: icondb.car_stop,
281+
icon: icondb.stopDisabled,
281282
ariaId: "stop",
282283
x: Screen.LEFT_EDGE + 52,
283284
y: 8,
284285
onClick: () => {
285286
if (isProgramRunning()) {
286287
stopProgram()
287288
this.runBtn.buildSprite(icondb.run)
289+
this.stopBtn.buildSprite(icondb.stopDisabled)
288290
this.dirty = true
289291
basic.showIcon(IconNames.No)
290292
control.waitMicros(200000)

0 commit comments

Comments
 (0)