Mercurial > hg > ambi-plugin
view Source/modded_plot/PolarPlot.hpp @ 10:b5d48e9b9aea
GUI Works fine.
Small memory leaks.
author | martinm_home <martin.morrell@eecs.qmul.ac.uk> |
---|---|
date | Tue, 25 Sep 2012 21:35:17 +0100 |
parents | 503cbcdd0b2a |
children |
line wrap: on
line source
/* VVMicVST - A VST plugin to derive virtual microphones from b-format. * * Copyright (c) 2005 David McGriffy <david@mcgriffy.com> * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU Library General Public * License as published by the Free Software Foundation; either * version 2 of the License, or (at your option) any later version. * * This library is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. * See the GNU Library General Public License for more details. * * You should have received a copy of the GNU Library General Public * License along with this library; if not, write to the * Free Software Foundation, Inc., 59 Temple Place - Suite 330, * Boston, MA 02111-1307, USA. */ #if !defined(AFX_POLARPLOT_H) #define AFX_POLARPLOT_H #if _MSC_VER > 1000 #pragma once #endif // _MSC_VER > 1000 // PolarPlot.h : header file // // include VSTGUI #ifndef __vstgui__ #include <vstgui.h> #endif //#include "AVVMic.hpp" ///////////////////////////////////////////////////////////////////////////// // CPolarPlot view class CPolarPlot : public CControl { public: CPolarPlot(CRect& size, CControlListener* listener, int tag, CBitmap *hBackground, CPoint& offset); virtual ~CPolarPlot(); // Attributes public: void draw(CDrawContext* dc); //void setEffect(AVVMic *effect); //AVVMic *getEffect(); CColor getColor(int i); protected: //AVVMic *effect; CBitmap *hBackground; CPoint offset; }; ///////////////////////////////////////////////////////////////////////////// #endif // !defined(AFX_POLARPLOT_H)