circuit-logic-simulator/Parts/HighConstant.h

16 lines
291 B
C
Raw Normal View History

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