diff options
author | Miodrag Milanovic <mmicko@gmail.com> | 2018-06-06 22:53:52 +0200 |
---|---|---|
committer | Miodrag Milanovic <mmicko@gmail.com> | 2018-06-06 22:53:52 +0200 |
commit | e7ff22ce901102589173f7a7dc3e4ddbb030655f (patch) | |
tree | c493076771d1f4c45ea27fa0dc150fdd510a0142 /gui/fpgaviewwidget.h | |
parent | 41b949832c0b5f02a7b345b1c8f14480d5f81a8a (diff) | |
download | nextpnr-e7ff22ce901102589173f7a7dc3e4ddbb030655f.tar.gz nextpnr-e7ff22ce901102589173f7a7dc3e4ddbb030655f.tar.bz2 nextpnr-e7ff22ce901102589173f7a7dc3e4ddbb030655f.zip |
clang format for gui related files
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; |