Česky
Kamil Dudka

GED 2006 (C++)

File detail

Name:DownloadclassGrayScaleCmd.html [Download]
Location: ged2006 > doc > classes
Size:10.4 KB
Last modification:2022-09-09 13:06

Source code

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
<title>GED 2006: GrayScaleCmd Class Reference</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
<link href="tabs.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.5.2 -->
<div class="tabs">
  <ul>
    <li><a href="main.html"><span>Main&nbsp;Page</span></a></li>
    <li><a href="namespaces.html"><span>Namespaces</span></a></li>
    <li class="current"><a href="classes.html"><span>Classes</span></a></li>
    <li><a href="files.html"><span>Files</span></a></li>
  </ul>
</div>
<div class="tabs">
  <ul>
    <li><a href="classes.html"><span>Alphabetical&nbsp;List</span></a></li>
    <li><a href="annotated.html"><span>Class&nbsp;List</span></a></li>
    <li><a href="hierarchy.html"><span>Class&nbsp;Hierarchy</span></a></li>
    <li><a href="functions.html"><span>Class&nbsp;Members</span></a></li>
  </ul>
</div>
<h1>GrayScaleCmd Class Reference</h1><!-- doxytag: class="GrayScaleCmd" --><!-- doxytag: inherits="SlowUndoSelectCmd" --><code>#include &lt;<a class="el" href="draw_8h-source.html">draw.h</a>&gt;</code>
<p>
<p>Inheritance diagram for GrayScaleCmd:
<p><center><img src="classGrayScaleCmd.png" usemap="#GrayScaleCmd_map" border="0" alt=""></center>
<map name="GrayScaleCmd_map">
<area href="classSlowUndoSelectCmd.html" alt="SlowUndoSelectCmd" shape="rect" coords="0,56,128,80">
<area href="classCmd.html" alt="Cmd" shape="rect" coords="0,0,128,24">
</map>
<a href="classGrayScaleCmd-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 Member Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGrayScaleCmd.html#1b96423b107ff85ff2ff4b31896fe79b">GrayScaleCmd</a> (<a class="el" href="classFrameBuffer.html">FrameBuffer</a> *pFB)</td></tr>
 
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGrayScaleCmd.html#49a960cc7674d6c86d11c67d7a7941f5">exec</a> ()</td></tr>
 
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Command execution. This should save undo informations.  <a href="#49a960cc7674d6c86d11c67d7a7941f5"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual std::string&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGrayScaleCmd.html#633357803bec57de6f7c7690b4173409">name</a> ()</td></tr>
 
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Command identification. This will appear in config file.  <a href="#633357803bec57de6f7c7690b4173409"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual std::string&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGrayScaleCmd.html#9290f42b0297da7124159a1bacb11153">args</a> ()</td></tr>
 
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Command export to text string. Needed for macro saving.  <a href="#9290f42b0297da7124159a1bacb11153"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGrayScaleCmd.html#f0d75496521693d72c19e41316fd6f9c">GrayScaleCmd</a> (<a class="el" href="classFrameBuffer.html">FrameBuffer</a> *pFB, const std::string &amp;)</td></tr>
 
<tr><td colspan="2"><br><h2>Static Public Attributes</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">static const char *const&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGrayScaleCmd.html#f9f399953953c9974929fb542deb95d7">szCmdName</a></td></tr>
 
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Command id string.  <a href="#f9f399953953c9974929fb542deb95d7"></a><br></td></tr>
</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>
 
<p>
 
<p>
Definition at line <a class="el" href="draw_8h-source.html#l00385">385</a> of file <a class="el" href="draw_8h-source.html">draw.h</a>.<hr><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" name="1b96423b107ff85ff2ff4b31896fe79b"></a><!-- doxytag: member="GrayScaleCmd::GrayScaleCmd" ref="1b96423b107ff85ff2ff4b31896fe79b" args="(FrameBuffer *pFB)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">GrayScaleCmd::GrayScaleCmd           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classFrameBuffer.html">FrameBuffer</a> *&nbsp;</td>
          <td class="paramname"> <em>pFB</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
 
<p>
Create filter "Grayscale" command. <dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>pFB</em>&nbsp;</td><td>Pointer to frame buffer to work with. </td></tr>
  </table>
</dl>
 
<p>
Definition at line <a class="el" href="draw_8h-source.html#l00391">391</a> of file <a class="el" href="draw_8h-source.html">draw.h</a>.
</div>
</div><p>
<a class="anchor" name="f0d75496521693d72c19e41316fd6f9c"></a><!-- doxytag: member="GrayScaleCmd::GrayScaleCmd" ref="f0d75496521693d72c19e41316fd6f9c" args="(FrameBuffer *pFB, const std::string &amp;)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">GrayScaleCmd::GrayScaleCmd           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classFrameBuffer.html">FrameBuffer</a> *&nbsp;</td>
          <td class="paramname"> <em>pFB</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const std::string &amp;&nbsp;</td>
          <td class="paramname"></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
 
<p>
Import command. <dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>pFB</em>&nbsp;</td><td>Pointer to frame buffer to work with. </td></tr>
  </table>
</dl>
 
<p>
Definition at line <a class="el" href="draw_8h-source.html#l00404">404</a> of file <a class="el" href="draw_8h-source.html">draw.h</a>.
</div>
</div><p>
<hr><h2>Member Function Documentation</h2>
<a class="anchor" name="49a960cc7674d6c86d11c67d7a7941f5"></a><!-- doxytag: member="GrayScaleCmd::exec" ref="49a960cc7674d6c86d11c67d7a7941f5" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void GrayScaleCmd::exec           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
 
<p>
Command execution. This should save undo informations. 
<p>
 
<p>
Reimplemented from <a class="el" href="classSlowUndoSelectCmd.html#302b2114591a5469e70c5b32225cd67e">SlowUndoSelectCmd</a>.
</div>
</div><p>
<a class="anchor" name="633357803bec57de6f7c7690b4173409"></a><!-- doxytag: member="GrayScaleCmd::name" ref="633357803bec57de6f7c7690b4173409" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual std::string GrayScaleCmd::name           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [inline, virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
 
<p>
Command identification. This will appear in config file. 
<p>
 
<p>
Implements <a class="el" href="classSlowUndoSelectCmd.html#ee3bd5a915a80da8d81d1e5934639ad2">SlowUndoSelectCmd</a>.
<p>
Definition at line <a class="el" href="draw_8h-source.html#l00397">397</a> of file <a class="el" href="draw_8h-source.html">draw.h</a>.
<p>
References <a class="el" href="draw_8h-source.html#l00409">szCmdName</a>.
</div>
</div><p>
<a class="anchor" name="9290f42b0297da7124159a1bacb11153"></a><!-- doxytag: member="GrayScaleCmd::args" ref="9290f42b0297da7124159a1bacb11153" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual std::string GrayScaleCmd::args           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [inline, virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
 
<p>
Command export to text string. Needed for macro saving. 
<p>
 
<p>
Implements <a class="el" href="classSlowUndoSelectCmd.html#af48c2bf9ed3365817682dcf8594a550">SlowUndoSelectCmd</a>.
<p>
Definition at line <a class="el" href="draw_8h-source.html#l00398">398</a> of file <a class="el" href="draw_8h-source.html">draw.h</a>.
</div>
</div><p>
<hr><h2>Member Data Documentation</h2>
<a class="anchor" name="f9f399953953c9974929fb542deb95d7"></a><!-- doxytag: member="GrayScaleCmd::szCmdName" ref="f9f399953953c9974929fb542deb95d7" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const char* const <a class="el" href="classGrayScaleCmd.html#f9f399953953c9974929fb542deb95d7">GrayScaleCmd::szCmdName</a><code> [static]</code>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">
 
<p>
Command id string. 
<p>
 
<p>
Definition at line <a class="el" href="draw_8h-source.html#l00409">409</a> of file <a class="el" href="draw_8h-source.html">draw.h</a>.
<p>
Referenced by <a class="el" href="draw_8h-source.html#l00397">name()</a>.
</div>
</div><p>
<hr>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="draw_8h-source.html">draw.h</a></ul>
<hr size="1"><address style="text-align: right;"><small>Generated on Wed Aug 29 00:01:04 2007 for GED 2006 by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.2 </small></address>
</body>
</html>