Sophie

Sophie

distrib > Fedora > 13 > i386 > by-pkgid > eebc325dc36bd6e3b09b9b45133e42f8 > files > 878

HippoDraw-devel-docs-1.21.1-10.fc13.i686.rpm

<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
<title>HippoDraw Class Library</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
<link href="tabs.css" rel="stylesheet" type="text/css">
<link rel="shortcut icon" href="hippoApp.ico">
</head><body>
<!-- Generated by Doxygen 1.6.2 -->
<div class="navigation" id="top">
  <div class="tabs">
    <ul>
      <li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
      <li><a href="pages.html"><span>Related&nbsp;Pages</span></a></li>
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li><a href="annotated.html"><span>Classes</span></a></li>
      <li class="current"><a href="files.html"><span>Files</span></a></li>
      <li><a href="dirs.html"><span>Directories</span></a></li>
    </ul>
  </div>
  <div class="tabs">
    <ul>
      <li><a href="files.html"><span>File&nbsp;List</span></a></li>
      <li><a href="globals.html"><span>File&nbsp;Members</span></a></li>
    </ul>
  </div>
  <div class="navpath"><a class="el" href="dir_28fb57ed95c79fe5ed14c4f71fb4c2a2.html">qt</a>
  </div>
</div>
<div class="contents">
<h1>DrawBorder.h</h1><a href="DrawBorder_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="comment">/* -*- mode:c++ -*- */</span>
<a name="l00002"></a>00002 
<a name="l00014"></a>00014 <span class="preprocessor">#ifndef _DrawBroder_h</span>
<a name="l00015"></a>00015 <span class="preprocessor"></span><span class="preprocessor">#define _DrawBroder_h</span>
<a name="l00016"></a>00016 <span class="preprocessor"></span><span class="keyword">namespace </span>hippodraw {
<a name="l00017"></a>00017 
<a name="l00018"></a>00018 <span class="keyword">class </span>ViewBase;
<a name="l00019"></a>00019 
<a name="l00023"></a><a class="code" href="classhippodraw_1_1DrawBorder.html">00023</a> <span class="keyword">class </span><a class="code" href="classhippodraw_1_1DrawBorder.html" title="A singleton class to draw the border with knobies around the selected display.">DrawBorder</a>
<a name="l00024"></a>00024 {
<a name="l00025"></a>00025 <span class="keyword">private</span>:
<a name="l00026"></a>00026 
<a name="l00028"></a><a class="code" href="classhippodraw_1_1DrawBorder.html#ad76a9a2eba553af9311c8395229c8f61">00028</a>   <span class="keyword">static</span> <a class="code" href="classhippodraw_1_1DrawBorder.html" title="A singleton class to draw the border with knobies around the selected display.">DrawBorder</a> * <a class="code" href="classhippodraw_1_1DrawBorder.html#ad76a9a2eba553af9311c8395229c8f61" title="The instance of the application.">s_instance</a>;
<a name="l00029"></a>00029 
<a name="l00031"></a>00031   <a class="code" href="classhippodraw_1_1DrawBorder.html#a1902b11604e67bc5032ff92126a5b5b4" title="A default constructor for avoiding creation except by itself.">DrawBorder</a> ( <span class="keyword">const</span> <a class="code" href="classhippodraw_1_1DrawBorder.html" title="A singleton class to draw the border with knobies around the selected display.">DrawBorder</a> &amp; );
<a name="l00032"></a>00032 
<a name="l00034"></a><a class="code" href="classhippodraw_1_1DrawBorder.html#a29d1aca0fd89556d1b0161b2628fd381">00034</a>   <a class="code" href="classhippodraw_1_1ViewBase.html" title="The abstract base class for views.">ViewBase</a> * <a class="code" href="classhippodraw_1_1DrawBorder.html#a29d1aca0fd89556d1b0161b2628fd381" title="The View object.">m_view</a>;
<a name="l00035"></a>00035 
<a name="l00037"></a>00037   <a class="code" href="classhippodraw_1_1DrawBorder.html#a1902b11604e67bc5032ff92126a5b5b4" title="A default constructor for avoiding creation except by itself.">DrawBorder</a>();
<a name="l00038"></a>00038 
<a name="l00039"></a>00039  <span class="keyword">public</span>:
<a name="l00040"></a>00040 
<a name="l00042"></a>00042   <span class="keyword">static</span> <a class="code" href="classhippodraw_1_1DrawBorder.html" title="A singleton class to draw the border with knobies around the selected display.">DrawBorder</a> * <a class="code" href="classhippodraw_1_1DrawBorder.html#a279f8a83d83deefd5175962d1d881e3a" title="Returns the pointer to the singleton instance.">instance</a> ();
<a name="l00043"></a>00043 
<a name="l00045"></a>00045   <span class="keywordtype">void</span> <a class="code" href="classhippodraw_1_1DrawBorder.html#a76c921ff21c0093783ee86f2c1a2fd08" title="Sets the View object.">setView</a> (<a class="code" href="classhippodraw_1_1ViewBase.html" title="The abstract base class for views.">ViewBase</a> * view);
<a name="l00046"></a>00046 
<a name="l00048"></a>00048   <a class="code" href="classhippodraw_1_1ViewBase.html" title="The abstract base class for views.">ViewBase</a> * <a class="code" href="classhippodraw_1_1DrawBorder.html#a2f766107fadd6724bc0d39450a3ddfa6" title="Gets the view object.">getView</a> ();
<a name="l00049"></a>00049 
<a name="l00051"></a>00051   <span class="keywordtype">void</span> <a class="code" href="classhippodraw_1_1DrawBorder.html#a56c5cf8a568cff737ff95520cbe6b405" title="Does the actual drawing in the view.">draw</a>();
<a name="l00052"></a>00052 
<a name="l00054"></a>00054   <span class="keywordtype">void</span> <a class="code" href="classhippodraw_1_1DrawBorder.html#ac912ea42a3817e796ef3d50602e55209" title="Draws a knob centered at x, y.">drawKnob</a> ( <span class="keywordtype">double</span> x, <span class="keywordtype">double</span> y );
<a name="l00055"></a>00055 
<a name="l00056"></a>00056 };
<a name="l00057"></a>00057 
<a name="l00058"></a>00058 } <span class="comment">// namespace hippodraw</span>
<a name="l00059"></a>00059 
<a name="l00060"></a>00060 <span class="preprocessor">#endif // _DrawBroder_h</span>
</pre></div></div>
<hr size="1"><address style="align: right;"><small>
Generated for HippoDraw Class Library by <a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0>
</a> </small></address>
</body>
</html>