summaryrefslogtreecommitdiffhomepage
path: root/ftnoir_posewidget
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2014-09-22 09:39:40 +0200
committerStanislaw Halik <sthalik@misaki.pl>2014-09-22 09:39:40 +0200
commit1c07a40d12aee0dc1a0167fbfcfe62a2d7142d79 (patch)
tree0e9f48b4f6a42f8d711011cabdf89e06b90c1b39 /ftnoir_posewidget
parent35d3f9b53f9ee409ef39621e5579699ebf2f645a (diff)
core: plugin-api.hpp now exclusively provides interface
Diffstat (limited to 'ftnoir_posewidget')
-rw-r--r--ftnoir_posewidget/glwidget.h10
1 files changed, 3 insertions, 7 deletions
diff --git a/ftnoir_posewidget/glwidget.h b/ftnoir_posewidget/glwidget.h
index c4b2e09d..eef238ec 100644
--- a/ftnoir_posewidget/glwidget.h
+++ b/ftnoir_posewidget/glwidget.h
@@ -5,12 +5,11 @@
* copyright notice and this permission notice appear in all copies.
*/
-#ifndef GLWIDGET_H
-#define GLWIDGET_H
+#pragma once
#include <QtGui>
#include <QPixmap>
-#include "ftnoir_tracker_base/ftnoir_tracker_base.h"
+#include "facetracknoir/plugin-api.hpp"
struct Point {
Point(int x, int y) :
@@ -48,7 +47,7 @@ struct Vec2f {
}
};
-class FTNOIR_TRACKER_BASE_EXPORT GLWidget : public QWidget
+class OPENTRACK_EXPORT GLWidget : public QWidget
{
Q_OBJECT
@@ -56,7 +55,6 @@ public:
GLWidget(QWidget *parent);
~GLWidget();
void rotateBy(double xAngle, double yAngle, double zAngle);
-
protected:
void paintEvent ( QPaintEvent * event );
@@ -93,5 +91,3 @@ private:
QImage back;
QImage texture;
};
-
-#endif