fix: not using anymore new keyword
This commit is contained in:
parent
ebbd489d9b
commit
9b8a11d49f
3 changed files with 64 additions and 49 deletions
|
|
@ -6,42 +6,42 @@
|
|||
/* By: rparodi <rparodi@student.42.fr> +#+ +:+ +#+ */
|
||||
/* +#+#+#+#+#+ +#+ */
|
||||
/* Created: 2024/10/17 15:27:54 by rparodi #+# #+# */
|
||||
/* Updated: 2025/02/18 16:43:18 by rparodi ### ########.fr */
|
||||
/* Updated: 2024/12/23 12:36:02 by rparodi ### ########.fr */
|
||||
/* */
|
||||
/* ************************************************************************** */
|
||||
|
||||
#ifndef COLOR_HPP
|
||||
#define COLOR_HPP
|
||||
|
||||
#define RESET "\033[0m"
|
||||
#define CLR_RESET "\033[0m"
|
||||
|
||||
#define BLACK "\033[0;30m"
|
||||
#define RED "\033[0;31m"
|
||||
#define GREEN "\033[0;32m"
|
||||
#define YELLOW "\033[0;33m"
|
||||
#define BLUE "\033[0;34m"
|
||||
#define MAGENTA "\033[0;35m"
|
||||
#define CYAN "\033[0;36m"
|
||||
#define WHITE "\033[0;37m"
|
||||
#define GOLD "\033[38;5;220m"
|
||||
#define GREY "\033[38;5;240m"
|
||||
#define CLR_BLACK "\033[0;30m"
|
||||
#define CLR_RED "\033[0;31m"
|
||||
#define CLR_GREEN "\033[0;32m"
|
||||
#define CLR_YELLOW "\033[0;33m"
|
||||
#define CLR_BLUE "\033[0;34m"
|
||||
#define CLR_MAGENTA "\033[0;35m"
|
||||
#define CLR_CYAN "\033[0;36m"
|
||||
#define CLR_WHITE "\033[0;37m"
|
||||
#define CLR_GOLD "\033[38;5;220m"
|
||||
#define CLR_GREY "\033[38;5;240m"
|
||||
|
||||
#define L_BLACK "\033[0;90m"
|
||||
#define L_RED "\033[0;91m"
|
||||
#define L_GREEN "\033[0;92m"
|
||||
#define L_YELLOW "\033[0;93m"
|
||||
#define L_BLUE "\033[0;94m"
|
||||
#define L_MAGENTA "\033[0;95m"
|
||||
#define L_CYAN "\033[0;96m"
|
||||
#define L_WHITE "\033[0;97m"
|
||||
#define CLR_LIGHT_BLACK "\033[0;90m"
|
||||
#define CLR_LIGHT_RED "\033[0;91m"
|
||||
#define CLR_LIGHT_GREEN "\033[0;92m"
|
||||
#define CLR_LIGHT_YELLOW "\033[0;93m"
|
||||
#define CLR_LIGHT_BLUE "\033[0;94m"
|
||||
#define CLR_LIGHT_MAGENTA "\033[0;95m"
|
||||
#define CLR_LIGHT_CYAN "\033[0;96m"
|
||||
#define CLR_LIGHT_WHITE "\033[0;97m"
|
||||
|
||||
#define B_BLACK "\033[1;30m"
|
||||
#define B_RED "\033[1;31m"
|
||||
#define B_GREEN "\033[1;32m"
|
||||
#define B_YELLOW "\033[1;33m"
|
||||
#define B_BLUE "\033[1;34m"
|
||||
#define B_MAGENTA "\033[1;35m"
|
||||
#define B_CYAN "\033[1;36m"
|
||||
#define B_WHITE "\033[1;37m"
|
||||
#define CLR_BOLD_BLACK "\033[1;30m"
|
||||
#define CLR_BOLD_RED "\033[1;31m"
|
||||
#define CLR_BOLD_GREEN "\033[1;32m"
|
||||
#define CLR_BOLD_YELLOW "\033[1;33m"
|
||||
#define CLR_BOLD_BLUE "\033[1;34m"
|
||||
#define CLR_BOLD_MAGENTA "\033[1;35m"
|
||||
#define CLR_BOLD_CYAN "\033[1;36m"
|
||||
#define CLR_BOLD_WHITE "\033[1;37m"
|
||||
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue