box_pipe.h 494 Bytes
Newer Older
ita1024's avatar
ita1024 committed
1
// Thomas Nagy 2017-2018 GPLV3
ita1024's avatar
ita1024 committed
2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20

#ifndef BOX_PIPE_H
#define BOX_PIPE_H

#include <QGraphicsRectItem>
#include <QBrush>
#include "res:zable.h"
#include "ed:table.h"
#include "box_item.h"
#include "CON.h"
#include "con.h"

#define OFF 3

class box_pipe : public box_item
{
	public:
		void paint(QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *);
		box_pipe(box_view*, int i_iId);
21 22 23
		~box_pipe();
		void update_links();
		QGraphicsTextItem *m_oCaption;
ita1024's avatar
ita1024 committed
24 25 26 27
};

#endif // BOX_PIPE_H