/** * @author Edouard DUPIN * * @copyright 2010, Edouard DUPIN, all right reserved * * @license APACHE-2 (see license file) */ #ifndef __APPL_WINDOWS_H__ #define __APPL_WINDOWS_H__ #include #include #include #include #include namespace appl { class Windows : public ewol::widget::Windows { protected: Windows(); void init(); public: DECLARE_FACTORY(Windows); protected: std::shared_ptr m_gui; std::shared_ptr m_displayer; void onCallbackSampleRateLow(); void onCallbackSampleRateUp(); void onCallbackTypeUp(); void onCallbackTypeLow(); void onCallbackGain(const std::string& _value); void onCallbackGainSlider(const float& _value); void onCallbackFrequency(const std::string& _value); void onCallbackFrequencySlider(const float& _value); void onCallbackQuality(const std::string& _value); void onCallbackQualitySlider(const float& _value); void onCallbackStart(); void onCallbackStart16(); void onCallbackStartFloat(); protected: int32_t m_sampleRate; std::vector m_listSampleRate; enum drain::filterType m_type; std::vector m_listType; float m_cutFrequency; float m_gain; float m_quality; }; }; #endif