invert palette for fpga viewer
This commit is contained in:
parent
96d862311d
commit
0f0259fd94
@ -242,6 +242,7 @@ void LineShader::draw(const LineShaderData &line, const QMatrix4x4 &projection)
|
|||||||
|
|
||||||
FPGAViewWidget::FPGAViewWidget(QWidget *parent) : QOpenGLWidget(parent), lineShader_(this), zoom_(500.f), ctx_(nullptr)
|
FPGAViewWidget::FPGAViewWidget(QWidget *parent) : QOpenGLWidget(parent), lineShader_(this), zoom_(500.f), ctx_(nullptr)
|
||||||
{
|
{
|
||||||
|
/*
|
||||||
backgroundColor = QColor("#ffffff");
|
backgroundColor = QColor("#ffffff");
|
||||||
gridColor = QColor("#ddd");
|
gridColor = QColor("#ddd");
|
||||||
gFrameColor = QColor("#303030");
|
gFrameColor = QColor("#303030");
|
||||||
@ -249,6 +250,15 @@ FPGAViewWidget::FPGAViewWidget(QWidget *parent) : QOpenGLWidget(parent), lineSha
|
|||||||
gInactiveColor = QColor("#d0d0d0");
|
gInactiveColor = QColor("#d0d0d0");
|
||||||
gActiveColor = QColor("#101010");
|
gActiveColor = QColor("#101010");
|
||||||
frameColor = QColor("#0066ba");
|
frameColor = QColor("#0066ba");
|
||||||
|
*/
|
||||||
|
backgroundColor = QColor("#000000");
|
||||||
|
gridColor = QColor("#333");
|
||||||
|
gFrameColor = QColor("#d0d0d0");
|
||||||
|
gHiddenColor = QColor("#606060");
|
||||||
|
gInactiveColor = QColor("#303030");
|
||||||
|
gActiveColor = QColor("#f0f0f0");
|
||||||
|
frameColor = QColor("#0066ba");
|
||||||
|
|
||||||
auto fmt = format();
|
auto fmt = format();
|
||||||
fmt.setMajorVersion(3);
|
fmt.setMajorVersion(3);
|
||||||
fmt.setMinorVersion(1);
|
fmt.setMinorVersion(1);
|
||||||
|
Loading…
Reference in New Issue
Block a user