diff options
author | ZipCPU <dgisselq@ieee.org> | 2018-06-07 15:46:21 -0400 |
---|---|---|
committer | ZipCPU <dgisselq@ieee.org> | 2018-06-07 15:46:21 -0400 |
commit | 87775d3c6f56bcaaf47e169822ae97b8370ac44f (patch) | |
tree | 6771accc538332b08aeceb25856cad45db183678 /gui/fpgaviewwidget.h | |
parent | 4499864024a5b658bf5772ed87e218bcdaedc262 (diff) | |
parent | e7ff22ce901102589173f7a7dc3e4ddbb030655f (diff) | |
download | nextpnr-87775d3c6f56bcaaf47e169822ae97b8370ac44f.tar.gz nextpnr-87775d3c6f56bcaaf47e169822ae97b8370ac44f.tar.bz2 nextpnr-87775d3c6f56bcaaf47e169822ae97b8370ac44f.zip |
Tried to add fixes *and* update clang-format jsonparse.cc
Diffstat (limited to 'gui/fpgaviewwidget.h')
-rw-r--r-- | gui/fpgaviewwidget.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gui/fpgaviewwidget.h b/gui/fpgaviewwidget.h index c222e405..bccff00d 100644 --- a/gui/fpgaviewwidget.h +++ b/gui/fpgaviewwidget.h @@ -1,15 +1,15 @@ #ifndef MAPGLWIDGET_H #define MAPGLWIDGET_H -#include <QOpenGLWidget> #include <QOpenGLFunctions> +#include <QOpenGLWidget> #include <QPainter> class FPGAViewWidget : public QOpenGLWidget, protected QOpenGLFunctions { Q_OBJECT -public: + public: FPGAViewWidget(QWidget *parent = 0); ~FPGAViewWidget(); @@ -24,7 +24,7 @@ public: void yRotationChanged(int angle); void zRotationChanged(int angle); -protected: + protected: void initializeGL() Q_DECL_OVERRIDE; void paintGL() Q_DECL_OVERRIDE; void resizeGL(int width, int height) Q_DECL_OVERRIDE; @@ -32,7 +32,7 @@ protected: void mouseMoveEvent(QMouseEvent *event) Q_DECL_OVERRIDE; void wheelEvent(QWheelEvent *event) Q_DECL_OVERRIDE; -private: + private: int m_windowWidth; int m_windowHeight; float m_xMove; |