Home About us GitHub Contact us Docs

FoxOS

Welcome to the FoxOS website!

font_renderer::font_renderer

Signature: font_renderer::font_renderer(framebuffer_t* target_frame_buffer, psf1_font_t* font)
Attributes: undefined
Description: Constructor for the class

Parameters:

font_renderer::putchar

Signature: void font_renderer::putchar(char c)
Description: Writes a character to the screen

Parameters:

Return: void

font_renderer::putstring

Signature: void font_renderer::putstring(const char *str)
Description: Writes a string to the screen

Parameters:

Return: void

font_renderer::clear

Signature: void font_renderer::clear(uint32_t c_color)
Description: Clears the screen

Parameters:

Return: void

font_renderer::clear_line

Signature: void font_renderer::clear_line()
Description: Clears the current line

Return: void

font_renderer::set_color

Signature: void font_renderer::set_color(uint32_t new_color)
Description: Sets the color of the font renderer

Parameters:

Return: void

font_renderer::reset_color

Signature: void font_renderer::reset_color()
Description: Resets the color of the font renderer

Return: void

font_renderer::get_name

Signature: char* font_renderer::get_name()
Description: Gets the name of the dev fs file

Return: char*

font_renderer::write

Signature: void font_renderer::write(fs::file_t* file, void* buffer, size_t size, size_t offset)
Description: Handler for the font_renderer dev fs file

Parameters:

Return: void

Show file on GitHub