summaryrefslogtreecommitdiffstats
path: root/Project/Exponential.h
diff options
context:
space:
mode:
authorThales Lima Oliveira <thaleslima.ufu@gmail.com>2017-03-31 18:16:05 -0300
committerThales Lima Oliveira <thaleslima.ufu@gmail.com>2017-03-31 18:16:05 -0300
commita684d5c9c9dd131060b5a36d7c7844ae197fcfd1 (patch)
tree2699de592502d41da8dcc8d8bad322df1573a415 /Project/Exponential.h
parent045037ce8f2b106acbe5425245746a2dbed65c26 (diff)
downloadPSP.git-a684d5c9c9dd131060b5a36d7c7844ae197fcfd1.tar.gz
PSP.git-a684d5c9c9dd131060b5a36d7c7844ae197fcfd1.tar.xz
PSP.git-a684d5c9c9dd131060b5a36d7c7844ae197fcfd1.zip
Exponencial implemented
Diffstat (limited to 'Project/Exponential.h')
-rw-r--r--Project/Exponential.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/Project/Exponential.h b/Project/Exponential.h
index f22299a..c8117c0 100644
--- a/Project/Exponential.h
+++ b/Project/Exponential.h
@@ -3,11 +3,19 @@
#include "ControlElement.h"
-class Exponential : ControlElement
+class Exponential : public ControlElement
{
public:
Exponential();
~Exponential();
+
+ virtual void Draw(wxPoint2DDouble translation, double scale) const;
+ virtual bool Contains(wxPoint2DDouble position) const { return m_rect.Contains(position); }
+ virtual bool Intersects(wxRect2DDouble rect) const { return m_rect.Intersects(rect); }
+ virtual bool ShowForm(wxWindow* parent, Element* element);
+ virtual void Rotate(bool clockwise = true);
+
+ virtual void UpdatePoints();
};