mirror of
https://github.com/ipxe/ipxe
synced 2025-12-24 15:23:42 +03:00
[fbcon] Allow for an arbitrary margin around the text area
Signed-off-by: Michael Brown <mcb30@ipxe.org>
This commit is contained in:
@@ -28,6 +28,14 @@ struct console_configuration {
|
||||
unsigned int height;
|
||||
/** Colour depth */
|
||||
unsigned int bpp;
|
||||
/** Left margin */
|
||||
unsigned int left;
|
||||
/** Right margin */
|
||||
unsigned int right;
|
||||
/** Top margin */
|
||||
unsigned int top;
|
||||
/** Bottom margin */
|
||||
unsigned int bottom;
|
||||
/** Background picture, if any */
|
||||
struct pixel_buffer *pixbuf;
|
||||
};
|
||||
|
||||
@@ -145,6 +145,7 @@ struct fbcon {
|
||||
|
||||
extern int fbcon_init ( struct fbcon *fbcon, userptr_t start,
|
||||
struct fbcon_geometry *pixel,
|
||||
struct fbcon_margin *margin,
|
||||
struct fbcon_colour_map *map,
|
||||
struct fbcon_font *font,
|
||||
struct pixel_buffer *pixbuf );
|
||||
|
||||
Reference in New Issue
Block a user