@@ -58,12 +58,12 @@ namespace microcode {
5858 const comp3 = new ButtonCollection ( {
5959 alignment : GUIComponentAlignment . TOP ,
6060 btns : [
61- // [ // Row 1:
62- // new Button({ icon: "thermometer", ariaId: "0", x: 5, y: 5, onClick: () => basic.showNumber(0) }),
63- // new Button({ icon: "thermometer", ariaId: "1", x: 25, y: 5, onClick: () => basic.showNumber(1) }),
64- // new Button({ icon: "thermometer", ariaId: "2", x: 45, y: 5, onClick: () => basic.showNumber(2) }),
65- // new Button({ icon: "thermometer", ariaId: "3", x: 65, y: 5, onClick: () => basic.showNumber(3) }),
66- // ],
61+ [ // Row 1:
62+ new Button ( { icon : "thermometer" , ariaId : "0" , x : 5 , y : 5 , onClick : ( ) => basic . showNumber ( 0 ) } ) ,
63+ new Button ( { icon : "thermometer" , ariaId : "1" , x : 25 , y : 5 , onClick : ( ) => basic . showNumber ( 1 ) } ) ,
64+ new Button ( { icon : "thermometer" , ariaId : "2" , x : 45 , y : 5 , onClick : ( ) => basic . showNumber ( 2 ) } ) ,
65+ new Button ( { icon : "thermometer" , ariaId : "3" , x : 65 , y : 5 , onClick : ( ) => basic . showNumber ( 3 ) } ) ,
66+ ] ,
6767 // [ // Row 2:
6868 // new Button({ icon: "thermometer", ariaId: "4", x: 5, y: 30, onClick: () => basic.showNumber(4) }),
6969 // new Button({ icon: "green_tick", ariaId: "5", x: 65, y: 30, onClick: () => { } })//GUIComponentScene.makeComponentActive(0, true) })
@@ -84,10 +84,8 @@ namespace microcode {
8484 colour : 6 ,
8585 } )
8686
87- // const window = new GUIComponentScene({ app, components: [comp3] })
88- // app.pushScene(window)
89-
90- screen ( ) . fill ( 6 )
87+ const window = new GUIComponentScene ( { app, components : [ comp3 ] } )
88+ app . pushScene ( window )
9189
9290 // const comp3 = new ButtonCollection({
9391 // alignment: GUIComponentAlignment.TOP,
0 commit comments