MiniDevil As beautiful as a shell
welcome_loading.c File Reference

Loading animation. More...

#include "welcome_ui.h"
+ Include dependency graph for welcome_loading.c:

Detailed Description

Loading animation.

Definition in file welcome_loading.c.

Functions

void animate_credits (t_welcome_term *t)
 Print the credits line centered on the screen. More...
 
void animate_loading (t_welcome_term *t)
 Animate a progress bar. More...
 

Function Documentation

◆ animate_credits()

void animate_credits ( t_welcome_term t)

Print the credits line centered on the screen.

Parameters
tTerminal dimensions

Definition at line 20 of file welcome_loading.c.

References C_AURA4, C_M3, t_welcome_term::center_y, DIM, print_at_pos(), print_centered(), 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:

◆ animate_loading()

void animate_loading ( t_welcome_term t)

Animate a progress bar.

Parameters
tTerminal dimensions

Definition at line 37 of file welcome_loading.c.

References C_AURA2, C_M3, t_welcome_term::center_y, ft_msleep(), print_at_pos(), print_centered(), 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:

Go to the source code of this file.