33 lines
906 B
C++
33 lines
906 B
C++
#ifndef _UI_HPP
|
|
#define _UI_HPP
|
|
|
|
#include "DistrhoUI.hpp"
|
|
#include "ImageWidgets.hpp"
|
|
#include "artwork.hpp"
|
|
|
|
START_NAMESPACE_DISTRHO
|
|
|
|
class DistrhoUIAlphaOsc : public UI,
|
|
public ImageSlider::Callback {
|
|
public:
|
|
DistrhoUIAlphaOsc();
|
|
|
|
protected:
|
|
void parameterChanged(uint32_t index, float value) override;
|
|
void onDisplay() override;
|
|
|
|
void imageSliderDragStarted(ImageSlider* slider) override;
|
|
void imageSliderDragFinished(ImageSlider* slider) override;
|
|
void imageSliderValueChanged(ImageSlider* slider, float value) override;
|
|
|
|
private:
|
|
Image fImgBackground;
|
|
ScopedPointer<ImageSlider> xSliderSqrMode, xSliderSawMode, xSliderSubMode,
|
|
xSliderSubLevel, xSliderPWMRate, xSliderPWMDepth;
|
|
DISTRHO_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR(DistrhoUIAlphaOsc)
|
|
// ImageAboutWindow fAboutWindow;
|
|
};
|
|
|
|
END_NAMESPACE_DISTRHO
|
|
|
|
#endif |