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

16 lines
286 B
C++

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