horus wizard, image adjustments
This commit is contained in:
Binary file not shown.
|
Before Width: | Height: | Size: 6.0 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 6.1 KiB |
Executable → Regular
BIN
Binary file not shown.
|
Before Width: | Height: | Size: 18 KiB After Width: | Height: | Size: 26 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 16 KiB |
@@ -123,19 +123,16 @@ local MotorFields = {
|
|||||||
{50, 127, COMBO, 1, 2, { "CH1", "CH2", "CH3", "CH4", "CH5", "CH6", "CH7", "CH8" } },
|
{50, 127, COMBO, 1, 2, { "CH1", "CH2", "CH3", "CH4", "CH5", "CH6", "CH7", "CH8" } },
|
||||||
}
|
}
|
||||||
|
|
||||||
local ImgEngineEl
|
local ImgEngine
|
||||||
local ImgEngineCom
|
|
||||||
|
|
||||||
local function runMotorConfig(event)
|
local function runMotorConfig(event)
|
||||||
lcd.clear()
|
lcd.clear()
|
||||||
if ImgEngineEl == nil then
|
if ImgEngine == nil then
|
||||||
ImgEngineEl = Bitmap.open("img/eng_electric.png")
|
ImgEngine = Bitmap.open("img/prop.png")
|
||||||
ImgEngineCom = Bitmap.open("img/eng_comb.png")
|
|
||||||
end
|
end
|
||||||
lcd.drawBitmap(BackgroundImg, 0, 0)
|
lcd.drawBitmap(BackgroundImg, 0, 0)
|
||||||
lcd.drawBitmap(ImgPageDn, 455, 95)
|
lcd.drawBitmap(ImgPageDn, 455, 95)
|
||||||
lcd.drawBitmap(ImgEngineEl, 310, 50)
|
lcd.drawBitmap(ImgEngine, 310, 50)
|
||||||
lcd.drawBitmap(ImgEngineCom, 180, 150)
|
|
||||||
lcd.setColor(CUSTOM_COLOR, lcd.RGB(255, 255, 255))
|
lcd.setColor(CUSTOM_COLOR, lcd.RGB(255, 255, 255))
|
||||||
fields = MotorFields
|
fields = MotorFields
|
||||||
lcd.drawText(40, 20, "Does your model have a motor ?", TEXT_COLOR)
|
lcd.drawText(40, 20, "Does your model have a motor ?", TEXT_COLOR)
|
||||||
|
|||||||
Reference in New Issue
Block a user