Sophie

Sophie

distrib > Mageia > 4 > i586 > media > core-release > by-pkgid > c44927308c1c3b2e6eb97a3e8e6f0c4d > files > 263

libyui5-3.0.10-0.git20131124.1.mga4.i586.rpm

<!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"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.5"/>
<title>libyui: YColor Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
  $(window).load(resizeHeight);
</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <div id="projectname">libyui
   &#160;<span id="projectnumber">3.0.10</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.5 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</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>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
      <li><a href="classes.html"><span>Class&#160;Index</span></a></li>
      <li><a href="hierarchy.html"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('classYColor.html','');});
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Friends</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="classYColor-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">YColor Class Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p><code>#include &lt;<a class="el" href="YColor_8h_source.html">YColor.h</a>&gt;</code></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:acb33bd2590844881af1e6dc959d3c3a1"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classYColor.html#acb33bd2590844881af1e6dc959d3c3a1">YColor</a> (uchar <a class="el" href="classYColor.html#a0f0dfc752a3d03a3852404e857500a36">red</a>, uchar <a class="el" href="classYColor.html#aab842ac98818e016f0be12ab929cd4de">green</a>, uchar <a class="el" href="classYColor.html#a4142a26e850758b464b8dbbe4037f851">blue</a>)</td></tr>
<tr class="separator:acb33bd2590844881af1e6dc959d3c3a1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aead8bc79e56cf44f6ca9ce92b1fefeff"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classYColor.html#aead8bc79e56cf44f6ca9ce92b1fefeff">YColor</a> ()</td></tr>
<tr class="separator:aead8bc79e56cf44f6ca9ce92b1fefeff"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0f0dfc752a3d03a3852404e857500a36"><td class="memItemLeft" align="right" valign="top">uchar&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classYColor.html#a0f0dfc752a3d03a3852404e857500a36">red</a> () const </td></tr>
<tr class="separator:a0f0dfc752a3d03a3852404e857500a36"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aab842ac98818e016f0be12ab929cd4de"><td class="memItemLeft" align="right" valign="top">uchar&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classYColor.html#aab842ac98818e016f0be12ab929cd4de">green</a> () const </td></tr>
<tr class="separator:aab842ac98818e016f0be12ab929cd4de"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4142a26e850758b464b8dbbe4037f851"><td class="memItemLeft" align="right" valign="top">uchar&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classYColor.html#a4142a26e850758b464b8dbbe4037f851">blue</a> () const </td></tr>
<tr class="separator:a4142a26e850758b464b8dbbe4037f851"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abdd92aed8e96f59f6ce4552c8623ad0e"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classYColor.html#abdd92aed8e96f59f6ce4552c8623ad0e">isUndefined</a> () const </td></tr>
<tr class="separator:abdd92aed8e96f59f6ce4552c8623ad0e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a98983a10a5e76bd5ce0564289719ef5c"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classYColor.html#a98983a10a5e76bd5ce0564289719ef5c">isDefined</a> () const </td></tr>
<tr class="separator:a98983a10a5e76bd5ce0564289719ef5c"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>Helper class to define an RGB color. </p>

<p>Definition at line <a class="el" href="YColor_8h_source.html#l00034">34</a> of file <a class="el" href="YColor_8h_source.html">YColor.h</a>.</p>
</div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="acb33bd2590844881af1e6dc959d3c3a1"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">YColor::YColor </td>
          <td>(</td>
          <td class="paramtype">uchar&#160;</td>
          <td class="paramname"><em>red</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uchar&#160;</td>
          <td class="paramname"><em>green</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uchar&#160;</td>
          <td class="paramname"><em>blue</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Constructor. </p>

<p>Definition at line <a class="el" href="YColor_8h_source.html#l00040">40</a> of file <a class="el" href="YColor_8h_source.html">YColor.h</a>.</p>

</div>
</div>
<a class="anchor" id="aead8bc79e56cf44f6ca9ce92b1fefeff"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">YColor::YColor </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Default constructor: Create "undefined" color. </p>

<p>Definition at line <a class="el" href="YColor_8h_source.html#l00050">50</a> of file <a class="el" href="YColor_8h_source.html">YColor.h</a>.</p>

</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a class="anchor" id="a4142a26e850758b464b8dbbe4037f851"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">uchar YColor::blue </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Return the blue component (0: none, 255: bright blue). </p>

<p>Definition at line <a class="el" href="YColor_8h_source.html#l00068">68</a> of file <a class="el" href="YColor_8h_source.html">YColor.h</a>.</p>

</div>
</div>
<a class="anchor" id="aab842ac98818e016f0be12ab929cd4de"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">uchar YColor::green </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Return the green component (0: none, 255: bright green). </p>

<p>Definition at line <a class="el" href="YColor_8h_source.html#l00063">63</a> of file <a class="el" href="YColor_8h_source.html">YColor.h</a>.</p>

</div>
</div>
<a class="anchor" id="a98983a10a5e76bd5ce0564289719ef5c"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool YColor::isDefined </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Return 'true' if this color is defined. </p>

<p>Definition at line <a class="el" href="YColor_8h_source.html#l00078">78</a> of file <a class="el" href="YColor_8h_source.html">YColor.h</a>.</p>

</div>
</div>
<a class="anchor" id="abdd92aed8e96f59f6ce4552c8623ad0e"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool YColor::isUndefined </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Return 'true' if this color is undefined. </p>

<p>Definition at line <a class="el" href="YColor_8h_source.html#l00073">73</a> of file <a class="el" href="YColor_8h_source.html">YColor.h</a>.</p>

</div>
</div>
<a class="anchor" id="a0f0dfc752a3d03a3852404e857500a36"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">uchar YColor::red </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Return the red component (0: none, 255: bright red). </p>

<p>Definition at line <a class="el" href="YColor_8h_source.html#l00058">58</a> of file <a class="el" href="YColor_8h_source.html">YColor.h</a>.</p>

</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li>/home/iurt/rpmbuild/BUILD/libyui-3.0.10-b316a3f/src/<a class="el" href="YColor_8h_source.html">YColor.h</a></li>
</ul>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="classYColor.html">YColor</a></li>
    <li class="footer">Generated by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.5 </li>
  </ul>
</div>
</body>
</html>