admin_server::Colour Class Reference

List of all members.

Public Member Functions

def __init__
def green
def red
def bold
def teal
def turquoise
def fuscia
def purple
def darkred
def darkblue
def blue
def darkgreen
def yellow
def brown

Static Public Attributes

dictionary color

Detailed Description

This class uses the ANSI escape sequences to color the output !

Definition at line 38 of file admin_server.py.


Member Function Documentation

def admin_server::Colour::__init__   self  ) 
 

Constructor 

Definition at line 55 of file admin_server.py.

def admin_server::Colour::blue   self,
  text
 

dye blue

Definition at line 115 of file admin_server.py.

def admin_server::Colour::bold   self,
  text
 

dye bold

Definition at line 73 of file admin_server.py.

def admin_server::Colour::brown   self,
  text
 

dye brown

Definition at line 133 of file admin_server.py.

def admin_server::Colour::darkblue   self,
  text
 

dye darkblue

Definition at line 109 of file admin_server.py.

def admin_server::Colour::darkgreen   self,
  text
 

dye darkgreen

Definition at line 121 of file admin_server.py.

def admin_server::Colour::darkred   self,
  text
 

dye darkred

Definition at line 103 of file admin_server.py.

def admin_server::Colour::fuscia   self,
  text
 

dye fuscia

Definition at line 91 of file admin_server.py.

def admin_server::Colour::green   self,
  text
 

dye green

Definition at line 61 of file admin_server.py.

def admin_server::Colour::purple   self,
  text
 

dye purple

Definition at line 97 of file admin_server.py.

def admin_server::Colour::red   self,
  text
 

dye red

Definition at line 67 of file admin_server.py.

def admin_server::Colour::teal   self,
  text
 

dye teal

Definition at line 79 of file admin_server.py.

def admin_server::Colour::turquoise   self,
  text
 

dye turquoise

Definition at line 85 of file admin_server.py.

def admin_server::Colour::yellow   self,
  text
 

dye yellow

Definition at line 127 of file admin_server.py.


Member Data Documentation

dictionary admin_server::Colour::color [static]
 

Initial value:

{"reset":"\x1b[0m",
            "bold":"\x1b[01m",
            "teal":"\x1b[36;06m",
            "turquoise":"\x1b[36;01m",
            "fuscia":"\x1b[35;01m",
            "purple":"\x1b[35;06m",
            "blue":"\x1b[34;01m",
            "darkblue":"\x1b[34;06m",
            "green":"\x1b[32;01m",
            "darkgreen":"\x1b[32;06m",
            "yellow":"\x1b[33;01m",
            "brown":"\x1b[33;06m",
            "red":"\x1b[31;01m",
            "darkred":"\x1b[31;06m"}

Definition at line 40 of file admin_server.py.


The documentation for this class was generated from the following file:
Generated on Sun Mar 5 18:09:13 2006 for Remote Controller by  doxygen 1.4.6-NO