22 lines
609 B
C++
22 lines
609 B
C++
#ifndef _MIXER_MIXERSCOPE_HPP_
|
|
#define _MIXER_MIXERSCOPE_HPP_
|
|
#ifndef _MIXER_GRAPHIC_HPP_
|
|
#include <mixer/graphic.hpp>
|
|
#endif
|
|
#ifndef _SAMPLE_WAVEFORM_HPP_
|
|
#include <sample/wave.hpp>
|
|
#endif
|
|
|
|
class MixerScope : public Graphic
|
|
{
|
|
public:
|
|
MixerScope(GUIWindow &parentWnd,UINT controlID,UINT extraStyles=0,const Rect &initRect=Rect(1,1,0,0),const Font &bannerFont=Font("Times New Roman",20,Font::PitchVariable|Font::FamilySwiss,Font::WeightNormal));
|
|
virtual ~MixerScope();
|
|
bool setData(WaveForm &waveForm);
|
|
protected:
|
|
virtual void postPaint(PureDevice &pureDevice);
|
|
private:
|
|
WaveForm mWaveForm;
|
|
};
|
|
#endif
|