S6R : Add nice graphics by mhotar (#3831)
* Add nice graphics by mhotar * Cosmetics
This commit is contained in:
@@ -216,15 +216,16 @@ local function runCalibrationPage(event)
|
|||||||
lcd.drawText(0, 56, "Press [Enter] when ready", attr)
|
lcd.drawText(0, 56, "Press [Enter] when ready", attr)
|
||||||
else
|
else
|
||||||
lcd.drawText(0, 9, "Calibration completed", 0)
|
lcd.drawText(0, 9, "Calibration completed", 0)
|
||||||
lcd.drawText(0, 56, "Press [Enter] when ready", attr)
|
lcd.drawPixmap(10, 19, "bmp/done.bmp")
|
||||||
|
lcd.drawText(0, 56, "Press [Exit] when ready", attr)
|
||||||
end
|
end
|
||||||
if event == EVT_ENTER_BREAK then
|
if calibrationStep > 6 and (event == EVT_ENTER_BREAK or event == EVT_EXIT_BREAK) then
|
||||||
|
return 2
|
||||||
|
elseif event == EVT_ENTER_BREAK then
|
||||||
calibrationState = 1
|
calibrationState = 1
|
||||||
elseif event == EVT_EXIT_BREAK then
|
elseif event == EVT_EXIT_BREAK then
|
||||||
if calibrationStep > 0 then
|
if calibrationStep > 0 then
|
||||||
calibrationStep = 0
|
calibrationStep = 0
|
||||||
else
|
|
||||||
return 2
|
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
return 0
|
return 0
|
||||||
|
|||||||
Binary file not shown.
|
After Width: | Height: | Size: 1.1 KiB |
Reference in New Issue
Block a user