 |
PhoenixMock
1.8.7
Tools to split/merge/print mock used in Phoenix
|
Go to the documentation of this file.
7 #ifndef __STRING_COLOR_H__
8 #define __STRING_COLOR_H__
78 void printAllCol(
const std::string & strLeft,
char ch,
const std::string & strRight);
79 void printAll(
const std::string & strLeft,
char ch,
const std::string & strRight);
80 void printAllCerr(
const std::string & strLeft,
char ch,
const std::string & strRight);
81 void printAllColCerr(
const std::string & strLeft,
char ch,
const std::string & strRight);
void textColor(const char *color)
focntion qui permet de changer la couleur du texte dan le terminal
std::string termWhite()
affiche le terminal blanc
std::string termCyan()
affiche le terminal cyan
short unsigned int getNbColTerminal()
fonction qui renvoie le nombre de colonnes du terminal
std::string termBlink()
affiche le terminal clignotant
std::string termBPurple()
affiche le fond du terminal en violet
std::string termBGreen()
affiche le fond du terminal en vert
std::string termBYellow()
affiche le fond du terminal en jaune
void printColor(const std::string &str, PTerminalStyle color)
fonction qui affiche un texte coloré dans le terminal
std::string termBWhite()
affiche le fond du terminal en blanc
void printDelire(const std::string &str)
fonction qui utilise toutes les couleur du terminal pour afficher un message
std::string colorString(const std::string &str, PTerminalStyle color)
fonction qui permet de colorier du texte dans une string
void textColorCerr(const char *color)
focntion qui permet de changer la couleur du texte dan le terminal (sortie d'erreur)
std::string termBRed()
affiche le fond du terminal en rouge
std::string termBlack()
affiche le terminal noir
std::string termGreen()
affiche le terminal vert
std::string termRed()
affiche le terminal rouge
std::string termPositive()
affiche le terminal positif
std::string termBBlack()
affiche le fond du terminal en noir
void printAllCol(const std::string &strLeft, char ch, const std::string &strRight)
fonction qui écrit un texte dans la console en l'alignant à droite (prend en compte la couleur du tex...
std::string termDefault()
affiche le terminal par défaut
void printAllCerr(const std::string &strLeft, char ch, const std::string &strRight)
fonction qui écrit un texte dans la console d'erreur en l'alignant à droite (ne prend pas en compte l...
PTerminalStyle
enum qui permet de ne pas avoir à se rappeler les codes couleurs du terminal
std::string termBlue()
affiche le terminal blue
void clearTerminal()
fonction qui permet d'éffacer le terminal
void printAllColCerr(const std::string &strLeft, char ch, const std::string &strRight)
fonction qui écrit un texte dans la console d'erreur en l'alignant à droite (prend en compte la coule...
short unsigned int getNbRowTerminal()
fonction qui renvoie le nombre de lignes du terminal
void printColorCerr(const std::string &str, PTerminalStyle color)
fonction qui affiche un texte coloré dans le terminal
std::string termBCyan()
affiche le fond du terminal en cyan
std::string termYellow()
affiche le terminal jaune
void printAll(const std::string &strLeft, char ch, const std::string &strRight)
fonction qui écrit un texte dans la console en l'alignant à droite (ne prend pas en compte la couleur...
std::string termNegative()
affiche le terminal négatif
std::string termUnderlined()
affiche le terminal souligné
std::string termBright()
affiche le terminal brillant
std::string termPurple()
affiche le terminal violet
std::string termBBlue()
affiche le fond du terminal en bleu