Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
927528e
shell script to update all PNG for color LCD radios
JimB40 Nov 5, 2025
b365ef9
add generated CSV file
JimB40 Nov 5, 2025
a51d935
code cleanup
JimB40 Nov 5, 2025
23c7c71
Main change & clean up
JimB40 Nov 10, 2025
592e907
PNG & script
JimB40 Nov 10, 2025
dae9129
Radio Analogs PNG fix
JimB40 Nov 10, 2025
2240554
Delete update-csv-dates
JimB40 Nov 10, 2025
512f10e
Delete unused PNG
JimB40 Nov 24, 2025
61f2c1f
Delete unused SVG
JimB40 Nov 24, 2025
0766410
chore: remove old files
pfeerick Jan 7, 2026
550b02d
chore: run `--update` and `--build`
pfeerick Jan 7, 2026
a70c878
revert: "chore: remove old files"
pfeerick Jan 13, 2026
c523e48
chore: change from shell script to Python
pfeerick Jan 13, 2026
ab20460
chore: add .DS_Store to .gitignore
pfeerick Jan 13, 2026
d85b171
feat: implement CSV regeneration for SVGs and PNGs in convert-gfx.py
pfeerick Jan 13, 2026
faf90b3
feat: update validation process for SVG and PNG files, update some PNGs
pfeerick Jan 13, 2026
6ed8515
feat: logging and progress indication
pfeerick Jan 13, 2026
44204d1
feat: add dry-run option and orphaned PNG
pfeerick Jan 13, 2026
bc501dd
refactor: argument parsing with argparse
pfeerick Jan 13, 2026
90cfe7d
fix: format CSV as CSV, not SSV
pfeerick Jan 13, 2026
38d0832
feat: add dependency check for required packages
pfeerick Jan 13, 2026
7082dcb
chore: remove old png_radio_fw
pfeerick Jan 13, 2026
03cde5f
fix: check for orphaned PNG files when validating and improve console…
pfeerick Jan 13, 2026
107f71b
feat: enhance cleanup functionality to remove unreferenced SVG files
pfeerick Jan 13, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,4 @@ compile_commands.json
/.idea
/.vs
CMakeUserPresets.json
.DS_Store
15 changes: 2 additions & 13 deletions radio/src/bitmaps/320x240/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,23 +2,12 @@ set(BITMAP_SIZE_ARGS --size-format 2)
set(BITMAP_LZ4_ARGS ${BITMAP_SIZE_ARGS} --lz4)
set(MASK_LZ4_ARGS ${BITMAP_SIZE_ARGS} --lz4)

add_bitmaps_target(bm320_splash_logo "${RADIO_SRC_DIR}/bitmaps/320x240/splash_logo.png" "4/4/4/4" "${BITMAP_LZ4_ARGS}")
add_bitmaps_target(bm320_bmps "${RADIO_SRC_DIR}/bitmaps/320x240/bmp_*.png" "4/4/4/4" "${BITMAP_LZ4_ARGS}")
add_bitmaps_target(bm320_masks "${RADIO_SRC_DIR}/bitmaps/320x240/mask_*.png" 8bits "${MASK_LZ4_ARGS}")
add_bitmaps_target(bm320_slider_masks "${RADIO_SRC_DIR}/bitmaps/320x240/slider/*.png" 8bits "${MASK_LZ4_ARGS}")
add_bitmaps_target(bm320_volume_masks ${RADIO_SRC_DIR}/bitmaps/320x240/volume/*.png 8bits "${MASK_LZ4_ARGS}")
add_bitmaps_target(bm320_themes_masks "${RADIO_SRC_DIR}/bitmaps/320x240/default_theme/mask_*.png" 8bits "${MASK_LZ4_ARGS}")
add_bitmaps_target(bm320_themes_alpha "${RADIO_SRC_DIR}/bitmaps/320x240/default_theme/alpha_*.png" "4/4/4/4" "${BITMAP_LZ4_ARGS}")

add_bitmaps_target(bm320_bootloader_bitmaps "${RADIO_SRC_DIR}/bitmaps/320x240/bootloader/bmp_*.png" "4/4/4/4" "${BITMAP_LZ4_ARGS}")

add_custom_target(bm320_bitmaps)

add_dependencies(bm320_bitmaps
bm320_splash_logo
bm320_bmps
bm320_masks
bm320_slider_masks
bm320_themes_masks
bm320_themes_alpha
bm320_volume_masks
bm320_bootloader_bitmaps
)
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed radio/src/bitmaps/320x240/default_theme/mask_edgetx.png
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Binary file removed radio/src/bitmaps/320x240/default_theme/mask_trim.png
Diff not rendered.
Diff not rendered.
Binary file removed radio/src/bitmaps/320x240/mask_antenna.png
Diff not rendered.
Binary file removed radio/src/bitmaps/320x240/mask_dot.png
Diff not rendered.
Binary file added radio/src/bitmaps/320x240/mask_icon_edgetx.png
Binary file added radio/src/bitmaps/320x240/mask_icon_menu_favs.png
Binary file added radio/src/bitmaps/320x240/mask_icon_menu_tools.png
Binary file added radio/src/bitmaps/320x240/mask_icon_model_curves.png
Binary file added radio/src/bitmaps/320x240/mask_icon_model_general.png
Binary file added radio/src/bitmaps/320x240/mask_icon_model_gvars.png
Binary file added radio/src/bitmaps/320x240/mask_icon_model_heli.png
Binary file added radio/src/bitmaps/320x240/mask_icon_model_inputs.png
Binary file added radio/src/bitmaps/320x240/mask_icon_model_mixer.png
Binary file added radio/src/bitmaps/320x240/mask_icon_model_notes.png
Binary file added radio/src/bitmaps/320x240/mask_icon_model_timers.png
Binary file added radio/src/bitmaps/320x240/mask_icon_model_usb.png
Binary file added radio/src/bitmaps/320x240/mask_icon_radio_about.png
Binary file added radio/src/bitmaps/320x240/mask_icon_tools_apps.png
Binary file added radio/src/bitmaps/320x240/mask_icon_tools_debug.png
Binary file added radio/src/bitmaps/320x240/mask_icon_tools_reset.png
Binary file added radio/src/bitmaps/320x240/mask_icon_tools_stats.png
Binary file added radio/src/bitmaps/320x240/mask_icon_ui_themes.png
Binary file added radio/src/bitmaps/320x240/mask_icon_ui_view1.png
Binary file added radio/src/bitmaps/320x240/mask_icon_ui_view10.png
Binary file added radio/src/bitmaps/320x240/mask_icon_ui_view2.png
Binary file added radio/src/bitmaps/320x240/mask_icon_ui_view3.png
Binary file added radio/src/bitmaps/320x240/mask_icon_ui_view4.png
Binary file added radio/src/bitmaps/320x240/mask_icon_ui_view5.png
Binary file added radio/src/bitmaps/320x240/mask_icon_ui_view6.png
Binary file added radio/src/bitmaps/320x240/mask_icon_ui_view7.png
Binary file added radio/src/bitmaps/320x240/mask_icon_ui_view8.png
Binary file added radio/src/bitmaps/320x240/mask_icon_ui_view9.png
Binary file added radio/src/bitmaps/320x240/mask_icon_ui_view_add.png
Binary file added radio/src/bitmaps/320x240/mask_info_busy.png
Binary file added radio/src/bitmaps/320x240/mask_info_error.png
Binary file added radio/src/bitmaps/320x240/mask_info_shutdown.png
Binary file added radio/src/bitmaps/320x240/mask_inline_add.png
Binary file added radio/src/bitmaps/320x240/mask_inline_curve.png
Binary file added radio/src/bitmaps/320x240/mask_inline_dot.png
Binary file added radio/src/bitmaps/320x240/mask_inline_fm.png
Binary file added radio/src/bitmaps/320x240/mask_inline_inverted.png
Binary file added radio/src/bitmaps/320x240/mask_inline_locked.png
Binary file added radio/src/bitmaps/320x240/mask_inline_multiply.png
Binary file added radio/src/bitmaps/320x240/mask_inline_replace.png
Binary file added radio/src/bitmaps/320x240/mask_menu_edgetx.png
Binary file added radio/src/bitmaps/320x240/mask_menu_favs.png
Binary file removed radio/src/bitmaps/320x240/mask_round_title_left.png
Diff not rendered.
Binary file removed radio/src/bitmaps/320x240/mask_round_title_right.png
Diff not rendered.
Binary file removed radio/src/bitmaps/320x240/mask_shutdown_circle0.png
Diff not rendered.
Binary file removed radio/src/bitmaps/320x240/mask_shutdown_circle1.png
Diff not rendered.
Binary file removed radio/src/bitmaps/320x240/mask_shutdown_circle2.png
Diff not rendered.
Binary file removed radio/src/bitmaps/320x240/mask_shutdown_circle3.png
Diff not rendered.
Binary file removed radio/src/bitmaps/320x240/mask_timer.png
Diff not rendered.
Binary file removed radio/src/bitmaps/320x240/mask_timer_bg.png
Diff not rendered.
Binary file removed radio/src/bitmaps/320x240/mask_topmenu_gps_18.png
Diff not rendered.
Binary file removed radio/src/bitmaps/320x240/mask_txbat.png
Diff not rendered.
Binary file removed radio/src/bitmaps/320x240/mask_txbat_charging.png
Diff not rendered.
Binary file added radio/src/bitmaps/320x240/mask_ui_bg_topbar_left.png
Binary file added radio/src/bitmaps/320x240/mask_ui_btn_close.png
Binary file added radio/src/bitmaps/320x240/mask_ui_btn_grid_large.png
Binary file added radio/src/bitmaps/320x240/mask_ui_btn_grid_small.png
Binary file added radio/src/bitmaps/320x240/mask_ui_btn_list_one.png
Binary file added radio/src/bitmaps/320x240/mask_ui_btn_list_two.png
Binary file added radio/src/bitmaps/320x240/mask_ui_btn_next.png
Binary file added radio/src/bitmaps/320x240/mask_ui_btn_prev.png
Binary file removed radio/src/bitmaps/320x240/mask_usb_symbol.png
Diff not rendered.
Binary file added radio/src/bitmaps/320x240/mask_widget_antenna.png
Binary file added radio/src/bitmaps/320x240/mask_widget_gps.png
Binary file added radio/src/bitmaps/320x240/mask_widget_timer.png
Binary file added radio/src/bitmaps/320x240/mask_widget_trim.png
Binary file added radio/src/bitmaps/320x240/mask_widget_txbat.png
Binary file added radio/src/bitmaps/320x240/mask_widget_volume0.png
Binary file added radio/src/bitmaps/320x240/mask_widget_volume1.png
Binary file added radio/src/bitmaps/320x240/mask_widget_volume2.png
Binary file added radio/src/bitmaps/320x240/mask_widget_volume3.png
Binary file added radio/src/bitmaps/320x240/mask_widget_volume4.png
Binary file removed radio/src/bitmaps/320x240/splash_logo.png
Diff not rendered.
Binary file removed radio/src/bitmaps/320x240/volume/mask_volume_0.png
Diff not rendered.
Binary file removed radio/src/bitmaps/320x240/volume/mask_volume_1.png
Diff not rendered.
Binary file removed radio/src/bitmaps/320x240/volume/mask_volume_2.png
Diff not rendered.
Binary file removed radio/src/bitmaps/320x240/volume/mask_volume_3.png
Diff not rendered.
Binary file removed radio/src/bitmaps/320x240/volume/mask_volume_4.png
Diff not rendered.
Binary file removed radio/src/bitmaps/320x240/volume/mask_volume_scale.png
Diff not rendered.
15 changes: 2 additions & 13 deletions radio/src/bitmaps/480x272/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,23 +2,12 @@ set(BITMAP_SIZE_ARGS --size-format 2)
set(BITMAP_LZ4_ARGS ${BITMAP_SIZE_ARGS} --lz4)
set(MASK_LZ4_ARGS ${BITMAP_SIZE_ARGS} --lz4)

add_bitmaps_target(bm480_splash_logo "${RADIO_SRC_DIR}/bitmaps/480x272/splash_logo.png" "4/4/4/4" "${BITMAP_LZ4_ARGS}")
add_bitmaps_target(bm480_bmps "${RADIO_SRC_DIR}/bitmaps/480x272/bmp_*.png" "4/4/4/4" "${BITMAP_LZ4_ARGS}")
add_bitmaps_target(bm480_masks "${RADIO_SRC_DIR}/bitmaps/480x272/mask_*.png" 8bits "${MASK_LZ4_ARGS}")
add_bitmaps_target(bm480_slider_masks "${RADIO_SRC_DIR}/bitmaps/480x272/slider/*.png" 8bits "${MASK_LZ4_ARGS}")
add_bitmaps_target(bm480_volume_masks ${RADIO_SRC_DIR}/bitmaps/480x272/volume/*.png 8bits "${MASK_LZ4_ARGS}")
add_bitmaps_target(bm480_themes_masks "${RADIO_SRC_DIR}/bitmaps/480x272/default_theme/mask_*.png" 8bits "${MASK_LZ4_ARGS}")
add_bitmaps_target(bm480_themes_alpha "${RADIO_SRC_DIR}/bitmaps/480x272/default_theme/alpha_*.png" "4/4/4/4" "${BITMAP_LZ4_ARGS}")

add_bitmaps_target(bm480_bootloader_bitmaps "${RADIO_SRC_DIR}/bitmaps/480x272/bootloader/bmp_*.png" "4/4/4/4" "${BITMAP_LZ4_ARGS}")

add_custom_target(bm480_bitmaps)

add_dependencies(bm480_bitmaps
bm480_splash_logo
bm480_bmps
bm480_masks
bm480_slider_masks
bm480_themes_masks
bm480_themes_alpha
bm480_volume_masks
bm480_bootloader_bitmaps
)
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Binary file removed radio/src/bitmaps/480x272/default_theme/mask_trim.png
Diff not rendered.
Diff not rendered.
Binary file removed radio/src/bitmaps/480x272/mask_antenna.png
Diff not rendered.
Binary file removed radio/src/bitmaps/480x272/mask_dot.png
Diff not rendered.
Binary file added radio/src/bitmaps/480x272/mask_icon_menu_favs.png
Binary file added radio/src/bitmaps/480x272/mask_icon_menu_tools.png
Binary file added radio/src/bitmaps/480x272/mask_icon_model_curves.png
Binary file added radio/src/bitmaps/480x272/mask_icon_model_gvars.png
Binary file added radio/src/bitmaps/480x272/mask_icon_model_heli.png
Binary file added radio/src/bitmaps/480x272/mask_icon_model_inputs.png
Binary file added radio/src/bitmaps/480x272/mask_icon_model_notes.png
Binary file added radio/src/bitmaps/480x272/mask_icon_model_outputs.png
Loading