summaryrefslogtreecommitdiff
path: root/src/outputwindow.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/outputwindow.h')
-rw-r--r--src/outputwindow.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/outputwindow.h b/src/outputwindow.h
index 88b94c8..5f14099 100644
--- a/src/outputwindow.h
+++ b/src/outputwindow.h
@@ -40,13 +40,14 @@ Q_OBJECT
public:
OutputWindow();
- void reset();
-
void forward(int x);
void turn(int x);
+ void stopScript();
+
public slots:
void timeout();
+ void reset();
protected:
void paintEvent(QPaintEvent * event);
@@ -57,6 +58,8 @@ private:
QTimer timer;
QSemaphore sem;
QVector<QPointF> points;
+
+ volatile bool stop;
};
#endif/*__KAIMAN_OUTPUTWINDOW_H__*/