libcopp  1.1.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 162 of file print_color.py.

Member Function Documentation

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

Definition at line 199 of file print_color.py.

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

Definition at line 186 of file print_color.py.

Field Documentation

dictionary print_color.HtmlColor.COLOR_MAP
static
Initial value:
1 = {
2  print_style.FC_BLACK: 'color: {0}Black;',
3  print_style.FC_BLUE: 'color: {0}Blue;',
4  print_style.FC_GREEN: 'color: {0}Green;',
5  print_style.FC_CYAN: 'color: {0}Cyan;',
6  print_style.FC_RED: 'color: {0}Red;',
7  print_style.FC_MAGENTA: 'color: {0}Magenta;',
8  print_style.FC_YELLOW: 'color: {0}Yellow;',
9  print_style.FC_WHITE: 'color: {0}White;',
10 
11  print_style.BC_BLACK: 'background-color: {0}Black;',
12  print_style.BC_BLUE: 'background-color: {0}Blue;',
13  print_style.BC_GREEN: 'background-color: {0}Green;',
14  print_style.BC_CYAN: 'background-color: {0}Cyan;',
15  print_style.BC_RED: 'background-color: {0}Red;',
16  print_style.BC_MAGENTA: 'background-color: {0}Magenta;',
17  print_style.BC_YELLOW: 'background-color: {0}Yellow;',
18  print_style.BC_WHITE: 'background-color: {0}White;',
19 
20  print_style.FW_BOLD: 'font-weight: bold;'
21  }

Definition at line 164 of file print_color.py.

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

Definition at line 163 of file print_color.py.


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