mirror of
https://github.com/creyD/intelliphoto.git
synced 2026-04-13 03:40:31 +02:00
Updated docs
This commit is contained in:
@@ -95,6 +95,9 @@ $(document).ready(function(){initNavTree('class_intelli_tool.html','');});
|
||||
</div><!--header-->
|
||||
<div class="contents">
|
||||
|
||||
<p>An abstract class that manages the basic events, like mouse clicks or scrolls events.
|
||||
<a href="class_intelli_tool.html#details">More...</a></p>
|
||||
|
||||
<p><code>#include <<a class="el" href="_intelli_tool_8h_source.html">IntelliTool.h</a>></code></p>
|
||||
<div class="dynheader">
|
||||
Inheritance diagram for IntelliTool:</div>
|
||||
@@ -110,36 +113,52 @@ Collaboration diagram for IntelliTool:</div>
|
||||
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
|
||||
Public Member Functions</h2></td></tr>
|
||||
<tr class="memitem:a346dd55d489fced38e7bb46f9168af91"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="class_intelli_tool.html#a346dd55d489fced38e7bb46f9168af91">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>)</td></tr>
|
||||
<tr class="memdesc:a346dd55d489fced38e7bb46f9168af91"><td class="mdescLeft"> </td><td class="mdescRight">A constructor setting the general Painting Area and colorPicker. <a href="class_intelli_tool.html#a346dd55d489fced38e7bb46f9168af91">More...</a><br /></td></tr>
|
||||
<tr class="separator:a346dd55d489fced38e7bb46f9168af91"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a57fb1b27d364c9e3696eb928b75fa9f2"><td class="memItemLeft" align="right" valign="top">virtual </td><td class="memItemRight" valign="bottom"><a class="el" href="class_intelli_tool.html#a57fb1b27d364c9e3696eb928b75fa9f2">~IntelliTool</a> ()=0</td></tr>
|
||||
<tr class="memdesc:a57fb1b27d364c9e3696eb928b75fa9f2"><td class="mdescLeft"> </td><td class="mdescRight">An abstract Destructor. <a href="class_intelli_tool.html#a57fb1b27d364c9e3696eb928b75fa9f2">More...</a><br /></td></tr>
|
||||
<tr class="separator:a57fb1b27d364c9e3696eb928b75fa9f2"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a1e6aa68ac5f3c2ca02319e5ef3f0c966"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_intelli_tool.html#a1e6aa68ac5f3c2ca02319e5ef3f0c966">onMouseRightPressed</a> (int x, int y)</td></tr>
|
||||
<tr class="memdesc:a1e6aa68ac5f3c2ca02319e5ef3f0c966"><td class="mdescLeft"> </td><td class="mdescRight">A function managing the right click Pressed of a Mouse. Constructing the Canvas to draw on. Call this in child classes! <a href="class_intelli_tool.html#a1e6aa68ac5f3c2ca02319e5ef3f0c966">More...</a><br /></td></tr>
|
||||
<tr class="separator:a1e6aa68ac5f3c2ca02319e5ef3f0c966"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a16189b00307c6d7e89f28198f54404b0"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_intelli_tool.html#a16189b00307c6d7e89f28198f54404b0">onMouseRightReleased</a> (int x, int y)</td></tr>
|
||||
<tr class="memdesc:a16189b00307c6d7e89f28198f54404b0"><td class="mdescLeft"> </td><td class="mdescRight">A function managing the right click Released of a Mouse. Merging the Canvas to Active. Call this in child classes! <a href="class_intelli_tool.html#a16189b00307c6d7e89f28198f54404b0">More...</a><br /></td></tr>
|
||||
<tr class="separator:a16189b00307c6d7e89f28198f54404b0"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a34b7ef1dde96b94a0ce450a25ae1778c"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_intelli_tool.html#a34b7ef1dde96b94a0ce450a25ae1778c">onMouseLeftPressed</a> (int x, int y)</td></tr>
|
||||
<tr class="memdesc:a34b7ef1dde96b94a0ce450a25ae1778c"><td class="mdescLeft"> </td><td class="mdescRight">A function managing the left click Pressed of a Mouse. Resetting the current draw. Call this in child classes! <a href="class_intelli_tool.html#a34b7ef1dde96b94a0ce450a25ae1778c">More...</a><br /></td></tr>
|
||||
<tr class="separator:a34b7ef1dde96b94a0ce450a25ae1778c"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a906a2575c16c8a33cb2a5197f8d8cc5b"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_intelli_tool.html#a906a2575c16c8a33cb2a5197f8d8cc5b">onMouseLeftReleased</a> (int x, int y)</td></tr>
|
||||
<tr class="memdesc:a906a2575c16c8a33cb2a5197f8d8cc5b"><td class="mdescLeft"> </td><td class="mdescRight">A function managing the left click Released of a Mouse. Call this in child classes! <a href="class_intelli_tool.html#a906a2575c16c8a33cb2a5197f8d8cc5b">More...</a><br /></td></tr>
|
||||
<tr class="separator:a906a2575c16c8a33cb2a5197f8d8cc5b"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a4dccfd4460255ccb866f336406a33574"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_intelli_tool.html#a4dccfd4460255ccb866f336406a33574">onWheelScrolled</a> (int value)</td></tr>
|
||||
<tr class="memdesc:a4dccfd4460255ccb866f336406a33574"><td class="mdescLeft"> </td><td class="mdescRight">A function managing the scroll event. A Positive Value means scrolling outwards. Call this in child classes! <a href="class_intelli_tool.html#a4dccfd4460255ccb866f336406a33574">More...</a><br /></td></tr>
|
||||
<tr class="separator:a4dccfd4460255ccb866f336406a33574"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:ac10e20414cd8855a2f9b103fb6408639"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_intelli_tool.html#ac10e20414cd8855a2f9b103fb6408639">onMouseMoved</a> (int x, int y)</td></tr>
|
||||
<tr class="memdesc:ac10e20414cd8855a2f9b103fb6408639"><td class="mdescLeft"> </td><td class="mdescRight">A function managing the mouse moved event. Call this in child classes! <a href="class_intelli_tool.html#ac10e20414cd8855a2f9b103fb6408639">More...</a><br /></td></tr>
|
||||
<tr class="separator:ac10e20414cd8855a2f9b103fb6408639"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
</table><table class="memberdecls">
|
||||
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-attribs"></a>
|
||||
Protected Attributes</h2></td></tr>
|
||||
<tr class="memitem:ab4c2698a0f9f25fb6639ec760d2d0289"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_painting_area.html">PaintingArea</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="class_intelli_tool.html#ab4c2698a0f9f25fb6639ec760d2d0289">Area</a></td></tr>
|
||||
<tr class="memdesc:ab4c2698a0f9f25fb6639ec760d2d0289"><td class="mdescLeft"> </td><td class="mdescRight">A pointer to the general <a class="el" href="class_painting_area.html">PaintingArea</a> to interact with. <a href="class_intelli_tool.html#ab4c2698a0f9f25fb6639ec760d2d0289">More...</a><br /></td></tr>
|
||||
<tr class="separator:ab4c2698a0f9f25fb6639ec760d2d0289"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:ae2e0ac394611a361ab4ef2fe55c03fef"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_intelli_color_picker.html">IntelliColorPicker</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="class_intelli_tool.html#ae2e0ac394611a361ab4ef2fe55c03fef">colorPicker</a></td></tr>
|
||||
<tr class="memdesc:ae2e0ac394611a361ab4ef2fe55c03fef"><td class="mdescLeft"> </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">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"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a13512e95d21a9934ecb36d73b118c25f"><td class="memItemLeft" align="right" valign="top"><a class="el" href="struct_layer_object.html">LayerObject</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="class_intelli_tool.html#a13512e95d21a9934ecb36d73b118c25f">Active</a></td></tr>
|
||||
<tr class="memdesc:a13512e95d21a9934ecb36d73b118c25f"><td class="mdescLeft"> </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#a13512e95d21a9934ecb36d73b118c25f">More...</a><br /></td></tr>
|
||||
<tr class="separator:a13512e95d21a9934ecb36d73b118c25f"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a144d469cc03584f501194529a1b53c77"><td class="memItemLeft" align="right" valign="top"><a class="el" href="struct_layer_object.html">LayerObject</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="class_intelli_tool.html#a144d469cc03584f501194529a1b53c77">Canvas</a></td></tr>
|
||||
<tr class="memdesc:a144d469cc03584f501194529a1b53c77"><td class="mdescLeft"> </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"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:af256de16e9825922d20a23d11617b51b"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="class_intelli_tool.html#af256de16e9825922d20a23d11617b51b">drawing</a> = false</td></tr>
|
||||
<tr class="memdesc:af256de16e9825922d20a23d11617b51b"><td class="mdescLeft"> </td><td class="mdescRight">A flag checking if the user is currently drawing or not. <a href="class_intelli_tool.html#af256de16e9825922d20a23d11617b51b">More...</a><br /></td></tr>
|
||||
<tr class="separator:af256de16e9825922d20a23d11617b51b"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
</table>
|
||||
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
|
||||
<div class="textblock">
|
||||
<p class="definition">Definition at line <a class="el" href="_intelli_tool_8h_source.html#l00010">10</a> of file <a class="el" href="_intelli_tool_8h_source.html">IntelliTool.h</a>.</p>
|
||||
<div class="textblock"><p>An abstract class that manages the basic events, like mouse clicks or scrolls events. </p>
|
||||
|
||||
<p class="definition">Definition at line <a class="el" href="_intelli_tool_8h_source.html#l00013">13</a> of file <a class="el" href="_intelli_tool_8h_source.html">IntelliTool.h</a>.</p>
|
||||
</div><h2 class="groupheader">Constructor & Destructor Documentation</h2>
|
||||
<a id="a346dd55d489fced38e7bb46f9168af91"></a>
|
||||
<h2 class="memtitle"><span class="permalink"><a href="#a346dd55d489fced38e7bb46f9168af91">◆ </a></span>IntelliTool()</h2>
|
||||
@@ -167,6 +186,15 @@ Protected Attributes</h2></td></tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>A constructor setting the general Painting Area and colorPicker. </p>
|
||||
<dl class="params"><dt>Parameters</dt><dd>
|
||||
<table class="params">
|
||||
<tr><td class="paramname">Area</td><td>- The general <a class="el" href="class_painting_area.html">PaintingArea</a> 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_8cpp_source.html#l00004">4</a> of file <a class="el" href="_intelli_tool_8cpp_source.html">IntelliTool.cpp</a>.</p>
|
||||
|
||||
</div>
|
||||
@@ -194,6 +222,8 @@ Protected Attributes</h2></td></tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>An abstract Destructor. </p>
|
||||
|
||||
<p class="definition">Definition at line <a class="el" href="_intelli_tool_8cpp_source.html#l00010">10</a> of file <a class="el" href="_intelli_tool_8cpp_source.html">IntelliTool.cpp</a>.</p>
|
||||
|
||||
</div>
|
||||
@@ -233,7 +263,16 @@ Protected Attributes</h2></td></tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Reimplemented in <a class="el" href="class_intelli_tool_line.html#a155d676a5f98311217eb095be4759846">IntelliToolLine</a>, <a class="el" href="class_intelli_tool_pen.html#a8ff40aef6d38eb55af31a19322429205">IntelliToolPen</a>, and <a class="el" href="class_intelli_tool_plain_tool.html#ab786dd5fa80af863246013d43c4b7ac9">IntelliToolPlainTool</a>.</p>
|
||||
<p>A function managing the left click Pressed of a Mouse. Resetting the current draw. Call this in child classes! </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 in <a class="el" href="class_intelli_tool_line.html#a155d676a5f98311217eb095be4759846">IntelliToolLine</a>, <a class="el" href="class_intelli_tool_rectangle.html#ae03c307ccf66cbe3fd59e3657712368d">IntelliToolRectangle</a>, <a class="el" href="class_intelli_tool_circle.html#ae883b8ae833c78a8867e626c600f9639">IntelliToolCircle</a>, <a class="el" href="class_intelli_tool_pen.html#a8ff40aef6d38eb55af31a19322429205">IntelliToolPen</a>, <a class="el" href="class_intelli_tool_flood_fill.html#ac85e3cb6233508ff9612833a8d9e3961">IntelliToolFloodFill</a>, and <a class="el" href="class_intelli_tool_plain_tool.html#ab786dd5fa80af863246013d43c4b7ac9">IntelliToolPlainTool</a>.</p>
|
||||
|
||||
<p class="definition">Definition at line <a class="el" href="_intelli_tool_8cpp_source.html#l00025">25</a> of file <a class="el" href="_intelli_tool_8cpp_source.html">IntelliTool.cpp</a>.</p>
|
||||
<div class="dynheader">
|
||||
@@ -283,7 +322,16 @@ Here is the caller graph for this function:</div>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Reimplemented in <a class="el" href="class_intelli_tool_line.html#ac93f76ff20a1c111a403b298bab02482">IntelliToolLine</a>, <a class="el" href="class_intelli_tool_pen.html#abda7a22b9766fa4ad254324a53cab94d">IntelliToolPen</a>, and <a class="el" href="class_intelli_tool_plain_tool.html#ac23f5d0f07e42fd7c2ea3fc1347da400">IntelliToolPlainTool</a>.</p>
|
||||
<p>A function managing the left click Released of a Mouse. Call this in child classes! </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 in <a class="el" href="class_intelli_tool_line.html#ac93f76ff20a1c111a403b298bab02482">IntelliToolLine</a>, <a class="el" href="class_intelli_tool_rectangle.html#a94460e3ff1c19e80bde922c55f53cc43">IntelliToolRectangle</a>, <a class="el" href="class_intelli_tool_circle.html#ad8e438ec997c57262b5efc2db4cee1a3">IntelliToolCircle</a>, <a class="el" href="class_intelli_tool_pen.html#abda7a22b9766fa4ad254324a53cab94d">IntelliToolPen</a>, <a class="el" href="class_intelli_tool_flood_fill.html#a7438ef96c6c36068bce76e2364e8594c">IntelliToolFloodFill</a>, and <a class="el" href="class_intelli_tool_plain_tool.html#ac23f5d0f07e42fd7c2ea3fc1347da400">IntelliToolPlainTool</a>.</p>
|
||||
|
||||
<p class="definition">Definition at line <a class="el" href="_intelli_tool_8cpp_source.html#l00032">32</a> of file <a class="el" href="_intelli_tool_8cpp_source.html">IntelliTool.cpp</a>.</p>
|
||||
<div class="dynheader">
|
||||
@@ -333,7 +381,16 @@ Here is the caller graph for this function:</div>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Reimplemented in <a class="el" href="class_intelli_tool_line.html#abc6324ef0778823fe7e35aef8ae37f9b">IntelliToolLine</a>, <a class="el" href="class_intelli_tool_pen.html#a58d1d636497b630647ce0c4d652737c2">IntelliToolPen</a>, and <a class="el" href="class_intelli_tool_plain_tool.html#ad7546a6335bb3bb4cbf0e1883788d41c">IntelliToolPlainTool</a>.</p>
|
||||
<p>A function managing the mouse moved event. Call this in child classes! </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 in <a class="el" href="class_intelli_tool_line.html#abc6324ef0778823fe7e35aef8ae37f9b">IntelliToolLine</a>, <a class="el" href="class_intelli_tool_rectangle.html#a4b5931071e21eb6949ffe357315e408b">IntelliToolRectangle</a>, <a class="el" href="class_intelli_tool_circle.html#a90ee58c5390a86afc75c14ca79b91d7b">IntelliToolCircle</a>, <a class="el" href="class_intelli_tool_pen.html#a58d1d636497b630647ce0c4d652737c2">IntelliToolPen</a>, <a class="el" href="class_intelli_tool_flood_fill.html#a3cd42cea99bc7583875abcc0c274c668">IntelliToolFloodFill</a>, and <a class="el" href="class_intelli_tool_plain_tool.html#ad7546a6335bb3bb4cbf0e1883788d41c">IntelliToolPlainTool</a>.</p>
|
||||
|
||||
<p class="definition">Definition at line <a class="el" href="_intelli_tool_8cpp_source.html#l00041">41</a> of file <a class="el" href="_intelli_tool_8cpp_source.html">IntelliTool.cpp</a>.</p>
|
||||
<div class="dynheader">
|
||||
@@ -383,7 +440,16 @@ Here is the caller graph for this function:</div>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Reimplemented in <a class="el" href="class_intelli_tool_line.html#a6cce59f3017936214b10b47252a898a3">IntelliToolLine</a>, <a class="el" href="class_intelli_tool_pen.html#a1751e3864a0d36ef42ca55021cae73ce">IntelliToolPen</a>, and <a class="el" href="class_intelli_tool_plain_tool.html#acb0c46e16d2c09370a2244a936de38b1">IntelliToolPlainTool</a>.</p>
|
||||
<p>A function managing the right click Pressed of a Mouse. Constructing the Canvas to draw on. Call this in child classes! </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 in <a class="el" href="class_intelli_tool_line.html#a6cce59f3017936214b10b47252a898a3">IntelliToolLine</a>, <a class="el" href="class_intelli_tool_rectangle.html#a480c6804a4963c5a1c3f7ef84b63c1a8">IntelliToolRectangle</a>, <a class="el" href="class_intelli_tool_circle.html#a29d7b9ed4960e6fe1f31ff620363e429">IntelliToolCircle</a>, <a class="el" href="class_intelli_tool_pen.html#a1751e3864a0d36ef42ca55021cae73ce">IntelliToolPen</a>, <a class="el" href="class_intelli_tool_flood_fill.html#ada0f7154d119102410a55038763a17e4">IntelliToolFloodFill</a>, and <a class="el" href="class_intelli_tool_plain_tool.html#acb0c46e16d2c09370a2244a936de38b1">IntelliToolPlainTool</a>.</p>
|
||||
|
||||
<p class="definition">Definition at line <a class="el" href="_intelli_tool_8cpp_source.html#l00014">14</a> of file <a class="el" href="_intelli_tool_8cpp_source.html">IntelliTool.cpp</a>.</p>
|
||||
<div class="dynheader">
|
||||
@@ -428,7 +494,16 @@ Here is the caller graph for this function:</div>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Reimplemented in <a class="el" href="class_intelli_tool_line.html#a6214918cba5753f89d97de4559a2b9b2">IntelliToolLine</a>, <a class="el" href="class_intelli_tool_pen.html#abf8562e8cd2da586afdf4d47b3a4ff13">IntelliToolPen</a>, and <a class="el" href="class_intelli_tool_plain_tool.html#a2ae458f1b04eb77a47f6dca5e91e33b8">IntelliToolPlainTool</a>.</p>
|
||||
<p>A function managing the right click Released of a Mouse. Merging the Canvas to Active. Call this in child classes! </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 in <a class="el" href="class_intelli_tool_line.html#a6214918cba5753f89d97de4559a2b9b2">IntelliToolLine</a>, <a class="el" href="class_intelli_tool_rectangle.html#ad43f653256a6516b9398f82054be0d7f">IntelliToolRectangle</a>, <a class="el" href="class_intelli_tool_circle.html#aca07540f2f7ccb3d2c0b84890c1afc4c">IntelliToolCircle</a>, <a class="el" href="class_intelli_tool_pen.html#abf8562e8cd2da586afdf4d47b3a4ff13">IntelliToolPen</a>, <a class="el" href="class_intelli_tool_flood_fill.html#a39cf49c0ce46f96be3510f0b70c9d892">IntelliToolFloodFill</a>, and <a class="el" href="class_intelli_tool_plain_tool.html#a2ae458f1b04eb77a47f6dca5e91e33b8">IntelliToolPlainTool</a>.</p>
|
||||
|
||||
<p class="definition">Definition at line <a class="el" href="_intelli_tool_8cpp_source.html#l00021">21</a> of file <a class="el" href="_intelli_tool_8cpp_source.html">IntelliTool.cpp</a>.</p>
|
||||
<div class="dynheader">
|
||||
@@ -437,6 +512,49 @@ Here is the caller graph for this function:</div>
|
||||
<div class="center"><img src="class_intelli_tool_a16189b00307c6d7e89f28198f54404b0_icgraph.png" border="0" usemap="#class_intelli_tool_a16189b00307c6d7e89f28198f54404b0_icgraph" alt=""/></div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a id="a4dccfd4460255ccb866f336406a33574"></a>
|
||||
<h2 class="memtitle"><span class="permalink"><a href="#a4dccfd4460255ccb866f336406a33574">◆ </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 IntelliTool::onWheelScrolled </td>
|
||||
<td>(</td>
|
||||
<td class="paramtype">int </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">virtual</span></span> </td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>A function managing the scroll event. A Positive Value means scrolling outwards. Call this in child classes! </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 in <a class="el" href="class_intelli_tool_line.html#aaf1d686e1ec43f41b5186ccfd806b125">IntelliToolLine</a>, <a class="el" href="class_intelli_tool_rectangle.html#a445c53a56e859f970e59f5036e221e0c">IntelliToolRectangle</a>, <a class="el" href="class_intelli_tool_circle.html#ae2d9b0fb6695c184c4cb507a5fb75506">IntelliToolCircle</a>, <a class="el" href="class_intelli_tool_pen.html#afe3626ddff440ab125f4a2465c45427a">IntelliToolPen</a>, <a class="el" href="class_intelli_tool_flood_fill.html#ad58cc7c065123beb6b0270f99e99b991">IntelliToolFloodFill</a>, and <a class="el" href="class_intelli_tool_plain_tool.html#adc004ea421e2cc0ac39cc7a6b6d43d0d">IntelliToolPlainTool</a>.</p>
|
||||
|
||||
<p class="definition">Definition at line <a class="el" href="_intelli_tool_8cpp_source.html#l00046">46</a> of file <a class="el" href="_intelli_tool_8cpp_source.html">IntelliTool.cpp</a>.</p>
|
||||
<div class="dynheader">
|
||||
Here is the caller graph for this function:</div>
|
||||
<div class="dyncontent">
|
||||
<div class="center"><img src="class_intelli_tool_a4dccfd4460255ccb866f336406a33574_icgraph.png" border="0" usemap="#class_intelli_tool_a4dccfd4460255ccb866f336406a33574_icgraph" alt=""/></div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<h2 class="groupheader">Member Data Documentation</h2>
|
||||
@@ -460,7 +578,9 @@ Here is the caller graph for this function:</div>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p class="definition">Definition at line <a class="el" href="_intelli_tool_8h_source.html#l00019">19</a> of file <a class="el" href="_intelli_tool_8h_source.html">IntelliTool.h</a>.</p>
|
||||
<p>A pointer to the underlying active Layer, do not work on this. This is used for data grabbing or previews. </p>
|
||||
|
||||
<p class="definition">Definition at line <a class="el" href="_intelli_tool_8h_source.html#l00043">43</a> of file <a class="el" href="_intelli_tool_8h_source.html">IntelliTool.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
@@ -484,7 +604,9 @@ Here is the caller graph for this function:</div>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p class="definition">Definition at line <a class="el" href="_intelli_tool_8h_source.html#l00016">16</a> of file <a class="el" href="_intelli_tool_8h_source.html">IntelliTool.h</a>.</p>
|
||||
<p>A pointer to the general <a class="el" href="class_painting_area.html">PaintingArea</a> to interact with. </p>
|
||||
|
||||
<p class="definition">Definition at line <a class="el" href="_intelli_tool_8h_source.html#l00033">33</a> of file <a class="el" href="_intelli_tool_8h_source.html">IntelliTool.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
@@ -508,7 +630,9 @@ Here is the caller graph for this function:</div>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p class="definition">Definition at line <a class="el" href="_intelli_tool_8h_source.html#l00020">20</a> of file <a class="el" href="_intelli_tool_8h_source.html">IntelliTool.h</a>.</p>
|
||||
<p>A pointer to the drawing canvas of the tool, work on this. </p>
|
||||
|
||||
<p class="definition">Definition at line <a class="el" href="_intelli_tool_8h_source.html#l00048">48</a> of file <a class="el" href="_intelli_tool_8h_source.html">IntelliTool.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
@@ -532,7 +656,9 @@ Here is the caller graph for this function:</div>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p class="definition">Definition at line <a class="el" href="_intelli_tool_8h_source.html#l00017">17</a> of file <a class="el" href="_intelli_tool_8h_source.html">IntelliTool.h</a>.</p>
|
||||
<p>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">PaintingArea</a> to interact with, and get the colors. </p>
|
||||
|
||||
<p class="definition">Definition at line <a class="el" href="_intelli_tool_8h_source.html#l00038">38</a> of file <a class="el" href="_intelli_tool_8h_source.html">IntelliTool.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
@@ -556,13 +682,15 @@ Here is the caller graph for this function:</div>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p class="definition">Definition at line <a class="el" href="_intelli_tool_8h_source.html#l00021">21</a> of file <a class="el" href="_intelli_tool_8h_source.html">IntelliTool.h</a>.</p>
|
||||
<p>A flag checking if the user is currently drawing or not. </p>
|
||||
|
||||
<p class="definition">Definition at line <a class="el" href="_intelli_tool_8h_source.html#l00053">53</a> of file <a class="el" href="_intelli_tool_8h_source.html">IntelliTool.h</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_8h_source.html">IntelliTool.h</a></li>
|
||||
<li>src/Tool/<a class="el" href="_intelli_tool_8cpp_source.html">IntelliTool.cpp</a></li>
|
||||
<li>intelliphoto/src/Tool/<a class="el" href="_intelli_tool_8h_source.html">IntelliTool.h</a></li>
|
||||
<li>intelliphoto/src/Tool/<a class="el" href="_intelli_tool_8cpp_source.html">IntelliTool.cpp</a></li>
|
||||
</ul>
|
||||
</div><!-- contents -->
|
||||
</div><!-- doc-content -->
|
||||
|
||||
Reference in New Issue
Block a user