Character output devices

Fields

_reset: *const fn (*const SimpleTextOutputProtocol, bool) callconv(cc) Status,
_output_string: *const fn (*const SimpleTextOutputProtocol, [*:0]const u16) callconv(cc) Status,
_test_string: *const fn (*const SimpleTextOutputProtocol, [*:0]const u16) callconv(cc) Status,
_query_mode: *const fn (*const SimpleTextOutputProtocol, usize, *usize, *usize) callconv(cc) Status,
_set_mode: *const fn (*const SimpleTextOutputProtocol, usize) callconv(cc) Status,
_set_attribute: *const fn (*const SimpleTextOutputProtocol, usize) callconv(cc) Status,
_clear_screen: *const fn (*const SimpleTextOutputProtocol) callconv(cc) Status,
_set_cursor_position: *const fn (*const SimpleTextOutputProtocol, usize, usize) callconv(cc) Status,
_enable_cursor: *const fn (*const SimpleTextOutputProtocol, bool) callconv(cc) Status,

Functions

fn clearScreen(self: *const SimpleTextOutputProtocol) Status

Clears the output device(s) display to the currently selected background color.

fn enableCursor(self: *const SimpleTextOutputProtocol, visible: bool) Status

Makes the cursor visible or invisible.

fn outputString(self: *const SimpleTextOutputProtocol, msg: [*:0]const u16) Status

Writes a string to the output device.

fn queryMode(self: *const SimpleTextOutputProtocol, mode_number: usize, columns: *usize, rows: *usize) Status

Returns information for an available text mode that the output device(s) support…

Returns information for an available text mode that the output device(s) supports.

fn reset(self: *const SimpleTextOutputProtocol, verify: bool) Status

Resets the text output device hardware.

fn setAttribute(self: *const SimpleTextOutputProtocol, attribute: usize) Status

Sets the background and foreground colors for the outputString() and clearScreen…

Sets the background and foreground colors for the outputString() and clearScreen() functions.

fn setCursorPosition(self: *const SimpleTextOutputProtocol, column: usize, row: usize) Status

Sets the current coordinates of the cursor position.

fn setMode(self: *const SimpleTextOutputProtocol, mode_number: usize) Status

Sets the output device(s) to a specified mode.

fn testString(self: *const SimpleTextOutputProtocol, msg: [*:0]const u16) Status

Verifies that all characters in a string can be output to the target device.

Values

arrow_down
u16
arrow_up
u16
background_black
u8
background_blue
u8
background_brown
u8
background_cyan
u8
background_green
u8
background_lightgray
u8
background_magenta
u8
background_red
u8
black
u8
blockelement_full_block
u16
blockelement_light_shade
u16
blue
u8
boxdraw_double_down_horizontal
u16
boxdraw_double_down_left
u16
boxdraw_double_down_right
u16
boxdraw_double_horizontal
u16
boxdraw_double_up_horizontal
u16
boxdraw_double_up_left
u16
boxdraw_double_up_right
u16
boxdraw_double_vertical
u16
boxdraw_double_vertical_horizontal
u16
boxdraw_double_vertical_left
u16
boxdraw_double_vertical_right
u16
boxdraw_down_double_horizontal
u16
boxdraw_down_double_left
u16
boxdraw_down_double_right
u16
boxdraw_down_horizontal
u16
boxdraw_down_horizontal_double
u16
boxdraw_down_left
u16
boxdraw_down_left_double
u16
boxdraw_down_right
u16
boxdraw_down_right_double
u16
boxdraw_horizontal
u16
boxdraw_up_double_horizontal
u16
boxdraw_up_double_left
u16
boxdraw_up_double_right
u16
boxdraw_up_horizontal
u16
boxdraw_up_horizontal_double
u16
boxdraw_up_left
u16
boxdraw_up_left_double
u16
boxdraw_up_right
u16
boxdraw_up_right_double
u16
boxdraw_vertical
u16
boxdraw_vertical_double_horizontal
u16
boxdraw_vertical_double_left
u16
boxdraw_vertical_double_right
u16
boxdraw_vertical_horizontal
u16
boxdraw_vertical_horizontal_double
u16
boxdraw_vertical_left
u16
boxdraw_vertical_left_double
u16
boxdraw_vertical_right
u16
boxdraw_vertical_right_double
u16
bright
u8
brown
u8
cyan
u8
darkgray
u8
geometricshape_down_triangle
u16
geometricshape_left_triangle
u16
geometricshape_right_triangle
u16
geometricshape_up_triangle
u16
green
u8
guid
Guid
lightblue
u8
lightcyan
u8
lightgray
u8
lightgreen
u8
lightmagenta
u8
lightred
u8
magenta
u8
red
u8
white
u8
yellow
u8