<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> <title>The Gnome Chemistry Utils: gccv::ForegroundTextTag Class Reference</title> <link href="tabs.css" rel="stylesheet" type="text/css"/> <link href="doxygen.css" rel="stylesheet" type="text/css"/> </head> <body> <!-- Generated by Doxygen 1.7.4 --> <div id="top"> <div id="titlearea"> <table cellspacing="0" cellpadding="0"> <tbody> <tr style="height: 56px;"> <td style="padding-left: 0.5em;"> <div id="projectname">The Gnome Chemistry Utils <span id="projectnumber">0.13.5</span></div> </td> </tr> </tbody> </table> </div> <div id="navrow1" class="tabs"> <ul class="tablist"> <li><a href="index.html"><span>Main Page</span></a></li> <li><a href="namespaces.html"><span>Namespaces</span></a></li> <li class="current"><a href="annotated.html"><span>Classes</span></a></li> <li><a href="files.html"><span>Files</span></a></li> <li><a href="dirs.html"><span>Directories</span></a></li> </ul> </div> <div id="navrow2" class="tabs2"> <ul class="tablist"> <li><a href="annotated.html"><span>Class List</span></a></li> <li><a href="classes.html"><span>Class Index</span></a></li> <li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li> <li><a href="functions.html"><span>Class Members</span></a></li> </ul> </div> <div id="nav-path" class="navpath"> <ul> <li class="navelem"><a class="el" href="namespacegccv.html">gccv</a> </li> <li class="navelem"><a class="el" href="classgccv_1_1ForegroundTextTag.html">ForegroundTextTag</a> </li> </ul> </div> </div> <div class="header"> <div class="summary"> <a href="#pub-methods">Public Member Functions</a> </div> <div class="headertitle"> <div class="title">gccv::ForegroundTextTag Class Reference</div> </div> </div> <div class="contents"> <!-- doxytag: class="gccv::ForegroundTextTag" --><!-- doxytag: inherits="gccv::TextTag" --> <p>Foreground color. <a href="classgccv_1_1ForegroundTextTag.html#details">More...</a></p> <p><code>#include <<a class="el" href="text-tag_8h_source.html">text-tag.h</a>></code></p> <div class="dynheader"> Inheritance diagram for gccv::ForegroundTextTag:</div> <div class="dyncontent"> <div class="center"> <img src="classgccv_1_1ForegroundTextTag.png" usemap="#gccv::ForegroundTextTag_map" alt=""/> <map id="gccv::ForegroundTextTag_map" name="gccv::ForegroundTextTag_map"> <area href="classgccv_1_1TextTag.html" title="class for text attributes" alt="gccv::TextTag" shape="rect" coords="0,0,157,24"/> </map> </div></div> <p><a href="classgccv_1_1ForegroundTextTag-members.html">List of all members.</a></p> <table class="memberdecls"> <tr><td colspan="2"><h2><a name="pub-methods"></a> Public Member Functions</h2></td></tr> <tr><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classgccv_1_1ForegroundTextTag.html#a508210ec02dad1ec0ac6f3bad2c03b06">ForegroundTextTag</a> (GOColor color)</td></tr> <tr><td class="memItemLeft" align="right" valign="top">virtual </td><td class="memItemRight" valign="bottom"><a class="el" href="classgccv_1_1ForegroundTextTag.html#ad81e2eb57d89268988a5148a73d756da">~ForegroundTextTag</a> ()</td></tr> <tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classgccv_1_1ForegroundTextTag.html#aafa369dc1d50de4706ffde799139bff1">Filter</a> (PangoAttrList *l, unsigned start, unsigned end)</td></tr> <tr><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classgccv_1_1ForegroundTextTag.html#a249a54dba1f8dbde39d8b4257ba5fe6d">operator==</a> (<a class="el" href="classgccv_1_1TextTag.html">TextTag</a> const &tag) const </td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classgccv_1_1TextTag.html">TextTag</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classgccv_1_1ForegroundTextTag.html#abb7c90091b1079ea719be926e3ace188">Duplicate</a> () const </td></tr> <tr><td class="memItemLeft" align="right" valign="top">GOColor </td><td class="memItemRight" valign="bottom"><a class="el" href="classgccv_1_1ForegroundTextTag.html#ab891735973f05070fef33e6e6e2efea9">GetColor</a> () const </td></tr> </table> <hr/><a name="details" id="details"></a><h2>Detailed Description</h2> <div class="textblock"><p>Foreground color. </p> <p><a class="el" href="classgccv_1_1TextTag.html" title="class for text attributes">TextTag</a> class for text color. </p> <p>Definition at line <a class="el" href="text-tag_8h_source.html#l00717">717</a> of file <a class="el" href="text-tag_8h_source.html">text-tag.h</a>.</p> </div><hr/><h2>Constructor & Destructor Documentation</h2> <a class="anchor" id="a508210ec02dad1ec0ac6f3bad2c03b06"></a><!-- doxytag: member="gccv::ForegroundTextTag::ForegroundTextTag" ref="a508210ec02dad1ec0ac6f3bad2c03b06" args="(GOColor color)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">gccv::ForegroundTextTag::ForegroundTextTag </td> <td>(</td> <td class="paramtype">GOColor </td> <td class="paramname"><em>color</em></td><td>)</td> <td></td> </tr> </table> </div> <div class="memdoc"> <dl><dt><b>Parameters:</b></dt><dd> <table class="params"> <tr><td class="paramname">color</td><td>the text color.</td></tr> </table> </dd> </dl> <p>Constructs a <a class="el" href="classgccv_1_1ForegroundTextTag.html" title="Foreground color.">ForegroundTextTag</a> with <em>color</em> as text color. </p> </div> </div> <a class="anchor" id="ad81e2eb57d89268988a5148a73d756da"></a><!-- doxytag: member="gccv::ForegroundTextTag::~ForegroundTextTag" ref="ad81e2eb57d89268988a5148a73d756da" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">virtual gccv::ForegroundTextTag::~ForegroundTextTag </td> <td>(</td> <td class="paramname"></td><td>)</td> <td><code> [virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p>The destructor. </p> </div> </div> <hr/><h2>Member Function Documentation</h2> <a class="anchor" id="abb7c90091b1079ea719be926e3ace188"></a><!-- doxytag: member="gccv::ForegroundTextTag::Duplicate" ref="abb7c90091b1079ea719be926e3ace188" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="classgccv_1_1TextTag.html">TextTag</a>* gccv::ForegroundTextTag::Duplicate </td> <td>(</td> <td class="paramname"></td><td>)</td> <td> const<code> [virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Creates a copy of the <a class="el" href="classgccv_1_1ForegroundTextTag.html" title="Foreground color.">ForegroundTextTag</a> with the same text color. </p> <dl class="return"><dt><b>Returns:</b></dt><dd>the new <a class="el" href="classgccv_1_1TextTag.html" title="class for text attributes">TextTag</a>. </dd></dl> <p>Implements <a class="el" href="classgccv_1_1TextTag.html#a9c9ef529db3aab6d479cbe57378c88f7">gccv::TextTag</a>.</p> </div> </div> <a class="anchor" id="aafa369dc1d50de4706ffde799139bff1"></a><!-- doxytag: member="gccv::ForegroundTextTag::Filter" ref="aafa369dc1d50de4706ffde799139bff1" args="(PangoAttrList *l, unsigned start, unsigned end)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void gccv::ForegroundTextTag::Filter </td> <td>(</td> <td class="paramtype">PangoAttrList * </td> <td class="paramname"><em>l</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">unsigned </td> <td class="paramname"><em>start</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">unsigned </td> <td class="paramname"><em>end</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td><code> [virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <dl><dt><b>Parameters:</b></dt><dd> <table class="params"> <tr><td class="paramname">l</td><td>a PangoAttrList. </td></tr> <tr><td class="paramname">start</td><td>the start index of the relevant text. </td></tr> <tr><td class="paramname">end</td><td>the end index of the relevant text.</td></tr> </table> </dd> </dl> <p>Filter method for the <a class="el" href="classgccv_1_1ForegroundTextTag.html" title="Foreground color.">ForegroundTextTag</a> class. </p> <p>Implements <a class="el" href="classgccv_1_1TextTag.html#a4a5d647f3c360dcc63e6e0b0c9d6b287">gccv::TextTag</a>.</p> </div> </div> <a class="anchor" id="ab891735973f05070fef33e6e6e2efea9"></a><!-- doxytag: member="gccv::ForegroundTextTag::GetColor" ref="ab891735973f05070fef33e6e6e2efea9" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">GOColor gccv::ForegroundTextTag::GetColor </td> <td>(</td> <td class="paramtype">void </td> <td class="paramname"></td><td>)</td> <td> const<code> [inline]</code></td> </tr> </table> </div> <div class="memdoc"> <dl class="return"><dt><b>Returns:</b></dt><dd>the text color. </dd></dl> <p>Definition at line <a class="el" href="text-tag_8h_source.html#l00755">755</a> of file <a class="el" href="text-tag_8h_source.html">text-tag.h</a>.</p> </div> </div> <a class="anchor" id="a249a54dba1f8dbde39d8b4257ba5fe6d"></a><!-- doxytag: member="gccv::ForegroundTextTag::operator==" ref="a249a54dba1f8dbde39d8b4257ba5fe6d" args="(TextTag const &tag) const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">bool gccv::ForegroundTextTag::operator== </td> <td>(</td> <td class="paramtype"><a class="el" href="classgccv_1_1TextTag.html">TextTag</a> const & </td> <td class="paramname"><em>tag</em></td><td>)</td> <td> const<code> [virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <dl><dt><b>Parameters:</b></dt><dd> <table class="params"> <tr><td class="paramname">tag</td><td>a <a class="el" href="classgccv_1_1TextTag.html" title="class for text attributes">TextTag</a>.</td></tr> </table> </dd> </dl> <p>Equality operator. </p> <dl class="return"><dt><b>Returns:</b></dt><dd>true if <em>tag</em> is a <a class="el" href="classgccv_1_1ForegroundTextTag.html" title="Foreground color.">ForegroundTextTag</a> and has the same text color than <em>this</em>. </dd></dl> <p>Implements <a class="el" href="classgccv_1_1TextTag.html#ac23ca9bd8802a867d8f31eb0e74f0ea7">gccv::TextTag</a>.</p> </div> </div> <hr/>The documentation for this class was generated from the following file:<ul> <li><a class="el" href="text-tag_8h_source.html">text-tag.h</a></li> </ul> </div> <hr class="footer"/><address class="footer"><small>Generated on Fri Nov 11 2011 18:01:06 for The Gnome Chemistry Utils by  <a href="http://www.doxygen.org/index.html"> <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.4 </small></address> </body> </html>