Files
intelliphoto/docs/html/class_intelli_tool_plain_tool.html
2020-01-17 09:07:23 +01:00

562 lines
36 KiB
HTML

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://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.17"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>IntelliPhoto: IntelliToolPlainTool 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="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></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 id="projectalign" style="padding-left: 0.5em;">
<div id="projectname">IntelliPhoto
&#160;<span id="projectnumber">0.5</span>
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.17 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
initMenu('',true,false,'search.php','Search');
$(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></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">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(document).ready(function(){initNavTree('class_intelli_tool_plain_tool.html',''); initResizable(); });
/* @license-end */
</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)">
</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="class_intelli_tool_plain_tool-members.html">List of all members</a> </div>
<div class="headertitle">
<div class="title">IntelliToolPlainTool Class Reference</div> </div>
</div><!--header-->
<div class="contents">
<p>The <a class="el" href="class_intelli_tool_plain_tool.html" title="The IntelliToolPlainTool class represents a tool to fill the whole canvas with one color.">IntelliToolPlainTool</a> class represents a tool to fill the whole canvas with one color.
<a href="class_intelli_tool_plain_tool.html#details">More...</a></p>
<p><code>#include &lt;<a class="el" href="_intelli_tool_plain_8h_source.html">IntelliToolPlain.h</a>&gt;</code></p>
<div class="dynheader">
Inheritance diagram for IntelliToolPlainTool:</div>
<div class="dyncontent">
<div class="center">
<img src="class_intelli_tool_plain_tool.png" usemap="#IntelliToolPlainTool_map" alt=""/>
<map id="IntelliToolPlainTool_map" name="IntelliToolPlainTool_map">
<area href="class_intelli_tool.html" title="An abstract class that manages the basic events, like mouse clicks or scrolls events." alt="IntelliTool" shape="rect" coords="0,0,117,24"/>
</map>
</div></div>
<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:a816bcd6aea046994420969bed8b139d2"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_intelli_tool_plain_tool.html#a816bcd6aea046994420969bed8b139d2">IntelliToolPlainTool</a> (<a class="el" href="class_painting_area.html">PaintingArea</a> *<a class="el" href="class_intelli_tool.html#ab4c2698a0f9f25fb6639ec760d2d0289">Area</a>, <a class="el" href="class_intelli_color_picker.html">IntelliColorPicker</a> *<a class="el" href="class_intelli_tool.html#ae2e0ac394611a361ab4ef2fe55c03fef">colorPicker</a>, <a class="el" href="class_intelli_toolsettings.html">IntelliToolsettings</a> *<a class="el" href="class_intelli_tool.html#a55f6b45b416b7d790fa8bc09603bf67f">Toolsettings</a>)</td></tr>
<tr class="memdesc:a816bcd6aea046994420969bed8b139d2"><td class="mdescLeft">&#160;</td><td class="mdescRight">A constructor setting the general paintingArea and colorPicker. <a href="class_intelli_tool_plain_tool.html#a816bcd6aea046994420969bed8b139d2">More...</a><br /></td></tr>
<tr class="separator:a816bcd6aea046994420969bed8b139d2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a91fe568be05c075814d67440472bb658"><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_intelli_tool_plain_tool.html#a91fe568be05c075814d67440472bb658">~IntelliToolPlainTool</a> () override</td></tr>
<tr class="memdesc:a91fe568be05c075814d67440472bb658"><td class="mdescLeft">&#160;</td><td class="mdescRight">A Destructor. <a href="class_intelli_tool_plain_tool.html#a91fe568be05c075814d67440472bb658">More...</a><br /></td></tr>
<tr class="separator:a91fe568be05c075814d67440472bb658"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acb0c46e16d2c09370a2244a936de38b1"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_intelli_tool_plain_tool.html#acb0c46e16d2c09370a2244a936de38b1">onMouseRightPressed</a> (int x, int y) override</td></tr>
<tr class="memdesc:acb0c46e16d2c09370a2244a936de38b1"><td class="mdescLeft">&#160;</td><td class="mdescRight">A function managing the right click pressed of a mouse. Resetting the current fill. <a href="class_intelli_tool_plain_tool.html#acb0c46e16d2c09370a2244a936de38b1">More...</a><br /></td></tr>
<tr class="separator:acb0c46e16d2c09370a2244a936de38b1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2ae458f1b04eb77a47f6dca5e91e33b8"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_intelli_tool_plain_tool.html#a2ae458f1b04eb77a47f6dca5e91e33b8">onMouseRightReleased</a> (int x, int y) override</td></tr>
<tr class="memdesc:a2ae458f1b04eb77a47f6dca5e91e33b8"><td class="mdescLeft">&#160;</td><td class="mdescRight">A function managing the right click released of a mouse. <a href="class_intelli_tool_plain_tool.html#a2ae458f1b04eb77a47f6dca5e91e33b8">More...</a><br /></td></tr>
<tr class="separator:a2ae458f1b04eb77a47f6dca5e91e33b8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab786dd5fa80af863246013d43c4b7ac9"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_intelli_tool_plain_tool.html#ab786dd5fa80af863246013d43c4b7ac9">onMouseLeftPressed</a> (int x, int y) override</td></tr>
<tr class="memdesc:ab786dd5fa80af863246013d43c4b7ac9"><td class="mdescLeft">&#160;</td><td class="mdescRight">A function managing the left click pressed of a mouse. Filling the whole canvas. <a href="class_intelli_tool_plain_tool.html#ab786dd5fa80af863246013d43c4b7ac9">More...</a><br /></td></tr>
<tr class="separator:ab786dd5fa80af863246013d43c4b7ac9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac23f5d0f07e42fd7c2ea3fc1347da400"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_intelli_tool_plain_tool.html#ac23f5d0f07e42fd7c2ea3fc1347da400">onMouseLeftReleased</a> (int x, int y) override</td></tr>
<tr class="memdesc:ac23f5d0f07e42fd7c2ea3fc1347da400"><td class="mdescLeft">&#160;</td><td class="mdescRight">A function managing the left click released of a mouse. Merging the fill to the active layer. <a href="class_intelli_tool_plain_tool.html#ac23f5d0f07e42fd7c2ea3fc1347da400">More...</a><br /></td></tr>
<tr class="separator:ac23f5d0f07e42fd7c2ea3fc1347da400"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adc004ea421e2cc0ac39cc7a6b6d43d0d"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_intelli_tool_plain_tool.html#adc004ea421e2cc0ac39cc7a6b6d43d0d">onWheelScrolled</a> (int value) override</td></tr>
<tr class="memdesc:adc004ea421e2cc0ac39cc7a6b6d43d0d"><td class="mdescLeft">&#160;</td><td class="mdescRight">A function managing the scroll event. <a href="class_intelli_tool_plain_tool.html#adc004ea421e2cc0ac39cc7a6b6d43d0d">More...</a><br /></td></tr>
<tr class="separator:adc004ea421e2cc0ac39cc7a6b6d43d0d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad7546a6335bb3bb4cbf0e1883788d41c"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_intelli_tool_plain_tool.html#ad7546a6335bb3bb4cbf0e1883788d41c">onMouseMoved</a> (int x, int y) override</td></tr>
<tr class="memdesc:ad7546a6335bb3bb4cbf0e1883788d41c"><td class="mdescLeft">&#160;</td><td class="mdescRight">A function managing the mouse moved event. <a href="class_intelli_tool_plain_tool.html#ad7546a6335bb3bb4cbf0e1883788d41c">More...</a><br /></td></tr>
<tr class="separator:ad7546a6335bb3bb4cbf0e1883788d41c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_class_intelli_tool"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_class_intelli_tool')"><img src="closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="class_intelli_tool.html">IntelliTool</a></td></tr>
<tr class="memitem:a08ef094271ce6248b42f888472463526 inherit pub_methods_class_intelli_tool"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_intelli_tool.html#a08ef094271ce6248b42f888472463526">IntelliTool</a> (<a class="el" href="class_painting_area.html">PaintingArea</a> *<a class="el" href="class_intelli_tool.html#ab4c2698a0f9f25fb6639ec760d2d0289">Area</a>, <a class="el" href="class_intelli_color_picker.html">IntelliColorPicker</a> *<a class="el" href="class_intelli_tool.html#ae2e0ac394611a361ab4ef2fe55c03fef">colorPicker</a>, <a class="el" href="class_intelli_toolsettings.html">IntelliToolsettings</a> *<a class="el" href="class_intelli_tool.html#a55f6b45b416b7d790fa8bc09603bf67f">Toolsettings</a>)</td></tr>
<tr class="memdesc:a08ef094271ce6248b42f888472463526 inherit pub_methods_class_intelli_tool"><td class="mdescLeft">&#160;</td><td class="mdescRight">A constructor setting the general Painting Area and colorPicker. <a href="class_intelli_tool.html#a08ef094271ce6248b42f888472463526">More...</a><br /></td></tr>
<tr class="separator:a08ef094271ce6248b42f888472463526 inherit pub_methods_class_intelli_tool"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a57fb1b27d364c9e3696eb928b75fa9f2 inherit pub_methods_class_intelli_tool"><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_intelli_tool.html#a57fb1b27d364c9e3696eb928b75fa9f2">~IntelliTool</a> ()=0</td></tr>
<tr class="memdesc:a57fb1b27d364c9e3696eb928b75fa9f2 inherit pub_methods_class_intelli_tool"><td class="mdescLeft">&#160;</td><td class="mdescRight">An abstract Destructor. <a href="class_intelli_tool.html#a57fb1b27d364c9e3696eb928b75fa9f2">More...</a><br /></td></tr>
<tr class="separator:a57fb1b27d364c9e3696eb928b75fa9f2 inherit pub_methods_class_intelli_tool"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adf5c06ad2b2c0d745fb68cf80e7e5694 inherit pub_methods_class_intelli_tool"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_intelli_tool.html#a3fbd2584566b3cefcf3c070ae0b69d8f">Tooltype</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_intelli_tool.html#adf5c06ad2b2c0d745fb68cf80e7e5694">getTooltype</a> () const</td></tr>
<tr class="separator:adf5c06ad2b2c0d745fb68cf80e7e5694 inherit pub_methods_class_intelli_tool"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af90f0965efbc5c25126691e998f39ca3 inherit pub_methods_class_intelli_tool"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_intelli_tool.html#af90f0965efbc5c25126691e998f39ca3">getIsDrawing</a> () const</td></tr>
<tr class="separator:af90f0965efbc5c25126691e998f39ca3 inherit pub_methods_class_intelli_tool"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="inherited"></a>
Additional Inherited Members</h2></td></tr>
<tr class="inherit_header pub_types_class_intelli_tool"><td colspan="2" onclick="javascript:toggleInherit('pub_types_class_intelli_tool')"><img src="closed.png" alt="-"/>&#160;Public Types inherited from <a class="el" href="class_intelli_tool.html">IntelliTool</a></td></tr>
<tr class="memitem:a3fbd2584566b3cefcf3c070ae0b69d8f inherit pub_types_class_intelli_tool"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_intelli_tool.html#a3fbd2584566b3cefcf3c070ae0b69d8f">Tooltype</a> { <br />
&#160;&#160;<a class="el" href="class_intelli_tool.html#a3fbd2584566b3cefcf3c070ae0b69d8fa0af50777920c1401ab975cab64c4d491">Tooltype::CIRCLE</a>,
<a class="el" href="class_intelli_tool.html#a3fbd2584566b3cefcf3c070ae0b69d8fa526904ea67131c56718f9882518b5d93">Tooltype::FLOODFILL</a>,
<a class="el" href="class_intelli_tool.html#a3fbd2584566b3cefcf3c070ae0b69d8fa17b8ef2c330f1430e00c9de5469fc7e7">Tooltype::LINE</a>,
<a class="el" href="class_intelli_tool.html#a3fbd2584566b3cefcf3c070ae0b69d8fad3fa1aa45b9fe56e1fc1b558d8ed6678">Tooltype::PEN</a>,
<br />
&#160;&#160;<a class="el" href="class_intelli_tool.html#a3fbd2584566b3cefcf3c070ae0b69d8faf62eb0bf5e5c72e80983fbbac1cb70e5">Tooltype::PLAIN</a>,
<a class="el" href="class_intelli_tool.html#a3fbd2584566b3cefcf3c070ae0b69d8faecdc92bf56d960b73b02ee40125758bc">Tooltype::POLYGON</a>,
<a class="el" href="class_intelli_tool.html#a3fbd2584566b3cefcf3c070ae0b69d8fa8e8e58fe94ab307a826e087028a7c01a">Tooltype::RECTANGLE</a>,
<a class="el" href="class_intelli_tool.html#a3fbd2584566b3cefcf3c070ae0b69d8fab50339a10e1de285ac99d4c3990b8693">Tooltype::NONE</a>
<br />
}</td></tr>
<tr class="separator:a3fbd2584566b3cefcf3c070ae0b69d8f inherit pub_types_class_intelli_tool"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pro_attribs_class_intelli_tool"><td colspan="2" onclick="javascript:toggleInherit('pro_attribs_class_intelli_tool')"><img src="closed.png" alt="-"/>&#160;Protected Attributes inherited from <a class="el" href="class_intelli_tool.html">IntelliTool</a></td></tr>
<tr class="memitem:ab4c2698a0f9f25fb6639ec760d2d0289 inherit pro_attribs_class_intelli_tool"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_painting_area.html">PaintingArea</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_intelli_tool.html#ab4c2698a0f9f25fb6639ec760d2d0289">Area</a></td></tr>
<tr class="memdesc:ab4c2698a0f9f25fb6639ec760d2d0289 inherit pro_attribs_class_intelli_tool"><td class="mdescLeft">&#160;</td><td class="mdescRight">A pointer to the general <a class="el" href="class_painting_area.html" title="The PaintingArea class manages the methods and stores information about the current painting area,...">PaintingArea</a> to interact with. <a href="class_intelli_tool.html#ab4c2698a0f9f25fb6639ec760d2d0289">More...</a><br /></td></tr>
<tr class="separator:ab4c2698a0f9f25fb6639ec760d2d0289 inherit pro_attribs_class_intelli_tool"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a631388999f36013628e13b9de87a6f7b inherit pro_attribs_class_intelli_tool"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_intelli_tool.html#a3fbd2584566b3cefcf3c070ae0b69d8f">Tooltype</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_intelli_tool.html#a631388999f36013628e13b9de87a6f7b">ActiveType</a></td></tr>
<tr class="separator:a631388999f36013628e13b9de87a6f7b inherit pro_attribs_class_intelli_tool"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae2e0ac394611a361ab4ef2fe55c03fef inherit pro_attribs_class_intelli_tool"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_intelli_color_picker.html">IntelliColorPicker</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_intelli_tool.html#ae2e0ac394611a361ab4ef2fe55c03fef">colorPicker</a></td></tr>
<tr class="memdesc:ae2e0ac394611a361ab4ef2fe55c03fef inherit pro_attribs_class_intelli_tool"><td class="mdescLeft">&#160;</td><td class="mdescRight">A pointer to the <a class="el" href="class_intelli_color_picker.html" title="The IntelliColorPicker manages the selected colors for one whole project.">IntelliColorPicker</a> of the <a class="el" href="class_painting_area.html" title="The PaintingArea class manages the methods and stores information about the current painting area,...">PaintingArea</a> to interact with, and get the colors. <a href="class_intelli_tool.html#ae2e0ac394611a361ab4ef2fe55c03fef">More...</a><br /></td></tr>
<tr class="separator:ae2e0ac394611a361ab4ef2fe55c03fef inherit pro_attribs_class_intelli_tool"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a55f6b45b416b7d790fa8bc09603bf67f inherit pro_attribs_class_intelli_tool"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_intelli_toolsettings.html">IntelliToolsettings</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_intelli_tool.html#a55f6b45b416b7d790fa8bc09603bf67f">Toolsettings</a></td></tr>
<tr class="separator:a55f6b45b416b7d790fa8bc09603bf67f inherit pro_attribs_class_intelli_tool"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aedccdad01b2bc6ec84fad3582251ff5d inherit pro_attribs_class_intelli_tool"><td class="memItemLeft" align="right" valign="top"><a class="el" href="struct_layer_object.html">LayerObject</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_intelli_tool.html#aedccdad01b2bc6ec84fad3582251ff5d">activeLayer</a></td></tr>
<tr class="memdesc:aedccdad01b2bc6ec84fad3582251ff5d inherit pro_attribs_class_intelli_tool"><td class="mdescLeft">&#160;</td><td class="mdescRight">A pointer to the underlying active Layer, do not work on this. This is used for data grabbing or previews. <a href="class_intelli_tool.html#aedccdad01b2bc6ec84fad3582251ff5d">More...</a><br /></td></tr>
<tr class="separator:aedccdad01b2bc6ec84fad3582251ff5d inherit pro_attribs_class_intelli_tool"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a144d469cc03584f501194529a1b53c77 inherit pro_attribs_class_intelli_tool"><td class="memItemLeft" align="right" valign="top"><a class="el" href="struct_layer_object.html">LayerObject</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_intelli_tool.html#a144d469cc03584f501194529a1b53c77">Canvas</a></td></tr>
<tr class="memdesc:a144d469cc03584f501194529a1b53c77 inherit pro_attribs_class_intelli_tool"><td class="mdescLeft">&#160;</td><td class="mdescRight">A pointer to the drawing canvas of the tool, work on this. <a href="class_intelli_tool.html#a144d469cc03584f501194529a1b53c77">More...</a><br /></td></tr>
<tr class="separator:a144d469cc03584f501194529a1b53c77 inherit pro_attribs_class_intelli_tool"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a555aa8a74992327f740dd69b3bb0ccca inherit pro_attribs_class_intelli_tool"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_intelli_tool.html#a555aa8a74992327f740dd69b3bb0ccca">isDrawing</a> = false</td></tr>
<tr class="memdesc:a555aa8a74992327f740dd69b3bb0ccca inherit pro_attribs_class_intelli_tool"><td class="mdescLeft">&#160;</td><td class="mdescRight">A flag checking if the user is currently drawing or not. <a href="class_intelli_tool.html#a555aa8a74992327f740dd69b3bb0ccca">More...</a><br /></td></tr>
<tr class="separator:a555aa8a74992327f740dd69b3bb0ccca inherit pro_attribs_class_intelli_tool"><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>The <a class="el" href="class_intelli_tool_plain_tool.html" title="The IntelliToolPlainTool class represents a tool to fill the whole canvas with one color.">IntelliToolPlainTool</a> class represents a tool to fill the whole canvas with one color. </p>
<p class="definition">Definition at line <a class="el" href="_intelli_tool_plain_8h_source.html#l00013">13</a> of file <a class="el" href="_intelli_tool_plain_8h_source.html">IntelliToolPlain.h</a>.</p>
</div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a id="a816bcd6aea046994420969bed8b139d2"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a816bcd6aea046994420969bed8b139d2">&#9670;&nbsp;</a></span>IntelliToolPlainTool()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">IntelliToolPlainTool::IntelliToolPlainTool </td>
<td>(</td>
<td class="paramtype"><a class="el" href="class_painting_area.html">PaintingArea</a> *&#160;</td>
<td class="paramname"><em>Area</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="class_intelli_color_picker.html">IntelliColorPicker</a> *&#160;</td>
<td class="paramname"><em>colorPicker</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="class_intelli_toolsettings.html">IntelliToolsettings</a> *&#160;</td>
<td class="paramname"><em>Toolsettings</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>A constructor setting the general paintingArea and colorPicker. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">Area</td><td>- The general paintingArea used by the project. </td></tr>
<tr><td class="paramname">colorPicker</td><td>- The general colorPicker used by the project. </td></tr>
</table>
</dd>
</dl>
<p class="definition">Definition at line <a class="el" href="_intelli_tool_plain_8cpp_source.html#l00005">5</a> of file <a class="el" href="_intelli_tool_plain_8cpp_source.html">IntelliToolPlain.cpp</a>.</p>
</div>
</div>
<a id="a91fe568be05c075814d67440472bb658"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a91fe568be05c075814d67440472bb658">&#9670;&nbsp;</a></span>~IntelliToolPlainTool()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">IntelliToolPlainTool::~IntelliToolPlainTool </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">override</span><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>A Destructor. </p>
<p class="definition">Definition at line <a class="el" href="_intelli_tool_plain_8cpp_source.html#l00010">10</a> of file <a class="el" href="_intelli_tool_plain_8cpp_source.html">IntelliToolPlain.cpp</a>.</p>
</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a id="ab786dd5fa80af863246013d43c4b7ac9"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab786dd5fa80af863246013d43c4b7ac9">&#9670;&nbsp;</a></span>onMouseLeftPressed()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">void IntelliToolPlainTool::onMouseLeftPressed </td>
<td>(</td>
<td class="paramtype">int&#160;</td>
<td class="paramname"><em>x</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int&#160;</td>
<td class="paramname"><em>y</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">override</span><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>A function managing the left click pressed of a mouse. Filling the whole canvas. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">x</td><td>- The x coordinate relative to the active/canvas layer. </td></tr>
<tr><td class="paramname">y</td><td>- The y coordinate relative to the active/canvas layer. </td></tr>
</table>
</dd>
</dl>
<p>Reimplemented from <a class="el" href="class_intelli_tool.html#a34b7ef1dde96b94a0ce450a25ae1778c">IntelliTool</a>.</p>
<p class="definition">Definition at line <a class="el" href="_intelli_tool_plain_8cpp_source.html#l00014">14</a> of file <a class="el" href="_intelli_tool_plain_8cpp_source.html">IntelliToolPlain.cpp</a>.</p>
</div>
</div>
<a id="ac23f5d0f07e42fd7c2ea3fc1347da400"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac23f5d0f07e42fd7c2ea3fc1347da400">&#9670;&nbsp;</a></span>onMouseLeftReleased()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">void IntelliToolPlainTool::onMouseLeftReleased </td>
<td>(</td>
<td class="paramtype">int&#160;</td>
<td class="paramname"><em>x</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int&#160;</td>
<td class="paramname"><em>y</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">override</span><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>A function managing the left click released of a mouse. Merging the fill to the active layer. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">x</td><td>- The x coordinate relative to the active/canvas layer. </td></tr>
<tr><td class="paramname">y</td><td>- The y coordinate relative to the active/canvas layer. </td></tr>
</table>
</dd>
</dl>
<p>Reimplemented from <a class="el" href="class_intelli_tool.html#a906a2575c16c8a33cb2a5197f8d8cc5b">IntelliTool</a>.</p>
<p class="definition">Definition at line <a class="el" href="_intelli_tool_plain_8cpp_source.html#l00020">20</a> of file <a class="el" href="_intelli_tool_plain_8cpp_source.html">IntelliToolPlain.cpp</a>.</p>
</div>
</div>
<a id="ad7546a6335bb3bb4cbf0e1883788d41c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad7546a6335bb3bb4cbf0e1883788d41c">&#9670;&nbsp;</a></span>onMouseMoved()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">void IntelliToolPlainTool::onMouseMoved </td>
<td>(</td>
<td class="paramtype">int&#160;</td>
<td class="paramname"><em>x</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int&#160;</td>
<td class="paramname"><em>y</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">override</span><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>A function managing the mouse moved event. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">x</td><td>- The x coordinate of the new mouse position. </td></tr>
<tr><td class="paramname">y</td><td>- The y coordinate of the new mouse position. </td></tr>
</table>
</dd>
</dl>
<p>Reimplemented from <a class="el" href="class_intelli_tool.html#ac10e20414cd8855a2f9b103fb6408639">IntelliTool</a>.</p>
<p class="definition">Definition at line <a class="el" href="_intelli_tool_plain_8cpp_source.html#l00032">32</a> of file <a class="el" href="_intelli_tool_plain_8cpp_source.html">IntelliToolPlain.cpp</a>.</p>
</div>
</div>
<a id="acb0c46e16d2c09370a2244a936de38b1"></a>
<h2 class="memtitle"><span class="permalink"><a href="#acb0c46e16d2c09370a2244a936de38b1">&#9670;&nbsp;</a></span>onMouseRightPressed()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">void IntelliToolPlainTool::onMouseRightPressed </td>
<td>(</td>
<td class="paramtype">int&#160;</td>
<td class="paramname"><em>x</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int&#160;</td>
<td class="paramname"><em>y</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">override</span><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>A function managing the right click pressed of a mouse. Resetting the current fill. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">x</td><td>- The x coordinate relative to the active/canvas layer. </td></tr>
<tr><td class="paramname">y</td><td>- The y coordinate relative to the active/canvas layer. </td></tr>
</table>
</dd>
</dl>
<p>Reimplemented from <a class="el" href="class_intelli_tool.html#a1e6aa68ac5f3c2ca02319e5ef3f0c966">IntelliTool</a>.</p>
<p class="definition">Definition at line <a class="el" href="_intelli_tool_plain_8cpp_source.html#l00024">24</a> of file <a class="el" href="_intelli_tool_plain_8cpp_source.html">IntelliToolPlain.cpp</a>.</p>
</div>
</div>
<a id="a2ae458f1b04eb77a47f6dca5e91e33b8"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2ae458f1b04eb77a47f6dca5e91e33b8">&#9670;&nbsp;</a></span>onMouseRightReleased()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">void IntelliToolPlainTool::onMouseRightReleased </td>
<td>(</td>
<td class="paramtype">int&#160;</td>
<td class="paramname"><em>x</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int&#160;</td>
<td class="paramname"><em>y</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">override</span><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>A function managing the right click released of a mouse. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">x</td><td>- The x coordinate relative to the active/canvas layer. </td></tr>
<tr><td class="paramname">y</td><td>- The y coordinate relative to the active/canvas layer. </td></tr>
</table>
</dd>
</dl>
<p>Reimplemented from <a class="el" href="class_intelli_tool.html#a16189b00307c6d7e89f28198f54404b0">IntelliTool</a>.</p>
<p class="definition">Definition at line <a class="el" href="_intelli_tool_plain_8cpp_source.html#l00028">28</a> of file <a class="el" href="_intelli_tool_plain_8cpp_source.html">IntelliToolPlain.cpp</a>.</p>
</div>
</div>
<a id="adc004ea421e2cc0ac39cc7a6b6d43d0d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#adc004ea421e2cc0ac39cc7a6b6d43d0d">&#9670;&nbsp;</a></span>onWheelScrolled()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">void IntelliToolPlainTool::onWheelScrolled </td>
<td>(</td>
<td class="paramtype">int&#160;</td>
<td class="paramname"><em>value</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">override</span><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>A function managing the scroll event. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">value</td><td>- The absolute the scroll has changed. </td></tr>
</table>
</dd>
</dl>
<p>Reimplemented from <a class="el" href="class_intelli_tool.html#a4dccfd4460255ccb866f336406a33574">IntelliTool</a>.</p>
<p class="definition">Definition at line <a class="el" href="_intelli_tool_plain_8cpp_source.html#l00036">36</a> of file <a class="el" href="_intelli_tool_plain_8cpp_source.html">IntelliToolPlain.cpp</a>.</p>
</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li>src/Tool/<a class="el" href="_intelli_tool_plain_8h_source.html">IntelliToolPlain.h</a></li>
<li>src/Tool/<a class="el" href="_intelli_tool_plain_8cpp_source.html">IntelliToolPlain.cpp</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="class_intelli_tool_plain_tool.html">IntelliToolPlainTool</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.17 </li>
</ul>
</div>
</body>
</html>