summaryrefslogtreecommitdiff
path: root/sigalatvision/doc/html/classTColorSelector.html
diff options
context:
space:
mode:
Diffstat (limited to 'sigalatvision/doc/html/classTColorSelector.html')
-rw-r--r--sigalatvision/doc/html/classTColorSelector.html446
1 files changed, 446 insertions, 0 deletions
diff --git a/sigalatvision/doc/html/classTColorSelector.html b/sigalatvision/doc/html/classTColorSelector.html
new file mode 100644
index 0000000..ff7c38d
--- /dev/null
+++ b/sigalatvision/doc/html/classTColorSelector.html
@@ -0,0 +1,446 @@
+<!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>TColorSelector class Reference</title>
+<link href="doxygen.css" rel="stylesheet" type="text/css">
+</head><body bgcolor="#ffffff">
+<!-- Generated by Doxygen 1.2.8.1 -->
+<center>
+<a class="qindex" href="index.html">Main Page</a> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</a> &nbsp; <a class="qindex" href="classes.html">Alphabetical List</a> &nbsp; <a class="qindex" href="annotated.html">Compound List</a> &nbsp; <a class="qindex" href="files.html">File List</a> &nbsp; <a class="qindex" href="functions.html">Compound Members</a> &nbsp; <a class="qindex" href="globals.html">File Members</a> &nbsp; </center>
+<hr><h1>TColorSelector Class Reference</h1>Color viewer used to display available color selections.
+<a href="#_details">More...</a>
+<p>
+<code>#include &lt;<a class="el" href="colorsel_8h-source.html">colorsel.h</a>&gt;</code>
+<p>
+<p>Inheritance diagram for TColorSelector::
+<p><center><img src="classTColorSelector.gif" usemap="#TColorSelector_map" border="0"></center>
+<map name="TColorSelector_map">
+<area href="classTView.html" alt="TView" shape="rect" coords="53,56,150,80">
+<area href="classTObject.html" alt="TObject" shape="rect" coords="0,0,97,24">
+<area href="classTStreamable.html" alt="TStreamable" shape="rect" coords="107,0,204,24">
+</map>
+<a href="classTColorSelector-members.html">List of all members.</a><table border=0 cellpadding=0 cellspacing=0>
+<tr><td colspan=2><br><h2>Public Types</h2></td></tr>
+<tr><td nowrap align=right valign=top>enum &nbsp;</td><td valign=bottom><a class="el" href="classTColorSelector.html#s2">ColorSel</a> { <b>csBackground</b> = 0,
+<b>csForeground</b>
+ }</td></tr>
+<tr><td colspan=2><br><h2>Public Methods</h2></td></tr>
+<tr><td nowrap align=right valign=top>&nbsp;</td><td valign=bottom><a class="el" href="classTColorSelector.html#a0">TColorSelector</a> (const <a class="el" href="classTRect.html">TRect</a> &amp;bounds, <a class="el" href="classTColorSelector.html#s2">ColorSel</a> aSelType)</td></tr>
+<tr><td nowrap align=right valign=top>virtual void&nbsp;</td><td valign=bottom><a class="el" href="classTColorSelector.html#a1">draw</a> ()</td></tr>
+<tr><td nowrap align=right valign=top>virtual void&nbsp;</td><td valign=bottom><a class="el" href="classTColorSelector.html#a2">handleEvent</a> (<a class="el" href="structTEvent.html">TEvent</a> &amp;event)</td></tr>
+<tr><td colspan=2><br><h2>Static Public Methods</h2></td></tr>
+<tr><td nowrap align=right valign=top><a class="el" href="classTStreamable.html">TStreamable</a>*&nbsp;</td><td valign=bottom><a class="el" href="classTColorSelector.html#d0">build</a> ()</td></tr>
+<tr><td colspan=2><br><h2>Static Public Attributes</h2></td></tr>
+<tr><td nowrap align=right valign=top>char&nbsp;</td><td valign=bottom><a class="el" href="classTColorSelector.html#p0">icon</a></td></tr>
+<tr><td nowrap align=right valign=top>const char* const&nbsp;</td><td valign=bottom><a class="el" href="classTColorSelector.html#p1">name</a></td></tr>
+<tr><td colspan=2><br><h2>Protected Methods</h2></td></tr>
+<tr><td nowrap align=right valign=top>&nbsp;</td><td valign=bottom><a class="el" href="classTColorSelector.html#b0">TColorSelector</a> (<a class="el" href="ttypes_8h.html#a14">StreamableInit</a>)</td></tr>
+<tr><td nowrap align=right valign=top>virtual void&nbsp;</td><td valign=bottom><a class="el" href="classTColorSelector.html#b1">write</a> (<a class="el" href="classopstream.html">opstream</a> &amp;os)</td></tr>
+<tr><td nowrap align=right valign=top>virtual void*&nbsp;</td><td valign=bottom><a class="el" href="classTColorSelector.html#b2">read</a> (<a class="el" href="classipstream.html">ipstream</a> &amp;is)</td></tr>
+<tr><td colspan=2><br><h2>Protected Attributes</h2></td></tr>
+<tr><td nowrap align=right valign=top><a class="el" href="ttypes_8h.html#a1">uchar</a>&nbsp;</td><td valign=bottom><a class="el" href="classTColorSelector.html#n0">color</a></td></tr>
+<tr><td nowrap align=right valign=top><a class="el" href="classTColorSelector.html#s2">ColorSel</a>&nbsp;</td><td valign=bottom><a class="el" href="classTColorSelector.html#n1">selType</a></td></tr>
+</table>
+<hr><a name="_details"></a><h2>Detailed Description</h2>
+The interrelated classes <a class="el" href="classTColorItem.html">TColorItem</a>, <a class="el" href="classTColorGroup.html">TColorGroup</a>, TColorSelector, <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>
+TColorSelector is a view for displaying the color selections available.
+<p>
+
+<p>
+Definition at line <a class="el" href="colorsel_8h-source.html#l00206">206</a> of file <a class="el" href="colorsel_8h-source.html">colorsel.h</a>.<hr><h2>Member Enumeration Documentation</h2>
+<a name="s2" doxytag="TColorSelector::ColorSel"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td nowrap valign="top"><b>
+enum TColorSelector::ColorSel
+ </b></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+This view can handle two sets of colors: the 8 background colors or the 16 foreground colors.
+<p>
+Definition at line <a class="el" href="colorsel_8h-source.html#l00213">213</a> of file <a class="el" href="colorsel_8h-source.html">colorsel.h</a>. </td>
+ </tr>
+</table>
+<hr><h2>Constructor &amp; Destructor Documentation</h2>
+<a name="a0" doxytag="TColorSelector::TColorSelector"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td nowrap valign="top"><b>
+TColorSelector::TColorSelector (
+ </b></td>
+ <td valign="bottom"><b>
+const <a class="el" href="classTRect.html">TRect</a> &amp; <em>bounds</em>,
+ </b></td>
+ </tr>
+ <tr>
+ <td></td>
+ <td><b>
+<a class="el" href="classTColorSelector.html#s2">ColorSel</a> <em>aSelType</em>&nbsp;)
+ </b></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Constructor.
+<p>
+Calls <a class="el" href="classTView.html">TView</a> constructor TView(bounds) to create a view with the given `bounds'. Sets <a class="el" href="classTView.html#m2">options</a> data member with <a class="el" href="views_8h.html#a38">ofSelectable</a>, <a class="el" href="views_8h.html#a40">ofFirstClick</a>, and <a class="el" href="views_8h.html#a41">ofFramed</a>. Sets <a class="el" href="classTView.html#m3">eventMask</a> to <a class="el" href="system_8h.html#a6">evBroadcast</a>, <a class="el" href="classTColorSelector.html#n1">selType</a> to `aSelType', and <a class="el" href="classTColorSelector.html#n0">color</a> to 0.
+<p>
+`aSelType' may be one of the following values:
+<p>
+<pre>
+ Constant Value Meaning
+
+ csBackground 0 show the 8 background colors
+ csForeground 1 show the 16 foreground colors
+ </pre> </td>
+ </tr>
+</table>
+<a name="b0" doxytag="TColorSelector::TColorSelector"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td nowrap valign="top"><b>
+TColorSelector::TColorSelector (
+ </b></td>
+ <td valign="bottom"><b>
+<a class="el" href="ttypes_8h.html#a14">StreamableInit</a>&nbsp;)<code> [protected]</code>
+ </b></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Constructor.
+<p>
+Used to recover the view from a stream. </td>
+ </tr>
+</table>
+<hr><h2>Member Function Documentation</h2>
+<a name="d0" doxytag="TColorSelector::build"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td nowrap valign="top"><b>
+<a class="el" href="classTStreamable.html">TStreamable</a> * TColorSelector::build (
+ </b></td>
+ <td valign="bottom"><b>
+)<code> [static]</code>
+ </b></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Creates a new TColorSelector.
+<p>
+Called to create an object in certain stream-reading situations.
+<p>
+Reimplemented from <a class="el" href="classTView.html#d8">TView</a>. </td>
+ </tr>
+</table>
+<a name="a1" doxytag="TColorSelector::draw"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td nowrap valign="top"><b>
+void TColorSelector::draw (
+ </b></td>
+ <td valign="bottom"><b>
+)<code> [virtual]</code>
+ </b></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Draws the color selector.
+<p>
+Reimplemented from <a class="el" href="classTView.html#a19">TView</a>. </td>
+ </tr>
+</table>
+<a name="a2" doxytag="TColorSelector::handleEvent"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td nowrap valign="top"><b>
+void TColorSelector::handleEvent (
+ </b></td>
+ <td valign="bottom"><b>
+<a class="el" href="structTEvent.html">TEvent</a> &amp; <em>event</em>&nbsp;)<code> [virtual]</code>
+ </b></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Handles mouse and key events: you can click on a given color indicator to select that color, or you can select colors by positioning the cursor with the arrow keys.
+<p>
+Changes invoke <a class="el" href="classTView.html#a20">drawView</a>() when appropriate.
+<p>
+Reimplemented from <a class="el" href="classTView.html#a41">TView</a>. </td>
+ </tr>
+</table>
+<a name="b2" doxytag="TColorSelector::read"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td nowrap valign="top"><b>
+void * TColorSelector::read (
+ </b></td>
+ <td valign="bottom"><b>
+<a class="el" href="classipstream.html">ipstream</a> &amp; <em>is</em>&nbsp;)<code> [protected, virtual]</code>
+ </b></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Used to recover the view from a stream. Reads from the input stream `is'.
+<p>
+Reimplemented from <a class="el" href="classTView.html#b2">TView</a>. </td>
+ </tr>
+</table>
+<a name="b1" doxytag="TColorSelector::write"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td nowrap valign="top"><b>
+void TColorSelector::write (
+ </b></td>
+ <td valign="bottom"><b>
+<a class="el" href="classopstream.html">opstream</a> &amp; <em>os</em>&nbsp;)<code> [protected, virtual]</code>
+ </b></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Used to store the view in a stream. Writes to the output stream `os'.
+<p>
+Reimplemented from <a class="el" href="classTView.html#b1">TView</a>. </td>
+ </tr>
+</table>
+<hr><h2>Member Data Documentation</h2>
+<a name="n0" doxytag="TColorSelector::color"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td nowrap valign="top"><b>
+<a class="el" href="ttypes_8h.html#a1">uchar</a> TColorSelector::color<code> [protected]</code>
+ </b></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Holds the currently selected color.
+<p>
+Definition at line <a class="el" href="colorsel_8h-source.html#l00252">252</a> of file <a class="el" href="colorsel_8h-source.html">colorsel.h</a>. </td>
+ </tr>
+</table>
+<a name="p0" doxytag="TColorSelector::icon"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td nowrap valign="top"><b>
+char TColorSelector::icon<code> [static]</code>
+ </b></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+This character is used to mark the current color.
+<p>
+Definition at line <a class="el" href="colorsel_8h-source.html#l00247">247</a> of file <a class="el" href="colorsel_8h-source.html">colorsel.h</a>. </td>
+ </tr>
+</table>
+<a name="p1" doxytag="TColorSelector::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 nowrap valign="top"><b>
+const char *const TColorSelector::name<code> [static]</code>
+ </b></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Undocumented.
+<p>
+Reimplemented from <a class="el" href="classTView.html#p4">TView</a>.
+<p>
+Definition at line <a class="el" href="colorsel_8h-source.html#l00289">289</a> of file <a class="el" href="colorsel_8h-source.html">colorsel.h</a>. </td>
+ </tr>
+</table>
+<a name="n1" doxytag="TColorSelector::selType"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td nowrap valign="top"><b>
+<a class="el" href="classTColorSelector.html#s2">ColorSel</a> TColorSelector::selType<code> [protected]</code>
+ </b></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Specifies if the view shows the 8 background colors or the 16 foreground colors.
+<p>
+Gives attribute (foreground or background) of the currently selected color. <a class="el" href="classTColorSelector.html#s2">ColorSel</a> is an enum defined as follows:
+<p>
+<pre>
+ enum ColorSel { csBackground = 0, csForeground }
+ </pre>
+<p>
+Definition at line <a class="el" href="colorsel_8h-source.html#l00264">264</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><small>Generated at Sat Sep 22 20:19:22 2001 for TVision by
+<a href="http://www.doxygen.org/index.html">
+<img src="doxygen.gif" alt="doxygen" align="middle" border=0
+width=110 height=53></a>1.2.8.1 written by <a href="mailto:dimitri@stack.nl">Dimitri van Heesch</a>,
+ &copy;&nbsp;1997-2001</small></address>
+</body>
+</html>