|
Voxia OS v0.0.1
Hobby Project Operating System Targeting x86-64
|
#include <type.h>Go to the source code of this file.
Data Structures | |
| struct | pixel_t |
Macros | |
| #define | FONT_SIZE 14 |
Functions | |
| void | put_pixel (int x, int y, uint32_t color) |
| void | put_pixel_alpha (int x, int y, pixel_t src) |
| void | putc (char c, int x, int y, uint32_t fg, uint32_t bg) |
| void | putc_utf8 (const char *s, int col, int row, uint32_t fg, uint32_t bg) |
| int | utf8_char_len (uint8_t c) |
| void | put_pixel_alpha_fast (int x, int y, pixel_t src) |
| uint32_t | vxGetWidth (void) |
| uint32_t | vxGetHeight (void) |
| void | vxScroll (int px) |
| void | clear_screen (uint32_t color) |
| uint32_t | screen_cols (void) |
| uint32_t | screen_rows (void) |
| void | fill_rect (int x, int y, int w, int h, uint32_t color) |
| #define FONT_SIZE 14 |
Definition at line 26 of file graphic.h.
Referenced by do_scroll(), do_scroll(), INIT(), putc(), putc_utf8(), screen_cols(), and screen_rows().
| void clear_screen | ( | uint32_t | color | ) |
Definition at line 290 of file graphic.c.
References g__fb, and memset().
Referenced by start_tty().
| void fill_rect | ( | int | x, |
| int | y, | ||
| int | w, | ||
| int | h, | ||
| uint32_t | color ) |
| void put_pixel | ( | int | x, |
| int | y, | ||
| uint32_t | color ) |
Definition at line 192 of file graphic.c.
References pixel_t::a, pixel_t::b, pixel_t::g, g__fb, pixel_t::r, x, and y.
Referenced by __attribute__().
| void put_pixel_alpha | ( | int | x, |
| int | y, | ||
| pixel_t | src ) |
Definition at line 207 of file graphic.c.
References pixel_t::a, pixel_t::b, blend(), pixel_t::g, g__fb, PTR_ADD, pixel_t::r, x, and y.
| void put_pixel_alpha_fast | ( | int | x, |
| int | y, | ||
| pixel_t | src ) |
Definition at line 259 of file graphic.c.
References pixel_t::a, pixel_t::b, pixel_t::g, g__fb, pixel_t::r, x, and y.
Definition at line 151 of file graphic.c.
References dst, FONT_SIZE, serial2_printf(), ssfn_ctx, ssfn_ready, ssfn_render(), and str().
Referenced by put_char_raw(), and tty_check_and_flush().
Definition at line 166 of file graphic.c.
References dst, FONT_SIZE, serial2_printf(), ssfn_ctx, ssfn_ready, and ssfn_render().
Referenced by tty_check_and_flush().
| uint32_t screen_cols | ( | void | ) |
Definition at line 327 of file graphic.c.
References FONT_SIZE, and vxGetWidth().
Referenced by advance_cursor(), and configure_tty().
| uint32_t screen_rows | ( | void | ) |
Definition at line 333 of file graphic.c.
References FONT_SIZE, h, and vxGetHeight().
Referenced by advance_cursor(), configure_tty(), do_scroll(), and put_char_raw().
| int utf8_char_len | ( | uint8_t | c | ) |
Definition at line 180 of file graphic.c.
Referenced by tty_check_and_flush().
| uint32_t vxGetHeight | ( | void | ) |
Definition at line 316 of file graphic.c.
References dst.
Referenced by char_ioctl(), and screen_rows().
| uint32_t vxGetWidth | ( | void | ) |
Definition at line 315 of file graphic.c.
References dst.
Referenced by char_ioctl(), and screen_cols().
| void vxScroll | ( | int | px | ) |
Definition at line 318 of file graphic.c.
References dst, ssfn_memcpy(), and ssfn_memset().
Referenced by do_scroll(), and do_scroll().