Sophie

Sophie

distrib > Mandriva > 2010.0 > i586 > media > contrib-release > by-pkgid > bad97183153701b09df5fae1052b1c30 > files > 25

crystalspace-doc-1.2.1-5mdv2010.0.i586.rpm

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
<title>Crystal Space 1.2.1: csutil/ansicommand.h Source File (Crystal Space 1.2.1 Public API Reference)</title>
<link href="tabs.css" rel="stylesheet" type="text/css">
<link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body>
<table border="0" cellpadding="0" cellspacing="0" width="100%" class="head">
 <tr height="59">
  <td class="head" width="202" valign="bottom" style="padding-left:0;"><a href="http://www.crystalspace3d.org/"><img src="csblur.png" width="236" height="59" alt="CrystalSpace" border="0"></a></td>
  <td class="head"><h2>Public API Reference</h2></td>
 </tr>
 <tr height="11">
  <td colspan="2" class="headshadow" valign="top" style="padding-left:0;"><img src="csblurb.png" width="236" height="11" alt="" border="0"></td>
 </tr>
</table>
<div class="content">
<!-- Generated by Doxygen 1.5.3 -->
<div class="tabs">
  <ul>
    <li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
    <li><a href="modules.html"><span>Modules</span></a></li>
    <li><a href="namespaces.html"><span>Namespaces</span></a></li>
    <li><a href="classes.html"><span>Classes</span></a></li>
    <li class="current"><a href="files.html"><span>Files</span></a></li>
    <li><a href="pages.html"><span>Related&nbsp;Pages</span></a></li>
  </ul>
</div>
<h1>csutil/ansicommand.h</h1><a href="ansicommand_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="comment">/*</span>
<a name="l00002"></a>00002 <span class="comment">    Copyright (C) 2005 by Jorrit Tyberghein</span>
<a name="l00003"></a>00003 <span class="comment">              (C) 2005 by Frank Richter</span>
<a name="l00004"></a>00004 <span class="comment">              (C) 2006 by Marten Svanfeldt</span>
<a name="l00005"></a>00005 <span class="comment"></span>
<a name="l00006"></a>00006 <span class="comment">    This library is free software; you can redistribute it and/or</span>
<a name="l00007"></a>00007 <span class="comment">    modify it under the terms of the GNU Library General Public</span>
<a name="l00008"></a>00008 <span class="comment">    License as published by the Free Software Foundation; either</span>
<a name="l00009"></a>00009 <span class="comment">    version 2 of the License, or (at your option) any later version.</span>
<a name="l00010"></a>00010 <span class="comment"></span>
<a name="l00011"></a>00011 <span class="comment">    This library is distributed in the hope that it will be useful,</span>
<a name="l00012"></a>00012 <span class="comment">    but WITHOUT ANY WARRANTY; without even the implied warranty of</span>
<a name="l00013"></a>00013 <span class="comment">    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU</span>
<a name="l00014"></a>00014 <span class="comment">    Library General Public License for more details.</span>
<a name="l00015"></a>00015 <span class="comment"></span>
<a name="l00016"></a>00016 <span class="comment">    You should have received a copy of the GNU Library General Public</span>
<a name="l00017"></a>00017 <span class="comment">    License along with this library; if not, write to the Free</span>
<a name="l00018"></a>00018 <span class="comment">    Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.</span>
<a name="l00019"></a>00019 <span class="comment">*/</span>
<a name="l00020"></a>00020 
<a name="l00021"></a>00021 <span class="preprocessor">#ifndef __CS_CSUTIL_ANSICOMMAND_H__</span>
<a name="l00022"></a>00022 <span class="preprocessor"></span><span class="preprocessor">#define __CS_CSUTIL_ANSICOMMAND_H__</span>
<a name="l00023"></a>00023 <span class="preprocessor"></span>
<a name="l00028"></a>00028 
<a name="l00029"></a><a class="code" href="ansicommand_8h.html#69cb7c89a638ef31a924da454cb4be7a">00029</a> <span class="preprocessor">#define CS_ANSI_RST                     "\033[0m"</span>
<a name="l00030"></a>00030 <span class="preprocessor"></span>
<a name="l00033"></a>00033 
<a name="l00034"></a><a class="code" href="ansicommand_8h.html#db754f2fe8f12b5ac7a5f7612a0ef4d6">00034</a> <span class="preprocessor">#define CS_ANSI_FK              "\033[30m"</span>
<a name="l00036"></a><a class="code" href="ansicommand_8h.html#97d23d6e77985dd92ef05cf8be652246">00036</a> <span class="preprocessor">#define CS_ANSI_FR              "\033[31m"</span>
<a name="l00038"></a><a class="code" href="ansicommand_8h.html#78632d4346d2e02f81768bc6d872c0a5">00038</a> <span class="preprocessor">#define CS_ANSI_FG              "\033[32m"</span>
<a name="l00040"></a><a class="code" href="ansicommand_8h.html#5b4258467d35b08658f984f2936a8e44">00040</a> <span class="preprocessor">#define CS_ANSI_FY              "\033[33m"</span>
<a name="l00042"></a><a class="code" href="ansicommand_8h.html#3bb1177813a83ce94a872f139965c6a1">00042</a> <span class="preprocessor">#define CS_ANSI_FB              "\033[34m"</span>
<a name="l00044"></a><a class="code" href="ansicommand_8h.html#9b9dbb8b4f15a1e9fb6d8ea1c5277ca3">00044</a> <span class="preprocessor">#define CS_ANSI_FM              "\033[35m"</span>
<a name="l00046"></a><a class="code" href="ansicommand_8h.html#7139292d1e251a1758354bfc43db867e">00046</a> <span class="preprocessor">#define CS_ANSI_FC              "\033[36m"</span>
<a name="l00048"></a><a class="code" href="ansicommand_8h.html#a9e3959cb9fcd51195aefc78ac9e6e5a">00048</a> <span class="preprocessor">#define CS_ANSI_FW              "\033[37m"</span>
<a name="l00049"></a>00049 <span class="preprocessor"></span>
<a name="l00051"></a>00051 
<a name="l00052"></a><a class="code" href="ansicommand_8h.html#5bf6f786b5c9aeb1d6d46cab7786954b">00052</a> <span class="preprocessor">#define CS_ANSI_TEXT_BOLD_ON            "\033[1m"</span>
<a name="l00054"></a><a class="code" href="ansicommand_8h.html#f06ed2091ce69e5461a58535e2ef101c">00054</a> <span class="preprocessor">#define CS_ANSI_TEXT_BOLD_OFF           "\033[22m"</span>
<a name="l00055"></a>00055 <span class="preprocessor"></span>
<a name="l00058"></a>00058 
<a name="l00059"></a><a class="code" href="ansicommand_8h.html#003a427f4c88df751d1bb05e07121837">00059</a> <span class="preprocessor">#define CS_ANSI_BK              "\033[40m"</span>
<a name="l00061"></a><a class="code" href="ansicommand_8h.html#92affa194d65619d316419859b21d905">00061</a> <span class="preprocessor">#define CS_ANSI_BR              "\033[41m"</span>
<a name="l00063"></a><a class="code" href="ansicommand_8h.html#10e971a90943413e8b04d35b45994c6b">00063</a> <span class="preprocessor">#define CS_ANSI_BG              "\033[42m"</span>
<a name="l00065"></a><a class="code" href="ansicommand_8h.html#cc2c3d6fb2a768ebfbd760ada0fd75e0">00065</a> <span class="preprocessor">#define CS_ANSI_BY              "\033[43m"</span>
<a name="l00067"></a><a class="code" href="ansicommand_8h.html#a4edf6d289a8005488deea81d2346ecf">00067</a> <span class="preprocessor">#define CS_ANSI_BB              "\033[44m"</span>
<a name="l00069"></a><a class="code" href="ansicommand_8h.html#e6dcd882ffa68bc7d3d26f62c5ce7999">00069</a> <span class="preprocessor">#define CS_ANSI_BM              "\033[45m"</span>
<a name="l00071"></a><a class="code" href="ansicommand_8h.html#92ac59727be5dcbfe0c4d80c789e076c">00071</a> <span class="preprocessor">#define CS_ANSI_BC              "\033[46m"</span>
<a name="l00073"></a><a class="code" href="ansicommand_8h.html#8d189bb9544bcd401eafae425c20c24b">00073</a> <span class="preprocessor">#define CS_ANSI_BW              "\033[47m"</span>
<a name="l00074"></a>00074 <span class="preprocessor"></span>
<a name="l00078"></a>00078 
<a name="l00079"></a><a class="code" href="ansicommand_8h.html#64a334520c3cf9125f8710fc7a4db28c">00079</a> <span class="preprocessor">#define CS_ANSI_CLEAR_SCREEN            "\033[J"</span>
<a name="l00081"></a><a class="code" href="ansicommand_8h.html#e4acc5fc7c44522bc31fc9c77fd626a2">00081</a> <span class="preprocessor">#define CS_ANSI_CLEAR_LINE              "\033[K"</span>
<a name="l00082"></a>00082 <span class="preprocessor"></span>
<a name="l00090"></a><a class="code" href="ansicommand_8h.html#11cea582016b22508083a3fb6264200f">00090</a> <span class="preprocessor">#define CS_ANSI_CURSOR(x,y)             "\033[" #y ";" #x "H"</span>
<a name="l00092"></a><a class="code" href="ansicommand_8h.html#49f936d1006f8622b894c4821820a639">00092</a> <span class="preprocessor">#define CS_ANSI_CURSOR_UP(l)            "\033[" #l "A"</span>
<a name="l00094"></a><a class="code" href="ansicommand_8h.html#a43ce50cd9f810849ddfdd368861f3d5">00094</a> <span class="preprocessor">#define CS_ANSI_CURSOR_DOWN(l)          "\033[" #l "B"</span>
<a name="l00096"></a><a class="code" href="ansicommand_8h.html#ef768172f2364870838135fbaf9fb54b">00096</a> <span class="preprocessor">#define CS_ANSI_CURSOR_FWD(c)           "\033[" #c "C"</span>
<a name="l00098"></a><a class="code" href="ansicommand_8h.html#f647c7da0821e0e8b06b2fc6fbd3b87c">00098</a> <span class="preprocessor">#define CS_ANSI_CURSOR_BWD(c)           "\033[" #c "D"</span>
<a name="l00099"></a>00099 <span class="preprocessor"></span>
<a name="l00101"></a>00101 <span class="preprocessor">#endif // __CS_CSUTIL_ANSICOLOR_H__</span>
</pre></div><hr size="1"><address><small>Generated for Crystal Space 1.2.1 by 
<a href="http://www.doxygen.org/index.html">doxygen</a> 1.5.3 
</small></address> </div></body> </html>