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

16 lines
271 B
C++

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