MiniDevil
As beautiful as a shell
Welcome effects. More...
#include "welcome_ui.h"
Include dependency graph for welcome_effects.c:Welcome effects.
Definition in file welcome_effects.c.
Functions | |
| static void | print_mystic_char (char c, int idx) |
| Print a single title character in mystic fire color. More... | |
| void | animate_title (t_welcome_term *t) |
| Animate the title appearing character by character. More... | |
| static void | print_quote_lines (t_welcome_term *t, int row) |
| Print the quote and its box borders. More... | |
| void | animate_quote (t_welcome_term *t) |
| Draw the quote inside a decorative box. More... | |
|
static |
Print a single title character in mystic fire color.
| c | Character to print |
| idx | Position index (used to select the color) |
Definition at line 21 of file welcome_effects.c.
References BOLD, C_M1, C_M2, C_M3, C_M4, and C_M5.
Referenced by animate_title().
Here is the caller graph for this function:| void animate_title | ( | t_welcome_term * | t | ) |
Animate the title appearing character by character.
| t | Terminal dimensions |
Definition at line 33 of file welcome_effects.c.
References C_AURA3, C_AURA5, t_welcome_term::center_y, ft_msleep(), print_at_pos(), print_mystic_char(), RESET, and t_welcome_term::width.
Referenced by draw_welcome().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Print the quote and its box borders.
| t | Terminal dimensions |
| row | Top row of the quote box interior |
Definition at line 62 of file welcome_effects.c.
References BOLD, C_AURA3, C_M4, C_M5, DIM, ft_msleep(), print_at_pos(), print_centered(), RESET, and t_welcome_term::width.
Referenced by animate_quote().
Here is the call graph for this function:
Here is the caller graph for this function:| void animate_quote | ( | t_welcome_term * | t | ) |
Draw the quote inside a decorative box.
| t | Terminal dimensions (to center the box) |
Definition at line 92 of file welcome_effects.c.
References C_AURA3, t_welcome_term::center_y, ft_msleep(), print_centered(), print_quote_lines(), and RESET.
Referenced by draw_welcome().
Here is the call graph for this function:
Here is the caller graph for this function: