Files
intelliphoto/docs/html/_intelli_tool_8h_source.html
2020-01-16 12:52:25 +01:00

206 lines
30 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: src/Tool/IntelliTool.h Source File</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('_intelli_tool_8h_source.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="headertitle">
<div class="title">IntelliTool.h</div> </div>
</div><!--header-->
<div class="contents">
<a href="_intelli_tool_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span>&#160;<span class="preprocessor">#ifndef Intelli_Tool_H</span></div>
<div class="line"><a name="l00002"></a><span class="lineno"> 2</span>&#160;<span class="preprocessor">#define Intelli_Tool_H</span></div>
<div class="line"><a name="l00003"></a><span class="lineno"> 3</span>&#160; </div>
<div class="line"><a name="l00004"></a><span class="lineno"> 4</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="_intelli_color_picker_8h.html">IntelliHelper/IntelliColorPicker.h</a>&quot;</span></div>
<div class="line"><a name="l00005"></a><span class="lineno"> 5</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="_intelli_toolsettings_8h.html">IntelliHelper/IntelliToolsettings.h</a>&quot;</span></div>
<div class="line"><a name="l00006"></a><span class="lineno"> 6</span>&#160;<span class="preprocessor">#include &lt;vector&gt;</span></div>
<div class="line"><a name="l00007"></a><span class="lineno"> 7</span>&#160; </div>
<div class="line"><a name="l00008"></a><span class="lineno"> 8</span>&#160;<span class="comment">//for unit testing</span></div>
<div class="line"><a name="l00009"></a><span class="lineno"> 9</span>&#160;<span class="keyword">class </span><a class="code" href="class_unit_test.html">UnitTest</a>;</div>
<div class="line"><a name="l00010"></a><span class="lineno"> 10</span>&#160; </div>
<div class="line"><a name="l00011"></a><span class="lineno"> 11</span>&#160;<span class="keyword">struct </span><a class="code" href="struct_layer_object.html">LayerObject</a>;</div>
<div class="line"><a name="l00012"></a><span class="lineno"> 12</span>&#160;<span class="keyword">class </span><a class="code" href="class_painting_area.html">PaintingArea</a>;</div>
<div class="line"><a name="l00013"></a><span class="lineno"> 13</span>&#160; </div>
<div class="line"><a name="l00017"></a><span class="lineno"><a class="line" href="class_intelli_tool.html"> 17</a></span>&#160;<span class="keyword">class </span><a class="code" href="class_intelli_tool.html">IntelliTool</a> {</div>
<div class="line"><a name="l00018"></a><span class="lineno"> 18</span>&#160; <span class="keyword">friend</span> <a class="code" href="class_unit_test.html">UnitTest</a>;</div>
<div class="line"><a name="l00019"></a><span class="lineno"> 19</span>&#160;<span class="keyword">public</span>:</div>
<div class="line"><a name="l00020"></a><span class="lineno"><a class="line" href="class_intelli_tool.html#a3fbd2584566b3cefcf3c070ae0b69d8f"> 20</a></span>&#160;<span class="keyword">enum class</span> <a class="code" href="class_intelli_tool.html#a3fbd2584566b3cefcf3c070ae0b69d8f">Tooltype</a> {</div>
<div class="line"><a name="l00021"></a><span class="lineno"> 21</span>&#160; <a class="code" href="class_intelli_tool.html#a3fbd2584566b3cefcf3c070ae0b69d8fa0af50777920c1401ab975cab64c4d491">CIRCLE</a>,</div>
<div class="line"><a name="l00022"></a><span class="lineno"> 22</span>&#160; <a class="code" href="class_intelli_tool.html#a3fbd2584566b3cefcf3c070ae0b69d8fa526904ea67131c56718f9882518b5d93">FLOODFILL</a>,</div>
<div class="line"><a name="l00023"></a><span class="lineno"> 23</span>&#160; <a class="code" href="class_intelli_tool.html#a3fbd2584566b3cefcf3c070ae0b69d8fa17b8ef2c330f1430e00c9de5469fc7e7">LINE</a>,</div>
<div class="line"><a name="l00024"></a><span class="lineno"> 24</span>&#160; <a class="code" href="class_intelli_tool.html#a3fbd2584566b3cefcf3c070ae0b69d8fad3fa1aa45b9fe56e1fc1b558d8ed6678">PEN</a>,</div>
<div class="line"><a name="l00025"></a><span class="lineno"> 25</span>&#160; <a class="code" href="class_intelli_tool.html#a3fbd2584566b3cefcf3c070ae0b69d8faf62eb0bf5e5c72e80983fbbac1cb70e5">PLAIN</a>,</div>
<div class="line"><a name="l00026"></a><span class="lineno"> 26</span>&#160; <a class="code" href="class_intelli_tool.html#a3fbd2584566b3cefcf3c070ae0b69d8faecdc92bf56d960b73b02ee40125758bc">POLYGON</a>,</div>
<div class="line"><a name="l00027"></a><span class="lineno"> 27</span>&#160; <a class="code" href="class_intelli_tool.html#a3fbd2584566b3cefcf3c070ae0b69d8fa8e8e58fe94ab307a826e087028a7c01a">RECTANGLE</a>,</div>
<div class="line"><a name="l00028"></a><span class="lineno"> 28</span>&#160; <a class="code" href="class_intelli_tool.html#a3fbd2584566b3cefcf3c070ae0b69d8fab50339a10e1de285ac99d4c3990b8693">NONE</a></div>
<div class="line"><a name="l00029"></a><span class="lineno"> 29</span>&#160;};</div>
<div class="line"><a name="l00030"></a><span class="lineno"> 30</span>&#160;<span class="keyword">private</span>:</div>
<div class="line"><a name="l00035"></a><span class="lineno"> 35</span>&#160;<span class="keywordtype">bool</span> createToolLayer();</div>
<div class="line"><a name="l00036"></a><span class="lineno"> 36</span>&#160; </div>
<div class="line"><a name="l00040"></a><span class="lineno"> 40</span>&#160;<span class="keywordtype">void</span> mergeToolLayer();</div>
<div class="line"><a name="l00041"></a><span class="lineno"> 41</span>&#160; </div>
<div class="line"><a name="l00045"></a><span class="lineno"> 45</span>&#160;<span class="keywordtype">void</span> deleteToolLayer();</div>
<div class="line"><a name="l00046"></a><span class="lineno"> 46</span>&#160;<span class="keyword">protected</span>:</div>
<div class="line"><a name="l00050"></a><span class="lineno"><a class="line" href="class_intelli_tool.html#ab4c2698a0f9f25fb6639ec760d2d0289"> 50</a></span>&#160;<a class="code" href="class_painting_area.html">PaintingArea</a>* <a class="code" href="class_intelli_tool.html#ab4c2698a0f9f25fb6639ec760d2d0289">Area</a>;</div>
<div class="line"><a name="l00051"></a><span class="lineno"> 51</span>&#160; </div>
<div class="line"><a name="l00052"></a><span class="lineno"><a class="line" href="class_intelli_tool.html#a631388999f36013628e13b9de87a6f7b"> 52</a></span>&#160;<a class="code" href="class_intelli_tool.html#a3fbd2584566b3cefcf3c070ae0b69d8f">Tooltype</a> <a class="code" href="class_intelli_tool.html#a631388999f36013628e13b9de87a6f7b">ActiveType</a>;</div>
<div class="line"><a name="l00053"></a><span class="lineno"> 53</span>&#160; </div>
<div class="line"><a name="l00057"></a><span class="lineno"><a class="line" href="class_intelli_tool.html#ae2e0ac394611a361ab4ef2fe55c03fef"> 57</a></span>&#160;<a class="code" href="class_intelli_color_picker.html">IntelliColorPicker</a>* <a class="code" href="class_intelli_tool.html#ae2e0ac394611a361ab4ef2fe55c03fef">colorPicker</a>;</div>
<div class="line"><a name="l00058"></a><span class="lineno"> 58</span>&#160; </div>
<div class="line"><a name="l00059"></a><span class="lineno"><a class="line" href="class_intelli_tool.html#a55f6b45b416b7d790fa8bc09603bf67f"> 59</a></span>&#160;<a class="code" href="class_intelli_toolsettings.html">IntelliToolsettings</a>* <a class="code" href="class_intelli_tool.html#a55f6b45b416b7d790fa8bc09603bf67f">Toolsettings</a>;</div>
<div class="line"><a name="l00060"></a><span class="lineno"> 60</span>&#160; </div>
<div class="line"><a name="l00064"></a><span class="lineno"><a class="line" href="class_intelli_tool.html#aedccdad01b2bc6ec84fad3582251ff5d"> 64</a></span>&#160;<a class="code" href="struct_layer_object.html">LayerObject</a>* <a class="code" href="class_intelli_tool.html#aedccdad01b2bc6ec84fad3582251ff5d">activeLayer</a>;</div>
<div class="line"><a name="l00065"></a><span class="lineno"> 65</span>&#160; </div>
<div class="line"><a name="l00069"></a><span class="lineno"><a class="line" href="class_intelli_tool.html#a144d469cc03584f501194529a1b53c77"> 69</a></span>&#160;<a class="code" href="struct_layer_object.html">LayerObject</a>* <a class="code" href="class_intelli_tool.html#a144d469cc03584f501194529a1b53c77">Canvas</a>;</div>
<div class="line"><a name="l00070"></a><span class="lineno"> 70</span>&#160; </div>
<div class="line"><a name="l00074"></a><span class="lineno"><a class="line" href="class_intelli_tool.html#a555aa8a74992327f740dd69b3bb0ccca"> 74</a></span>&#160;<span class="keywordtype">bool</span> <a class="code" href="class_intelli_tool.html#a555aa8a74992327f740dd69b3bb0ccca">isDrawing</a> = <span class="keyword">false</span>;</div>
<div class="line"><a name="l00075"></a><span class="lineno"> 75</span>&#160; </div>
<div class="line"><a name="l00076"></a><span class="lineno"> 76</span>&#160;<span class="keyword">public</span>:</div>
<div class="line"><a name="l00082"></a><span class="lineno"> 82</span>&#160;<a class="code" href="class_intelli_tool.html#a08ef094271ce6248b42f888472463526">IntelliTool</a>(<a class="code" href="class_painting_area.html">PaintingArea</a>* <a class="code" href="class_intelli_tool.html#ab4c2698a0f9f25fb6639ec760d2d0289">Area</a>, <a class="code" href="class_intelli_color_picker.html">IntelliColorPicker</a>* <a class="code" href="class_intelli_tool.html#ae2e0ac394611a361ab4ef2fe55c03fef">colorPicker</a>, <a class="code" href="class_intelli_toolsettings.html">IntelliToolsettings</a>* <a class="code" href="class_intelli_tool.html#a55f6b45b416b7d790fa8bc09603bf67f">Toolsettings</a>);</div>
<div class="line"><a name="l00083"></a><span class="lineno"> 83</span>&#160; </div>
<div class="line"><a name="l00087"></a><span class="lineno"> 87</span>&#160;<span class="keyword">virtual</span> <a class="code" href="class_intelli_tool.html#a57fb1b27d364c9e3696eb928b75fa9f2">~IntelliTool</a>() = 0;</div>
<div class="line"><a name="l00088"></a><span class="lineno"> 88</span>&#160; </div>
<div class="line"><a name="l00094"></a><span class="lineno"> 94</span>&#160;<span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="class_intelli_tool.html#a1e6aa68ac5f3c2ca02319e5ef3f0c966">onMouseRightPressed</a>(<span class="keywordtype">int</span> x, <span class="keywordtype">int</span> y);</div>
<div class="line"><a name="l00095"></a><span class="lineno"> 95</span>&#160; </div>
<div class="line"><a name="l00101"></a><span class="lineno"> 101</span>&#160;<span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="class_intelli_tool.html#a16189b00307c6d7e89f28198f54404b0">onMouseRightReleased</a>(<span class="keywordtype">int</span> x, <span class="keywordtype">int</span> y);</div>
<div class="line"><a name="l00102"></a><span class="lineno"> 102</span>&#160; </div>
<div class="line"><a name="l00108"></a><span class="lineno"> 108</span>&#160;<span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="class_intelli_tool.html#a34b7ef1dde96b94a0ce450a25ae1778c">onMouseLeftPressed</a>(<span class="keywordtype">int</span> x, <span class="keywordtype">int</span> y);</div>
<div class="line"><a name="l00109"></a><span class="lineno"> 109</span>&#160; </div>
<div class="line"><a name="l00115"></a><span class="lineno"> 115</span>&#160;<span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="class_intelli_tool.html#a906a2575c16c8a33cb2a5197f8d8cc5b">onMouseLeftReleased</a>(<span class="keywordtype">int</span> x, <span class="keywordtype">int</span> y);</div>
<div class="line"><a name="l00116"></a><span class="lineno"> 116</span>&#160; </div>
<div class="line"><a name="l00121"></a><span class="lineno"> 121</span>&#160;<span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="class_intelli_tool.html#a4dccfd4460255ccb866f336406a33574">onWheelScrolled</a>(<span class="keywordtype">int</span> value);</div>
<div class="line"><a name="l00122"></a><span class="lineno"> 122</span>&#160; </div>
<div class="line"><a name="l00128"></a><span class="lineno"> 128</span>&#160;<span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="class_intelli_tool.html#ac10e20414cd8855a2f9b103fb6408639">onMouseMoved</a>(<span class="keywordtype">int</span> x, <span class="keywordtype">int</span> y);</div>
<div class="line"><a name="l00129"></a><span class="lineno"> 129</span>&#160; </div>
<div class="line"><a name="l00130"></a><span class="lineno"> 130</span>&#160;<a class="code" href="class_intelli_tool.html#a3fbd2584566b3cefcf3c070ae0b69d8f">Tooltype</a> <a class="code" href="class_intelli_tool.html#aae2a11c5bae4973ed827c60e0c1352b1">getTooltype</a>();</div>
<div class="line"><a name="l00131"></a><span class="lineno"> 131</span>&#160; </div>
<div class="line"><a name="l00132"></a><span class="lineno"> 132</span>&#160;<span class="keywordtype">bool</span> <a class="code" href="class_intelli_tool.html#a0020fad2e26315d5c4d96dbc95d1dceb">getIsDrawing</a>();</div>
<div class="line"><a name="l00133"></a><span class="lineno"> 133</span>&#160; </div>
<div class="line"><a name="l00134"></a><span class="lineno"> 134</span>&#160;};</div>
<div class="line"><a name="l00135"></a><span class="lineno"> 135</span>&#160;<span class="preprocessor">#endif</span></div>
</div><!-- fragment --></div><!-- contents -->
</div><!-- doc-content -->
<div class="ttc" id="aclass_intelli_tool_html_a3fbd2584566b3cefcf3c070ae0b69d8fad3fa1aa45b9fe56e1fc1b558d8ed6678"><div class="ttname"><a href="class_intelli_tool.html#a3fbd2584566b3cefcf3c070ae0b69d8fad3fa1aa45b9fe56e1fc1b558d8ed6678">IntelliTool::Tooltype::PEN</a></div><div class="ttdeci">@ PEN</div></div>
<div class="ttc" id="aclass_intelli_tool_html_a1e6aa68ac5f3c2ca02319e5ef3f0c966"><div class="ttname"><a href="class_intelli_tool.html#a1e6aa68ac5f3c2ca02319e5ef3f0c966">IntelliTool::onMouseRightPressed</a></div><div class="ttdeci">virtual void onMouseRightPressed(int x, int y)</div><div class="ttdoc">A function managing the right click Pressed of a Mouse. Constructing the Canvas to draw on....</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_8cpp_source.html#l00018">IntelliTool.cpp:18</a></div></div>
<div class="ttc" id="aclass_intelli_tool_html_a906a2575c16c8a33cb2a5197f8d8cc5b"><div class="ttname"><a href="class_intelli_tool.html#a906a2575c16c8a33cb2a5197f8d8cc5b">IntelliTool::onMouseLeftReleased</a></div><div class="ttdeci">virtual void onMouseLeftReleased(int x, int y)</div><div class="ttdoc">A function managing the left click Released of a Mouse. Call this in child classes!</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_8cpp_source.html#l00036">IntelliTool.cpp:36</a></div></div>
<div class="ttc" id="aclass_intelli_tool_html_ae2e0ac394611a361ab4ef2fe55c03fef"><div class="ttname"><a href="class_intelli_tool.html#ae2e0ac394611a361ab4ef2fe55c03fef">IntelliTool::colorPicker</a></div><div class="ttdeci">IntelliColorPicker * colorPicker</div><div class="ttdoc">A pointer to the IntelliColorPicker of the PaintingArea to interact with, and get the colors.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_8h_source.html#l00057">IntelliTool.h:57</a></div></div>
<div class="ttc" id="aclass_intelli_tool_html_a34b7ef1dde96b94a0ce450a25ae1778c"><div class="ttname"><a href="class_intelli_tool.html#a34b7ef1dde96b94a0ce450a25ae1778c">IntelliTool::onMouseLeftPressed</a></div><div class="ttdeci">virtual void onMouseLeftPressed(int x, int y)</div><div class="ttdoc">A function managing the left click Pressed of a Mouse. Resetting the current draw....</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_8cpp_source.html#l00029">IntelliTool.cpp:29</a></div></div>
<div class="ttc" id="aclass_intelli_tool_html_a55f6b45b416b7d790fa8bc09603bf67f"><div class="ttname"><a href="class_intelli_tool.html#a55f6b45b416b7d790fa8bc09603bf67f">IntelliTool::Toolsettings</a></div><div class="ttdeci">IntelliToolsettings * Toolsettings</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_8h_source.html#l00059">IntelliTool.h:59</a></div></div>
<div class="ttc" id="aclass_intelli_tool_html_a3fbd2584566b3cefcf3c070ae0b69d8fa526904ea67131c56718f9882518b5d93"><div class="ttname"><a href="class_intelli_tool.html#a3fbd2584566b3cefcf3c070ae0b69d8fa526904ea67131c56718f9882518b5d93">IntelliTool::Tooltype::FLOODFILL</a></div><div class="ttdeci">@ FLOODFILL</div></div>
<div class="ttc" id="a_intelli_toolsettings_8h_html"><div class="ttname"><a href="_intelli_toolsettings_8h.html">IntelliToolsettings.h</a></div></div>
<div class="ttc" id="aclass_intelli_tool_html_a3fbd2584566b3cefcf3c070ae0b69d8fab50339a10e1de285ac99d4c3990b8693"><div class="ttname"><a href="class_intelli_tool.html#a3fbd2584566b3cefcf3c070ae0b69d8fab50339a10e1de285ac99d4c3990b8693">IntelliTool::Tooltype::NONE</a></div><div class="ttdeci">@ NONE</div></div>
<div class="ttc" id="aclass_intelli_tool_html_ab4c2698a0f9f25fb6639ec760d2d0289"><div class="ttname"><a href="class_intelli_tool.html#ab4c2698a0f9f25fb6639ec760d2d0289">IntelliTool::Area</a></div><div class="ttdeci">PaintingArea * Area</div><div class="ttdoc">A pointer to the general PaintingArea to interact with.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_8h_source.html#l00050">IntelliTool.h:50</a></div></div>
<div class="ttc" id="aclass_intelli_tool_html_a3fbd2584566b3cefcf3c070ae0b69d8f"><div class="ttname"><a href="class_intelli_tool.html#a3fbd2584566b3cefcf3c070ae0b69d8f">IntelliTool::Tooltype</a></div><div class="ttdeci">Tooltype</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_8h_source.html#l00020">IntelliTool.h:20</a></div></div>
<div class="ttc" id="aclass_painting_area_html"><div class="ttname"><a href="class_painting_area.html">PaintingArea</a></div><div class="ttdoc">The PaintingArea class manages the methods and stores information about the current painting area,...</div><div class="ttdef"><b>Definition:</b> <a href="_painting_area_8h_source.html#l00053">PaintingArea.h:53</a></div></div>
<div class="ttc" id="aclass_intelli_tool_html_a555aa8a74992327f740dd69b3bb0ccca"><div class="ttname"><a href="class_intelli_tool.html#a555aa8a74992327f740dd69b3bb0ccca">IntelliTool::isDrawing</a></div><div class="ttdeci">bool isDrawing</div><div class="ttdoc">A flag checking if the user is currently drawing or not.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_8h_source.html#l00074">IntelliTool.h:74</a></div></div>
<div class="ttc" id="astruct_layer_object_html"><div class="ttname"><a href="struct_layer_object.html">LayerObject</a></div><div class="ttdoc">The LayerObject struct holds all the information needed to construct a layer.</div><div class="ttdef"><b>Definition:</b> <a href="_painting_area_8h_source.html#l00023">PaintingArea.h:23</a></div></div>
<div class="ttc" id="aclass_intelli_tool_html_a16189b00307c6d7e89f28198f54404b0"><div class="ttname"><a href="class_intelli_tool.html#a16189b00307c6d7e89f28198f54404b0">IntelliTool::onMouseRightReleased</a></div><div class="ttdeci">virtual void onMouseRightReleased(int x, int y)</div><div class="ttdoc">A function managing the right click Released of a Mouse. Merging the Canvas to Active....</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_8cpp_source.html#l00025">IntelliTool.cpp:25</a></div></div>
<div class="ttc" id="aclass_intelli_tool_html_aedccdad01b2bc6ec84fad3582251ff5d"><div class="ttname"><a href="class_intelli_tool.html#aedccdad01b2bc6ec84fad3582251ff5d">IntelliTool::activeLayer</a></div><div class="ttdeci">LayerObject * activeLayer</div><div class="ttdoc">A pointer to the underlying active Layer, do not work on this. This is used for data grabbing or prev...</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_8h_source.html#l00064">IntelliTool.h:64</a></div></div>
<div class="ttc" id="aclass_intelli_tool_html_a3fbd2584566b3cefcf3c070ae0b69d8faf62eb0bf5e5c72e80983fbbac1cb70e5"><div class="ttname"><a href="class_intelli_tool.html#a3fbd2584566b3cefcf3c070ae0b69d8faf62eb0bf5e5c72e80983fbbac1cb70e5">IntelliTool::Tooltype::PLAIN</a></div><div class="ttdeci">@ PLAIN</div></div>
<div class="ttc" id="a_intelli_color_picker_8h_html"><div class="ttname"><a href="_intelli_color_picker_8h.html">IntelliColorPicker.h</a></div></div>
<div class="ttc" id="aclass_intelli_tool_html_a3fbd2584566b3cefcf3c070ae0b69d8faecdc92bf56d960b73b02ee40125758bc"><div class="ttname"><a href="class_intelli_tool.html#a3fbd2584566b3cefcf3c070ae0b69d8faecdc92bf56d960b73b02ee40125758bc">IntelliTool::Tooltype::POLYGON</a></div><div class="ttdeci">@ POLYGON</div></div>
<div class="ttc" id="aclass_intelli_tool_html_aae2a11c5bae4973ed827c60e0c1352b1"><div class="ttname"><a href="class_intelli_tool.html#aae2a11c5bae4973ed827c60e0c1352b1">IntelliTool::getTooltype</a></div><div class="ttdeci">Tooltype getTooltype()</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_8cpp_source.html#l00099">IntelliTool.cpp:99</a></div></div>
<div class="ttc" id="aclass_intelli_tool_html_a144d469cc03584f501194529a1b53c77"><div class="ttname"><a href="class_intelli_tool.html#a144d469cc03584f501194529a1b53c77">IntelliTool::Canvas</a></div><div class="ttdeci">LayerObject * Canvas</div><div class="ttdoc">A pointer to the drawing canvas of the tool, work on this.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_8h_source.html#l00069">IntelliTool.h:69</a></div></div>
<div class="ttc" id="aclass_intelli_tool_html"><div class="ttname"><a href="class_intelli_tool.html">IntelliTool</a></div><div class="ttdoc">An abstract class that manages the basic events, like mouse clicks or scrolls events.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_8h_source.html#l00017">IntelliTool.h:17</a></div></div>
<div class="ttc" id="aclass_intelli_tool_html_a0020fad2e26315d5c4d96dbc95d1dceb"><div class="ttname"><a href="class_intelli_tool.html#a0020fad2e26315d5c4d96dbc95d1dceb">IntelliTool::getIsDrawing</a></div><div class="ttdeci">bool getIsDrawing()</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_8cpp_source.html#l00103">IntelliTool.cpp:103</a></div></div>
<div class="ttc" id="aclass_intelli_tool_html_a631388999f36013628e13b9de87a6f7b"><div class="ttname"><a href="class_intelli_tool.html#a631388999f36013628e13b9de87a6f7b">IntelliTool::ActiveType</a></div><div class="ttdeci">Tooltype ActiveType</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_8h_source.html#l00052">IntelliTool.h:52</a></div></div>
<div class="ttc" id="aclass_intelli_color_picker_html"><div class="ttname"><a href="class_intelli_color_picker.html">IntelliColorPicker</a></div><div class="ttdoc">The IntelliColorPicker manages the selected colors for one whole project.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_color_picker_8h_source.html#l00014">IntelliColorPicker.h:14</a></div></div>
<div class="ttc" id="aclass_intelli_tool_html_a08ef094271ce6248b42f888472463526"><div class="ttname"><a href="class_intelli_tool.html#a08ef094271ce6248b42f888472463526">IntelliTool::IntelliTool</a></div><div class="ttdeci">IntelliTool(PaintingArea *Area, IntelliColorPicker *colorPicker, IntelliToolsettings *Toolsettings)</div><div class="ttdoc">A constructor setting the general Painting Area and colorPicker.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_8cpp_source.html#l00004">IntelliTool.cpp:4</a></div></div>
<div class="ttc" id="aclass_intelli_tool_html_a3fbd2584566b3cefcf3c070ae0b69d8fa8e8e58fe94ab307a826e087028a7c01a"><div class="ttname"><a href="class_intelli_tool.html#a3fbd2584566b3cefcf3c070ae0b69d8fa8e8e58fe94ab307a826e087028a7c01a">IntelliTool::Tooltype::RECTANGLE</a></div><div class="ttdeci">@ RECTANGLE</div></div>
<div class="ttc" id="aclass_unit_test_html"><div class="ttname"><a href="class_unit_test.html">UnitTest</a></div><div class="ttdef"><b>Definition:</b> <a href="main_unit_test_8cpp_source.html#l00008">mainUnitTest.cpp:8</a></div></div>
<div class="ttc" id="aclass_intelli_tool_html_a3fbd2584566b3cefcf3c070ae0b69d8fa17b8ef2c330f1430e00c9de5469fc7e7"><div class="ttname"><a href="class_intelli_tool.html#a3fbd2584566b3cefcf3c070ae0b69d8fa17b8ef2c330f1430e00c9de5469fc7e7">IntelliTool::Tooltype::LINE</a></div><div class="ttdeci">@ LINE</div></div>
<div class="ttc" id="aclass_intelli_tool_html_ac10e20414cd8855a2f9b103fb6408639"><div class="ttname"><a href="class_intelli_tool.html#ac10e20414cd8855a2f9b103fb6408639">IntelliTool::onMouseMoved</a></div><div class="ttdeci">virtual void onMouseMoved(int x, int y)</div><div class="ttdoc">A function managing the mouse moved event. Call this in child classes!</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_8cpp_source.html#l00046">IntelliTool.cpp:46</a></div></div>
<div class="ttc" id="aclass_intelli_tool_html_a4dccfd4460255ccb866f336406a33574"><div class="ttname"><a href="class_intelli_tool.html#a4dccfd4460255ccb866f336406a33574">IntelliTool::onWheelScrolled</a></div><div class="ttdeci">virtual void onWheelScrolled(int value)</div><div class="ttdoc">A function managing the scroll event. A positive value means scrolling outwards. Call this in child c...</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_8cpp_source.html#l00051">IntelliTool.cpp:51</a></div></div>
<div class="ttc" id="aclass_intelli_toolsettings_html"><div class="ttname"><a href="class_intelli_toolsettings.html">IntelliToolsettings</a></div><div class="ttdef"><b>Definition:</b> <a href="_intelli_toolsettings_8h_source.html#l00007">IntelliToolsettings.h:7</a></div></div>
<div class="ttc" id="aclass_intelli_tool_html_a57fb1b27d364c9e3696eb928b75fa9f2"><div class="ttname"><a href="class_intelli_tool.html#a57fb1b27d364c9e3696eb928b75fa9f2">IntelliTool::~IntelliTool</a></div><div class="ttdeci">virtual ~IntelliTool()=0</div><div class="ttdoc">An abstract Destructor.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_8cpp_source.html#l00014">IntelliTool.cpp:14</a></div></div>
<div class="ttc" id="aclass_intelli_tool_html_a3fbd2584566b3cefcf3c070ae0b69d8fa0af50777920c1401ab975cab64c4d491"><div class="ttname"><a href="class_intelli_tool.html#a3fbd2584566b3cefcf3c070ae0b69d8fa0af50777920c1401ab975cab64c4d491">IntelliTool::Tooltype::CIRCLE</a></div><div class="ttdeci">@ CIRCLE</div></div>
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
<ul>
<li class="navelem"><a class="el" href="dir_68267d1309a1af8e8297ef4c3efbcdba.html">src</a></li><li class="navelem"><a class="el" href="dir_858355f3357c73763e566ff49d1e6a7a.html">Tool</a></li><li class="navelem"><a class="el" href="_intelli_tool_8h.html">IntelliTool.h</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>