/* ============================================================================== This is an automatically generated GUI class created by the Introjucer! Be careful when adding custom code to these files, as only the code within the "//[xyz]" and "//[/xyz]" sections will be retained when the file is loaded and re-saved. Created with Introjucer version: 3.1.0 ------------------------------------------------------------------------------ The Introjucer is part of the JUCE library - "Jules' Utility Class Extensions" Copyright 2004-13 by Raw Material Software Ltd. ============================================================================== */ #ifndef __JUCE_HEADER_AD7F5AFA07457368__ #define __JUCE_HEADER_AD7F5AFA07457368__ //[Headers] -- You can add your own extra header files here -- #include "JuceHeader.h" #include "Receiver.hpp" #include "Transmitter.hpp" //[/Headers] //============================================================================== /** //[Comments] An auto-generated component, created by the Introjucer. Describe your class and how it works here! //[/Comments] */ class ControlComponent : public Component, public TextEditor::Listener, public ChangeBroadcaster, public ChangeListener, public ButtonListener, public ReceiverStatusListener, public SliderListener, public ComboBoxListener { public: //============================================================================== ControlComponent (ReceiverInterface *pReceiverControlListener, TransmitterInterface *pTransmitterControlListener); ~ControlComponent(); //============================================================================== //[UserMethods] -- You can add your own custom methods in this section. //[/UserMethods] void paint (Graphics& g); void resized(); void buttonClicked (Button* buttonThatWasClicked); void sliderValueChanged (Slider* sliderThatWasMoved); void comboBoxChanged (ComboBox* comboBoxThatHasChanged); void mouseDown (const MouseEvent& e); private: //[UserVariables] -- You can add your own custom variables in this section. ReceiverInterface *m_pReceiverControlListener; TransmitterInterface *m_pTransmitterControlListener; params_t m_params; status_t m_status; cma_mode m_cmaModeSelected; void receiverStatusChanged(ReceiverInterface *pReceiver); void changeListenerCallback(juce::ChangeBroadcaster* source); void textEditorFocusLost (TextEditor &textEditor); void textEditorTextChanged (TextEditor &textEditor); void textEditorReturnKeyPressed (TextEditor &textEditor); bool m_userParamEntryinProgress; ScopedPointer m_tooltipWindow; //[/UserVariables] //============================================================================== ScopedPointer groupComponent3; ScopedPointer m_GroupSymbolTimingRecovery2; ScopedPointer groupComponent; ScopedPointer groupDFE; ScopedPointer groupCMA; ScopedPointer groupCarrierPhaseRecovery; ScopedPointer m_GroupSymbolTimingRecovery; ScopedPointer toggleButtonCPREnable; ScopedPointer toggleButtonDFEEnable; ScopedPointer toggleButtonSTREnable; ScopedPointer m_entrySTRLoopFilterLead_0; ScopedPointer m_entrySTRLoopFilterLag_0; ScopedPointer m_entryCPRLoopFilterLead_0; ScopedPointer m_entryCPRLoopFilterLag_0; ScopedPointer m_buttonDfeOnUpdateFromDfeOff; ScopedPointer m_buttonResetDFE; ScopedPointer m_buttonResetCMA; ScopedPointer groupComponent2; ScopedPointer m_entryCmaMu; ScopedPointer m_entryDfeMu; ScopedPointer