From b817a3f0e398c7e938ed1a37ebdbfc5a03eb7471 Mon Sep 17 00:00:00 2001 From: Thales1330 Date: Thu, 1 Sep 2016 18:23:35 -0300 Subject: generator under implementation --- Project/Element.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'Project/Element.h') diff --git a/Project/Element.h b/Project/Element.h index 5b7c09d..4dc278f 100644 --- a/Project/Element.h +++ b/Project/Element.h @@ -22,6 +22,7 @@ enum ContextMenuID ID_EDIT_BUS = 0, ID_EDIT_LINE, ID_EDIT_TRANSFORMER, + ID_EDIT_GENERATOR, ID_LINE_ADD_NODE, ID_LINE_REMOVE_NODE, @@ -57,11 +58,11 @@ class Element // Pure-virtuals methods virtual bool AddParent(Element* parent, wxPoint2DDouble position) = 0; virtual void Draw(wxPoint2DDouble translation, double scale) const = 0; - virtual void Rotate() = 0; virtual bool Contains(wxPoint2DDouble position) const = 0; virtual bool Intersects(wxRect2DDouble rect) const = 0; // General methods + virtual void Rotate() {} virtual bool GetContextMenu(wxMenu& menu) { return false; } virtual void AddPoint(wxPoint2DDouble point) {} virtual void StartMove(wxPoint2DDouble position); -- cgit