summaryrefslogtreecommitdiff
path: root/src/modules/stars/draw.h
diff options
context:
space:
mode:
authorVito Caputo <vcaputo@pengaru.com>2023-11-30 11:50:26 -0800
committerVito Caputo <vcaputo@pengaru.com>2023-11-30 11:50:26 -0800
commit878514e85a987f267250838398d4e27e44016ec5 (patch)
tree3e46cb229c1b5f7627bdc41418e3ee0d7f479446 /src/modules/stars/draw.h
parent28d12a899645be09dae7e4cb8c293bf7fc64d6ad (diff)
til,main: introduce ratio= --video setting
First stab at supporting explicit aspect ratios. This performs the adjustment when needed in til_fb so it's automatically applied to all fb backends. The syntax is ratio=W:H with ratio=full being special cased for when no aspect ratio adjustment is desired (just use whatever the fb page dimensions are, usually specified via size= in the fb backend's settings, or display native res when fullscreen=on) For now when an aspect ratio is specified it always fits the content within the alotted space... there is no full-but-ratio-preserved-by-clipping-if-needed variant like widescreen TVs often have.
Diffstat (limited to 'src/modules/stars/draw.h')
0 files changed, 0 insertions, 0 deletions
© All Rights Reserved