aboutsummaryrefslogtreecommitdiffstats
path: root/gui/fpgaviewwidget.h
diff options
context:
space:
mode:
Diffstat (limited to 'gui/fpgaviewwidget.h')
-rw-r--r--gui/fpgaviewwidget.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/gui/fpgaviewwidget.h b/gui/fpgaviewwidget.h
index c281fd77..8114a686 100644
--- a/gui/fpgaviewwidget.h
+++ b/gui/fpgaviewwidget.h
@@ -216,6 +216,13 @@ class LineShader
class FPGAViewWidget : public QOpenGLWidget, protected QOpenGLFunctions
{
Q_OBJECT
+ Q_PROPERTY(QColor backgroundColor MEMBER backgroundColor DESIGNABLE true)
+ Q_PROPERTY(QColor belColor MEMBER belColor DESIGNABLE true)
+ Q_PROPERTY(QColor gridColor MEMBER gridColor DESIGNABLE true)
+ Q_PROPERTY(QColor wireColor MEMBER wireColor DESIGNABLE true)
+ Q_PROPERTY(QColor pipColor MEMBER pipColor DESIGNABLE true)
+ Q_PROPERTY(QColor groupColor MEMBER groupColor DESIGNABLE true)
+ Q_PROPERTY(QColor frameColor MEMBER frameColor DESIGNABLE true)
public:
FPGAViewWidget(QWidget *parent = 0);
@@ -253,6 +260,13 @@ class FPGAViewWidget : public QOpenGLWidget, protected QOpenGLFunctions
float startDragX_;
float startDragY_;
Context *ctx_;
+ QColor backgroundColor;
+ QColor gridColor;
+ QColor belColor;
+ QColor wireColor;
+ QColor pipColor;
+ QColor groupColor;
+ QColor frameColor;
};
NEXTPNR_NAMESPACE_END