From 8a8424d1ff68ee840b8f033fe02285878182fc90 Mon Sep 17 00:00:00 2001 From: Tatsuya Shiozawa Date: Sat, 13 Jun 2020 13:44:36 +0900 Subject: [PATCH] Change player windw background colour. --- GLSLPlugIn/Source/PlayerWindow.cpp | 6 ++---- GLSLPlugIn/Source/PlayerWindow.h | 3 --- 2 files changed, 2 insertions(+), 7 deletions(-) diff --git a/GLSLPlugIn/Source/PlayerWindow.cpp b/GLSLPlugIn/Source/PlayerWindow.cpp index fb93f79..0254293 100644 --- a/GLSLPlugIn/Source/PlayerWindow.cpp +++ b/GLSLPlugIn/Source/PlayerWindow.cpp @@ -16,12 +16,10 @@ PlayerWindow::PlayerWindow(String name) fifoIndex(0), nextFFTBlockReady(false) { - m_GLSLCompo.setStatusLabelPtr(&m_statusLabel); - m_GLSLCompo.setFragmentDocPtr(&fragmentDocument); - //m_GLSLCompo.setEditorPtr(this); - addKeyListener(this); + setBackgroundColour(Colours::black); + setUsingNativeTitleBar(false); setTitleBarHeight(TITLEBAR_HEIGHT); diff --git a/GLSLPlugIn/Source/PlayerWindow.h b/GLSLPlugIn/Source/PlayerWindow.h index eb10666..3664f03 100644 --- a/GLSLPlugIn/Source/PlayerWindow.h +++ b/GLSLPlugIn/Source/PlayerWindow.h @@ -54,9 +54,6 @@ class PlayerWindow : public DocumentWindow, const int TITLEBAR_HEIGHT = 26; GLSLComponent m_GLSLCompo; - Label m_statusLabel; - CodeDocument /*vertexDocument,*/ fragmentDocument; - enum { shaderLinkDelay = 500 }; std::queue m_midiCCqueue;