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

16 lines
291 B
C++

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