libcopp  2.2.0
Public Member Functions | Static Public Attributes
print_color.HtmlColor Class Reference
Collaboration diagram for print_color.HtmlColor:
Collaboration graph

Public Member Functions

def stdout_with_color (self, options, text)
 
def stderr_with_color (self, options, text)
 

Static Public Attributes

string name = "html css"
 
dictionary COLOR_MAP
 

Detailed Description

Definition at line 175 of file print_color.py.

Member Function Documentation

◆ stderr_with_color()

def print_color.HtmlColor.stderr_with_color (   self,
  options,
  text 
)

Definition at line 212 of file print_color.py.

◆ stdout_with_color()

def print_color.HtmlColor.stdout_with_color (   self,
  options,
  text 
)

Definition at line 197 of file print_color.py.

Field Documentation

◆ COLOR_MAP

dictionary print_color.HtmlColor.COLOR_MAP
static
Initial value:
= {
print_style.FC_BLACK: "color: {0}Black;",
print_style.FC_BLUE: "color: {0}Blue;",
print_style.FC_GREEN: "color: {0}Green;",
print_style.FC_CYAN: "color: {0}Cyan;",
print_style.FC_RED: "color: {0}Red;",
print_style.FC_MAGENTA: "color: {0}Magenta;",
print_style.FC_YELLOW: "color: {0}Yellow;",
print_style.FC_WHITE: "color: {0}White;",
print_style.BC_BLACK: "background-color: {0}Black;",
print_style.BC_BLUE: "background-color: {0}Blue;",
print_style.BC_GREEN: "background-color: {0}Green;",
print_style.BC_CYAN: "background-color: {0}Cyan;",
print_style.BC_RED: "background-color: {0}Red;",
print_style.BC_MAGENTA: "background-color: {0}Magenta;",
print_style.BC_YELLOW: "background-color: {0}Yellow;",
print_style.BC_WHITE: "background-color: {0}White;",
print_style.FW_BOLD: "font-weight: bold;",
}

Definition at line 177 of file print_color.py.

◆ name

string print_color.HtmlColor.name = "html css"
static

Definition at line 176 of file print_color.py.


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