S6R : Add nice graphics by mhotar (#3831)

* Add nice graphics by mhotar

* Cosmetics
This commit is contained in:
3djc
2016-09-19 20:58:26 +02:00
committed by Bertrand Songis
parent d12015e91d
commit 9b6217e1c3
2 changed files with 5 additions and 4 deletions
@@ -216,15 +216,16 @@ local function runCalibrationPage(event)
lcd.drawText(0, 56, "Press [Enter] when ready", attr)
else
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
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
elseif event == EVT_EXIT_BREAK then
if calibrationStep > 0 then
calibrationStep = 0
else
return 2
end
end
return 0
Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB