procfetch  0.3.0
A command-line system information utility written in C++
Public Member Functions | List of all members
Crayon Class Reference

#include <fetch.h>

Public Member Functions

 Crayon ()
 
Crayon bright ()
 
Crayon underscore ()
 
Crayon color (string color)
 
Crayon red ()
 
Crayon green ()
 
Crayon yellow ()
 
string text (string s)
 

Detailed Description

String Styling for terminal.

Constructor & Destructor Documentation

◆ Crayon()

Crayon::Crayon ( )
inline

default constructor

Member Function Documentation

◆ bright()

Crayon Crayon::bright ( )
inline

set bright mode

◆ color()

Crayon Crayon::color ( string  color)
inline

set color

Parameters
color

◆ green()

Crayon Crayon::green ( )
inline

set color green

◆ red()

Crayon Crayon::red ( )
inline

set color red

◆ text()

string Crayon::text ( string  s)
inline
Parameters
s
Returns
styled text

◆ underscore()

Crayon Crayon::underscore ( )
inline

set underscore mode

◆ yellow()

Crayon Crayon::yellow ( )
inline

set color yellow


The documentation for this class was generated from the following file: