Commit Graph

17 Commits

Author SHA1 Message Date
Andrew Tridgell a2d86eac6d AP_OSD: allow for loading fonts from sdcard
user can put fontN.bin on their sdcard and it will replace the font in
romfs. This makes for easy font development, and allows for multiple
languages

This replaces #15668
2020-11-18 09:11:36 +11:00
Andrew Tridgell c4d78a7d8c AP_OSD: fixes for modified AP_ROMFS API
need to use AP_ROMFS::free()
2019-10-24 22:03:43 +11:00
Peter Barker 32a6f0026a AP_OSD: add mutex against maniplating sf windows from different threads 2019-05-21 09:21:56 +10:00
Andrew Tridgell b3b59c7298 AP_OSD: removed unusued AP_Common/Semaphore.h 2019-05-15 15:33:48 +10:00
Peter Barker 41b6f30450 AP_OSD: add include for WITH_SEMAPHORE 2018-10-22 11:15:47 +11:00
Andrew Tridgell 17049ff5f5 AP_OSD: use WITH_SEMAPHORE()
and removed usage of hal.util->new_semaphore()
2018-10-17 12:54:22 +11:00
Alexander Malishev 785cf293cd AP_OSD: use software blink
This should fix blink issue with some hardware
2018-07-12 15:04:32 +10:00
Alexander Malishev ac71a181d6 AP_OSD: refactoring based on review suggestions 2018-07-10 08:52:02 +10:00
Andrew Tridgell 6eb00b92fd AP_OSD: don't panic on bad font num in SITL 2018-07-10 07:21:20 +10:00
Andrew Tridgell 52a8198311 AP_OSD: added font switching at runtime for SITL 2018-07-09 20:48:59 +10:00
Andrew Tridgell 6347de2b89 AP_OSD: added OSD_FONT parameter
allow for user selection of font
2018-07-09 19:41:56 +10:00
Andrew Tridgell 4055f28bc5 AP_OSD: use font*.bin as font name 2018-07-09 19:41:56 +10:00
Andrew Tridgell aa205d0537 AP_OSD: use compressed font file 2018-07-09 19:41:56 +10:00
Andrew Tridgell ba1a611ea9 AP_OSD: fixed CPU usage in SITL thread 2018-07-07 13:09:52 +10:00
Andrew Tridgell 9df4be7f49 AP_OSD: added blink for SITL backend 2018-07-04 20:53:25 +10:00
Andrew Tridgell 7d4a6795d8 AP_OSD: use a thread for SITL OSD
this allows for window scaling and should fix ubuntu 18 warning
2018-07-04 20:53:25 +10:00
Andrew Tridgell 35192a6162 AP_OSD: added SITL OSD backend 2018-07-01 21:21:28 +10:00