MOS Source Code
Loading...
Searching...
No Matches
console_ops_t Struct Reference

#include <console.h>

Public Attributes

bool(* extra_setup )(console_t *con)
 
size_t(* write )(console_t *con, const char *data, size_t size)
 
bool(* get_size )(console_t *con, u32 *width, u32 *height)
 
bool(* set_cursor )(console_t *con, bool show)
 
bool(* move_cursor )(console_t *con, u32 x, u32 y)
 
bool(* get_cursor )(console_t *con, u32 *x, u32 *y)
 
bool(* get_color )(console_t *con, standard_color_t *fg, standard_color_t *bg)
 
bool(* set_color )(console_t *con, standard_color_t fg, standard_color_t bg)
 
bool(* clear )(console_t *con)
 

Detailed Description

Definition at line 51 of file console.h.

Member Data Documentation

◆ extra_setup

bool(* extra_setup) (console_t *con)

Definition at line 53 of file console.h.

◆ write

size_t(* write) (console_t *con, const char *data, size_t size)

Definition at line 55 of file console.h.

◆ get_size

bool(* get_size) (console_t *con, u32 *width, u32 *height)

Definition at line 57 of file console.h.

◆ set_cursor

bool(* set_cursor) (console_t *con, bool show)

Definition at line 59 of file console.h.

◆ move_cursor

bool(* move_cursor) (console_t *con, u32 x, u32 y)

Definition at line 60 of file console.h.

◆ get_cursor

bool(* get_cursor) (console_t *con, u32 *x, u32 *y)

Definition at line 61 of file console.h.

◆ get_color

bool(* get_color) (console_t *con, standard_color_t *fg, standard_color_t *bg)

Definition at line 64 of file console.h.

◆ set_color

bool(* set_color) (console_t *con, standard_color_t fg, standard_color_t bg)

Definition at line 65 of file console.h.

◆ clear

bool(* clear) (console_t *con)

Definition at line 67 of file console.h.


The documentation for this struct was generated from the following file: