Skip to content
This repository has been archived by the owner on Nov 25, 2024. It is now read-only.

Commit

Permalink
Fixed merge conflicts
Browse files Browse the repository at this point in the history
  • Loading branch information
KierPalin committed Nov 7, 2024
1 parent 2a15e31 commit 28eb696
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
10 changes: 9 additions & 1 deletion dataRecorder.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,10 @@ namespace microdata {
import Screen = user_interface_base.Screen
import Scene = user_interface_base.Scene
import AppInterface = user_interface_base.AppInterface

import font = user_interface_base.font
import Affine = user_interface_base.Affine
import Sprite = user_interface_base.Sprite

/** Number of sensor information boxes that can fit onto the screen at once*/
const MAX_SENSORS_ON_SCREEN: number = 5
/** The colours that will be used for the lines & sensor information boxes */
Expand Down Expand Up @@ -30,6 +33,11 @@ namespace microdata {
/** For the currentSensorIndex */
private sensorBoxColor: number;

private showCancelRecordingScreen: boolean;
private currentlyCancelling: boolean
private yesBtn: Sprite // currentBtn = 0
private noBtn: Sprite // currentBtn = 1

constructor(app: AppInterface, sensors: Sensor[]) {
super(app, "dataRecorder")

Expand Down
2 changes: 1 addition & 1 deletion home.ts
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ namespace microdata {
((Screen.WIDTH + wordLogo.width) >> 1)
+ dy
-
microcode.font.charWidth * tagline.length,
font.charWidth * this.tagline.length,
Screen.TOP_EDGE +
OFFSET +
wordLogo.height +
Expand Down

0 comments on commit 28eb696

Please sign in to comment.