diff options
author | Michael Brown | 2014-01-22 15:04:48 +0100 |
---|---|---|
committer | Michael Brown | 2014-01-22 15:28:32 +0100 |
commit | 11ad25933fce5d73f757b964a5898530eee7eceb (patch) | |
tree | 7a0a78eda1f31db4e90a9045440546bc4cfd9e01 /src/hci | |
parent | [fbcon] Allow for an arbitrary margin around the text area (diff) | |
download | ipxe-11ad25933fce5d73f757b964a5898530eee7eceb.tar.gz ipxe-11ad25933fce5d73f757b964a5898530eee7eceb.tar.xz ipxe-11ad25933fce5d73f757b964a5898530eee7eceb.zip |
[vesafb] Allow for an arbitrary margin around the text area
Allow for an arbitrary margin to be specified in the console
configuration. If the actual screen size does not match the requested
screen size, then update any margins specified so that they remain in
the same place relative to the requested screen size. If margins are
unspecified (i.e. zero), then leave them as zero.
The underlying assumption here is that any specified margins are
likely to describe an area within a background picture, and so should
remain in the same place relative to that background picture.
Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/hci')
0 files changed, 0 insertions, 0 deletions