circuit-logic-simulator/Parts/BufferGate.h

16 lines
281 B
C
Raw Normal View History

2020-03-24 20:18:39 +01:00
#ifndef BUFFERGATE_H
#define BUFFERGATE_H
#include "../Part.h"
class BufferGate : public Part
{
public:
BufferGate(Logic* logic);
QVector<bool> compute(QVector<bool> inputs) override;
QPainterPath symbolPainterPath(QRect limits) override;
};
#endif // BUFFERGATE_H