view Source/MyPlot.h @ 12:87dc3d84c120

Addressed the load program defaults over user settings 'feature'. Removed isChild on objects that are added before the frame creation since a)they're always there and b) doesn't write to all displays present.
author martinm_home <martin.morrell@eecs.qmul.ac.uk>
date Thu, 27 Sep 2012 23:29:16 +0100
parents b5d48e9b9aea
children
line wrap: on
line source
//
//  MyPlot.h
//  ClassicAmbiDec
//
//  Created by Martin Morrell on 25/06/2012.
//  Copyright (c) 2012 __MyCompanyName__. All rights reserved.
//


// include VSTGUI
#ifndef __vstgui__
#include "vstgui.h"
#endif
#define gFactor 20//Scales the gain for use in the plot


class polarPlot : public CView
{
public:
    //Constructor
    polarPlot(const CRect &size);
    
    //Variables
    int     stereo_mode;
    double  pattern;
    double  width;
    double  centre_pattern;
    double  centre_gain;
    int     surround_mode;
    double  surround_pattern;
    double  surround_width;
    double  surround_gain;
    int     decoder_mode;
    int     decoder_prev;
    int     decoder_mode5x;
    
    //Functions
    void    draw (CDrawContext* context);
    void    circle(CDrawContext* context);
    void    leftMicPattern(CDrawContext* context);
    void    rightMicPattern(CDrawContext* context);
    void    centreMicPattern(CDrawContext* context);
    void    lsMicPattern(CDrawContext* context);
    void    rsMicPattern(CDrawContext* context);
    void    heller1Pattern(CDrawContext* context);
    void    heller2Pattern(CDrawContext* context);
    
protected:
};