summaryrefslogtreecommitdiffstats
path: root/Project/SyncMotor.cpp
blob: 08399d2a88eafeaf41bbc59f2b80600a7a9dfa08 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#include "SyncMotor.h"

SyncMotor::SyncMotor() : Machines()
{
}

SyncMotor::~SyncMotor()
{
}

void SyncMotor::DrawSymbol() const
{
	DrawArc(m_position, 12, 30, 330, 10, GL_LINE_STRIP);
}

bool SyncMotor::GetContextMenu(wxMenu& menu)
{
	menu.Append(ID_EDIT_SYNCMOTOR, _("Edit Synchronous Condenser"));
    menu.Append(ID_ROTATE, _("Rotate"));
    menu.Append(ID_DELETE, _("Delete"));
    return true;
}