summaryrefslogtreecommitdiffstats
path: root/Project/Load.h
blob: fcdaa6b2e09405f0e934f7c9606ccf678b51c95e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#ifndef LOAD_H
#define LOAD_H

#include "Shunt.h"

class Load : public Shunt
{
   public:
    Load();
    ~Load();

    virtual bool AddParent(Element* parent, wxPoint2DDouble position);
    virtual void Draw(wxPoint2DDouble translation, double scale) const;
    virtual void Rotate(bool clockwise = true);
    virtual bool GetContextMenu(wxMenu& menu);

   private:
    std::vector<wxPoint2DDouble> m_triangPts;
};

#endif  // LOAD_H