Skip to content

chore(color): replace the bitmaps in the calibration pages with generated UI - #7762

Merged
pfeerick merged 1 commit into
mainfrom
philmoz/calibration-ui
Sep 15, 2026
Merged

pfeerick merged 1 commit into
mainfrom
philmoz/calibration-ui

Conversation

@philmoz

@philmoz philmoz commented Sep 6, 2026

Copy link
Copy Markdown
Collaborator

Changes:

  • Removes the static bitmaps and use lvgl objects to create the calibration UI.
  • Increase the size of the stick UI elements.
  • Tone down the colours to make the stick position pointer more visible.

Saves ~2.3K on TX16S.

Before:
screenshot_tx16s_26-09-06_09-59-44

After:
screenshot_tx16s_26-09-06_09-55-06

@philmoz philmoz added this to the 3.0 milestone Sep 6, 2026
@philmoz philmoz added color Related generally to color LCD radios house keeping 🧹 Cleanup of code and house keeping backport/2.12 To be backported to a 2.12 release also. labels Sep 6, 2026
@pfeerick pfeerick modified the milestones: 3.0, 2.12.5 Sep 15, 2026
@pfeerick

Copy link
Copy Markdown
Member

LGTM, especially the better contrasting for the stick position and larger size. Going away from bitmaps to generated controls should also make it possible to make a more appropriate calibration screen for the colour surface radios... 😍

@pfeerick
pfeerick merged commit e066572 into main Sep 15, 2026
46 checks passed
@pfeerick
pfeerick deleted the philmoz/calibration-ui branch September 15, 2026 01:15
@pfeerick pfeerick mentioned this pull request Sep 24, 2026
55 of 56 tasks
pfeerick pushed a commit that referenced this pull request Oct 13, 2026
…ated UI (#7762)

Co-authored-by: philmoz <philmoz@users.noreply.github.com>
(cherry picked from commit e066572)

Conflicts resolved by hand for 2.12, which still uses the older bitmap
names and layout from before main's #6781 cleanup:

- radio_calibration.cpp: 2.12 includes alpha_stick_{pointer,background}.lbm,
  where main has bmp_radio_stick_*. Removed that include block, as
  upstream does.
- Upstream deletes bitmaps/<res>/bmp_radio_stick_*.png and
  img-src/bmp_radio_stick_*.svg. On 2.12 the same images are
  bitmaps/<res>/default_theme/alpha_stick_*.png and
  img-src/default_theme/alpha_stick_*.svg (picked up by the alpha_*.png
  glob in the bitmaps CMakeLists), so those are deleted instead.
- tools/convert-gfx-list.csv doesn't exist on 2.12 (added by #6781), so
  upstream's edit to it is dropped.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
pfeerick pushed a commit that referenced this pull request Oct 17, 2026
…ated UI (#7762)

Co-authored-by: philmoz <philmoz@users.noreply.github.com>
(cherry picked from commit e066572)

Conflicts resolved by hand for 2.12, which still uses the older bitmap
names and layout from before main's #6781 cleanup:

- radio_calibration.cpp: 2.12 includes alpha_stick_{pointer,background}.lbm,
  where main has bmp_radio_stick_*. Removed that include block, as
  upstream does.
- Upstream deletes bitmaps/<res>/bmp_radio_stick_*.png and
  img-src/bmp_radio_stick_*.svg. On 2.12 the same images are
  bitmaps/<res>/default_theme/alpha_stick_*.png and
  img-src/default_theme/alpha_stick_*.svg (picked up by the alpha_*.png
  glob in the bitmaps CMakeLists), so those are deleted instead.
- tools/convert-gfx-list.csv doesn't exist on 2.12 (added by #6781), so
  upstream's edit to it is dropped.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport/2.12 To be backported to a 2.12 release also. color Related generally to color LCD radios house keeping 🧹 Cleanup of code and house keeping

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants