EdgeTX / edgetx-sdcard

SD Card contents and images for EdgeTX
129 stars 41 forks source link

2.5.0 SD Content? #24

Closed IJK-CZ closed 3 years ago

IJK-CZ commented 3 years ago

With current latest 2.4. themes on 2.5.RC1 does not work

pfeerick commented 3 years ago

No new content needed for 2.5 just yet. First stage of Theme support will be via Themer Lua app, which is not ready for release right now... it's so close though!

Just so you know... theme support does work... just the UI implementation is going to be done via Lua allowing it to be updated seperately to the core radio firmware, and allowing it be be tinkered with.

i.e. you could run a janky script like this and set your colours... just change the R,G,B values to suit ;)

local function run(e)
  lcd.setColor(COLOR_THEME_PRIMARY1, lcd.RGB( 255, 0, 0))
  lcd.setColor(COLOR_THEME_PRIMARY2, lcd.RGB( 0, 255, 0))
  lcd.setColor(COLOR_THEME_PRIMARY3, lcd.RGB( 0, 0, 255))
  lcd.setColor(COLOR_THEME_SECONDARY1, lcd.RGB( 255, 0, 0))
  lcd.setColor(COLOR_THEME_SECONDARY2, lcd.RGB( 0, 255, 0))
  lcd.setColor(COLOR_THEME_SECONDARY3, lcd.RGB( 0, 0, 255))
  lcd.setColor(COLOR_THEME_ACTIVE, lcd.RGB( 255, 0, 0))
  lcd.setColor(COLOR_THEME_DISABLED, lcd.RGB( 255, 0, 255))
  lcd.setColor(COLOR_THEME_EDIT, lcd.RGB( 255, 0, 0))
  lcd.setColor(COLOR_THEME_FOCUS, lcd.RGB( 0, 255, 0))
  lcd.setColor(COLOR_THEME_WARNING, lcd.RGB( 0, 0, 255))
end

return{run=run}
IJK-CZ commented 3 years ago

At current stage (2.5RC3), card content already modified, to include new themes feature. There would be fine to prepare ZIP packages for 2.5 (at least for final version).

pfeerick commented 3 years ago

Yup, that will be happening in a few minutes ;)

pfeerick commented 3 years ago

And done ;)