summaryrefslogtreecommitdiffstats
path: root/Project/PowerElement.h
diff options
context:
space:
mode:
Diffstat (limited to 'Project/PowerElement.h')
-rw-r--r--Project/PowerElement.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/Project/PowerElement.h b/Project/PowerElement.h
index 031834e..2a106cb 100644
--- a/Project/PowerElement.h
+++ b/Project/PowerElement.h
@@ -158,6 +158,11 @@ class PowerElement : public Element
virtual void DrawSwitches() const;
/**
+ * @brief Draw switch using device context.
+ */
+ virtual void DrawDCSwitches(wxGraphicsContext* gc) const;
+
+ /**
* @brief Calculate the points of the power flow arrows.
* @param edges Points of the element that arrows point.
*/
@@ -169,6 +174,12 @@ class PowerElement : public Element
virtual void DrawPowerFlowPts() const;
/**
+ * @brief Draw power flow arrows using device context.
+ * @param gc Device context.
+ */
+ virtual void DrawDCPowerFlowPts(wxGraphicsContext* gc) const;
+
+ /**
* @brief Set nominal voltage of the element.
* @param nominalVoltage Value of the nominal voltage.
* @param nominalVoltageUnit Unit of the nominal voltage.