FDOSTUI
FreeDOS Text User Interface
|
drawing routines that applies clipping More...
Go to the source code of this file.
Functions | |
void | draw_fill_area (int const i_col, int const i_row, unsigned int const i_columns, unsigned int const i_rows, screen_char_t const i_char, enum foreground const i_fcolor, enum background const i_bcolor) |
fill an area of the screen More... | |
void | draw_putc (int const i_col, int const i_row, screen_char_t const i_char, unsigned int const i_repeat_count, enum foreground const i_fcolor, enum background const i_bcolor) |
draw a character to the screen More... | |
void | draw_putvc (int const i_col, int const i_row, screen_char_t const i_char, unsigned int const i_repeat_count, enum foreground const i_fcolor, enum background const i_bcolor) |
draw a character to the screen More... | |
void | draw_puts (int const i_col, int const i_row, unsigned char const *i_string, unsigned int const i_length, enum foreground const i_fcolor, enum background const i_bcolor) |
draw a string to the screen More... | |
void | draw_frame (struct box const *const i_box, struct skin_frame const *const i_skin, enum foreground const i_fcolor, enum background const i_bcolor) |
draw a frame to the screen More... | |
drawing routines that applies clipping
void draw_fill_area | ( | int const | i_col, |
int const | i_row, | ||
unsigned int const | i_columns, | ||
unsigned int const | i_rows, | ||
screen_char_t const | i_char, | ||
enum foreground const | i_fcolor, | ||
enum background const | i_bcolor | ||
) |
fill an area of the screen
[in] | i_col | column |
[in] | i_row | row |
[in] | i_columns | number of columns |
[in] | i_rows | number of rows |
[in] | i_char | fill character |
[in] | i_fcolor | foreground color |
[in] | i_bcolor | background color |
void draw_frame | ( | struct box const *const | i_box, |
struct skin_frame const *const | i_skin, | ||
enum foreground const | i_fcolor, | ||
enum background const | i_bcolor | ||
) |
draw a frame to the screen
[in] | i_box | rectangular area to draw |
[in] | i_skin | frame properties |
[in] | i_fcolor | foreground color |
[in] | i_bcolor | background color |
void draw_putc | ( | int const | i_col, |
int const | i_row, | ||
screen_char_t const | i_char, | ||
unsigned int const | i_repeat_count, | ||
enum foreground const | i_fcolor, | ||
enum background const | i_bcolor | ||
) |
draw a character to the screen
[in] | i_col | column |
[in] | i_row | row |
[in] | i_repeat_count | number of times to repeat horizontally |
[in] | i_fcolor | foreground color |
[in] | i_bcolor | background color |
void draw_puts | ( | int const | i_col, |
int const | i_row, | ||
unsigned char const * | i_string, | ||
unsigned int const | i_length, | ||
enum foreground const | i_fcolor, | ||
enum background const | i_bcolor | ||
) |
draw a string to the screen
[in] | i_col | column |
[in] | i_row | row |
[in] | i_string | string to write |
[in] | i_length | length of string |
[in] | i_fcolor | foreground color |
[in] | i_bcolor | background color |
void draw_putvc | ( | int const | i_col, |
int const | i_row, | ||
screen_char_t const | i_char, | ||
unsigned int const | i_repeat_count, | ||
enum foreground const | i_fcolor, | ||
enum background const | i_bcolor | ||
) |
draw a character to the screen
[in] | i_col | column |
[in] | i_row | row |
[in] | i_repeat_count | number of times to repeat vertically |
[in] | i_fcolor | foreground color |
[in] | i_bcolor | background color |