Maximize OSD stats display lines based on video mode
commit00c3a5d1b41248032d79ca652c09524113f11903
authorBruce Luckcuck <github@etracer.net>
Mon, 15 Apr 2019 23:27:31 +0000 (15 19:27 -0400)
committerBruce Luckcuck <github@etracer.net>
Tue, 16 Apr 2019 00:02:07 +0000 (15 20:02 -0400)
treee438436f05888856e71cd6efdfcb2a66b28e1165
parent01e0c958101dda169c4cb327a5985ff06982a81f
Maximize OSD stats display lines based on video mode
Will dynamically determine the number of active OSD stats lines that are being displayed (accounting for user selections and #define logic) and maximize the number of stats that can be displayed based on the current video format (13 for NTSC, 16 for PAL).

If the number of stats is equal to or greater than the available display lines, the heading will be suppressed and used instead for an extra stats line.

The entire stats page will be centered vertically based on the screen size determined by the video format.
src/main/osd/osd.c