diff options
Diffstat (limited to 'freebsdtvision/doc/html/classTColorItem.html')
-rw-r--r-- | freebsdtvision/doc/html/classTColorItem.html | 271 |
1 files changed, 271 insertions, 0 deletions
diff --git a/freebsdtvision/doc/html/classTColorItem.html b/freebsdtvision/doc/html/classTColorItem.html new file mode 100644 index 0000000..9ad0aa7 --- /dev/null +++ b/freebsdtvision/doc/html/classTColorItem.html @@ -0,0 +1,271 @@ +<!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>TColorItem class Reference</title> +<link href="doxygen.css" rel="stylesheet" type="text/css"> +</head><body> +<!-- Generated by Doxygen 1.2.18 --> +<center> +<a class="qindex" href="index.html">Main Page</a> <a class="qindex" href="hierarchy.html">Class Hierarchy</a> <a class="qindex" href="classes.html">Alphabetical List</a> <a class="qindex" href="annotated.html">Compound List</a> <a class="qindex" href="files.html">File List</a> <a class="qindex" href="functions.html">Compound Members</a> <a class="qindex" href="globals.html">File Members</a> </center> +<hr><h1>TColorItem Class Reference</h1>Information about a color item. +<a href="#_details">More...</a> +<p> +<code>#include <<a class="el" href="colorsel_8h-source.html">colorsel.h</a>></code> +<p> +<a href="classTColorItem-members.html">List of all members.</a><table border=0 cellpadding=0 cellspacing=0> +<tr><td></td></tr> +<tr><td colspan=2><br><h2>Public Methods</h2></td></tr> +<tr><td nowrap align=right valign=top> </td><td valign=bottom><a class="el" href="classTColorItem.html#a0">TColorItem</a> (const char *nm, <a class="el" href="ttypes_8h.html#a1">uchar</a> idx, TColorItem *nxt=0)</td></tr> +<tr><td nowrap align=right valign=top>virtual </td><td valign=bottom><a class="el" href="classTColorItem.html#a1">~TColorItem</a> ()</td></tr> +<tr><td colspan=2><br><h2>Public Attributes</h2></td></tr> +<tr><td nowrap align=right valign=top>const char * </td><td valign=bottom><a class="el" href="classTColorItem.html#m0">name</a></td></tr> +<tr><td nowrap align=right valign=top><a class="el" href="ttypes_8h.html#a1">uchar</a> </td><td valign=bottom><a class="el" href="classTColorItem.html#m1">index</a></td></tr> +<tr><td nowrap align=right valign=top>TColorItem * </td><td valign=bottom><a class="el" href="classTColorItem.html#m2">next</a></td></tr> +<tr><td colspan=2><br><h2>Friends</h2></td></tr> +<tr><td nowrap align=right valign=top><a class="el" href="classTColorGroup.html">TColorGroup</a> & </td><td valign=bottom><a class="el" href="classTColorItem.html#l0">operator+</a> (<a class="el" href="classTColorGroup.html">TColorGroup</a> &g, TColorItem &i)</td></tr> +<tr><td nowrap align=right valign=top>TColorItem & </td><td valign=bottom><a class="el" href="classTColorItem.html#l1">operator+</a> (TColorItem &i1, TColorItem &i2)</td></tr> +</table> +<hr><a name="_details"></a><h2>Detailed Description</h2> +Stores information about a color item. TColorItem defines a linked list of color names and indexes. +<p> +The interrelated classes TColorItem, <a class="el" href="classTColorGroup.html">TColorGroup</a>, <a class="el" href="classTColorSelector.html">TColorSelector</a>, <a class="el" href="classTMonoSelector.html">TMonoSelector</a>, <a class="el" href="classTColorDisplay.html">TColorDisplay</a>, <a class="el" href="classTColorGroupList.html">TColorGroupList</a>, <a class="el" href="classTColorItemList.html">TColorItemList</a> and <a class="el" href="classTColorDialog.html">TColorDialog</a> provide viewers and dialog boxes from which the user can select and change the color assignments from available palettes with immediate effect on the screen. +<p> + +<p> +Definition at line <a class="el" href="colorsel_8h-source.html#l00052">52</a> of file <a class="el" href="colorsel_8h-source.html">colorsel.h</a>.<hr><h2>Constructor & Destructor Documentation</h2> +<a name="a0" doxytag="TColorItem::TColorItem"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> TColorItem::TColorItem </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">const char * </td> + <td class="mdname" nowrap> <em>nm</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap><a class="el" href="ttypes_8h.html#a1">uchar</a> </td> + <td class="mdname" nowrap> <em>idx</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>TColorItem * </td> + <td class="mdname" nowrap> <em>nxt</em> = 0</td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Constructor. +<p> +Creates a color item object with name set to `nm', index set to `idx' and, by default, next set to 0. +<p> +`nm' is a pointer to the name of the color item. A local copy of the string is created. `idx' is the color index. `nxt' is a pointer to the next color item (its default value is 0). +<p> +See file `demo/tvdemo2.cc' for an example. </td> + </tr> +</table> +<a name="a1" doxytag="TColorItem::~TColorItem"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> virtual TColorItem::~TColorItem </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top">) </td> + <td class="md" nowrap><code> [virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Destructor. </td> + </tr> +</table> +<hr><h2>Friends And Related Function Documentation</h2> +<a name="l1" doxytag="TColorItem::operator+"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> TColorItem& operator+ </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">TColorItem & </td> + <td class="mdname" nowrap> <em>i1</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>TColorItem & </td> + <td class="mdname" nowrap> <em>i2</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"><code> [friend]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Inserts another color item after this one by changing the <a class="el" href="classTColorItem.html#m2">TColorItem::next</a> pointer. </td> + </tr> +</table> +<a name="l0" doxytag="TColorItem::operator+"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> <a class="el" href="classTColorGroup.html">TColorGroup</a>& operator+ </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="classTColorGroup.html">TColorGroup</a> & </td> + <td class="mdname" nowrap> <em>g</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>TColorItem & </td> + <td class="mdname" nowrap> <em>i</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"><code> [friend]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Inserts color item `i' in color group `g'. <dl compact><dt><b>See also: </b></dt><dd> +<a class="el" href="classTColorGroup.html">TColorGroup</a> </dl> </td> + </tr> +</table> +<hr><h2>Member Data Documentation</h2> +<a name="m1" doxytag="TColorItem::index"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> <a class="el" href="ttypes_8h.html#a1">uchar</a> TColorItem::index + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +The color index of the item. +<p> +Definition at line <a class="el" href="colorsel_8h-source.html#l00079">79</a> of file <a class="el" href="colorsel_8h-source.html">colorsel.h</a>. </td> + </tr> +</table> +<a name="m0" doxytag="TColorItem::name"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> const char* TColorItem::name + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +The name of the color item. +<p> +Definition at line <a class="el" href="colorsel_8h-source.html#l00075">75</a> of file <a class="el" href="colorsel_8h-source.html">colorsel.h</a>. </td> + </tr> +</table> +<a name="m2" doxytag="TColorItem::next"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> TColorItem* TColorItem::next + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Link to the next color item, or 0 if there is no next item. +<p> +Definition at line <a class="el" href="colorsel_8h-source.html#l00083">83</a> of file <a class="el" href="colorsel_8h-source.html">colorsel.h</a>. </td> + </tr> +</table> +<hr>The documentation for this class was generated from the following file:<ul> +<li><a class="el" href="colorsel_8h-source.html">colorsel.h</a></ul> +<hr><address style="align: right;"><small>Generated on Wed Apr 2 22:13:12 2003 for TVision by +<a href="http://www.doxygen.org/index.html"> +<img src="doxygen.png" alt="doxygen" align="middle" border=0 +width=110 height=53></a>1.2.18 </small></address> +</body> +</html> |