Files
firmware/src/graphics/niche
GeorgeandClaude Sonnet 4.6 9306e66067 fix(inkhud): scale MapApplet markers with fontSmall line height (#10288)
Marker boxes, the own-node bullseye, and the labeled-marker cross were
all hardcoded in pixels (11px box, r=8 circle, 12px cross). On the
T5S3 with a 12pt fontSmall (~17px line height) the hop-count digit
overflowed its box entirely. Sizes now derive from fontSmall.lineHeight()
so the applet renders correctly on both small (6pt) and large (12pt+)
display variants.

Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-24 21:20:39 -04:00
..
2025-11-20 06:14:29 -06:00

NicheGraphics

A pattern / collection of resources for creating custom UIs, to target small groups of devices which have specific design requirements.

For an example, see the heltec-vision-master-e290-inkhud platformio env.

  • platformio.ini

    • suppress default Meshtastic components (Screen, ButtonThread, etc)
    • define MESHTASTIC_INCLUDE_NICHE_GRAPHICS
    • (possibly) Edit build_src_filter to include our new nicheGraphics.h file
  • nicheGraphics.h

    • #include all necessary components
    • perform all setup and config inside a setupNicheGraphics() method