circuit-logic-simulator/Parts/XnorGate.h

16 lines
271 B
C
Raw Normal View History

2020-03-24 20:18:39 +01:00
#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