ConsoleMode.class.php

Go to the documentation of this file.
00001 <?php
00002 /***************************************************************************
00003  *   Copyright (C) 2006-2007 by Konstantin V. Arkhipov                     *
00004  *                                                                         *
00005  *   This program is free software; you can redistribute it and/or modify  *
00006  *   it under the terms of the GNU Lesser General Public License as        *
00007  *   published by the Free Software Foundation; either version 3 of the    *
00008  *   License, or (at your option) any later version.                       *
00009  *                                                                         *
00010  ***************************************************************************/
00011 /* $Id: ConsoleMode.class.php 4687 2007-12-09 18:57:18Z voxus $ */
00012 
00018     final class ConsoleMode /* extends StaticFactory */
00019     {
00020         const ATTR_RESET_ALL        = 0;
00021         const ATTR_BOLD             = 1;
00022         const ATTR_HALF_BRIGHT      = 2;
00023         const ATTR_UNDERSCORE       = 4;
00024         const ATTR_BLINK            = 5;
00025         const ATTR_REVERSE_VIDEO    = 7;
00026         
00027         // unused attributes: 10, 11, 12, 21, 22, 24, 25, 27
00028         
00029         const FG_BLACK              = 30;
00030         const FG_RED                = 31;
00031         const FG_GREEN              = 32;
00032         const FG_BROWN              = 33;
00033         const FG_BLUE               = 34;
00034         const FG_MAGENTA            = 35;
00035         const FG_CYAN               = 36;
00036         const FG_WHITE              = 37;
00037         
00038         // unused foregrounds: 38, 39
00039         
00040         const BG_BLACK              = 40;
00041         const BG_RED                = 41;
00042         const BG_GREEN              = 42;
00043         const BG_BROWN              = 43;
00044         const BG_BLUE               = 44;
00045         const BG_MAGENTA            = 45;
00046         const BG_CYAN               = 46;
00047         const BG_WHITE              = 47;
00048         
00049         // unused background: 49
00050     }
00051 ?>

Generated on Sun Dec 9 21:56:24 2007 for onPHP by  doxygen 1.5.4