circuit-logic-simulator/Parts/OrGate.h
2020-03-24 20:18:39 +01:00

16 lines
261 B
C++

#ifndef ORGATE_H
#define ORGATE_H
#include "../Part.h"
class OrGate : public Part
{
public:
OrGate(Logic* logic);
QVector<bool> compute(QVector<bool> inputs) override;
QPainterPath symbolPainterPath(QRect limits) override;
};
#endif // ORGATE_H