Public Member Functions | |
ChannelSelector (bool createButtons, Font &titleFont) | |
~ChannelSelector () | |
void | buttonClicked (Button *button) |
Array< int > | getActiveChannels () |
void | setActiveChannels (Array< int >) |
void | setNumChannels (int) |
bool | getRecordStatus (int chan) |
bool | getAudioStatus (int chan) |
int | getDesiredWidth () |
void | inactivateButtons () |
void | activateButtons () |
void | setRadioStatus (bool) |
void | paramButtonsToggledByDefault (bool t) |
![]() | |
void | setUIComponent (UIComponent *) |
virtual void | updateChildComponents () |
EditorViewport * | getEditorViewport () |
DataViewport * | getDataViewport () |
ProcessorList * | getProcessorList () |
ProcessorGraph * | getProcessorGraph () |
ControlPanel * | getControlPanel () |
MessageCenter * | getMessageCenter () |
UIComponent * | getUIComponent () |
AudioComponent * | getAudioComponent () |
Public Attributes | |
bool | eventsOnly |
Private Types | |
enum | { AUDIO, RECORD, PARAMETER } |
Private Member Functions | |
void | resized () |
void | addButton () |
void | removeButton () |
void | refreshButtonBoundaries () |
void | timerCallback () |
void | paint (Graphics &g) |
Private Attributes | |
EditorButton * | audioButton |
EditorButton * | recordButton |
EditorButton * | paramsButton |
EditorButton * | allButton |
EditorButton * | noneButton |
Array< ChannelSelectorButton * > | parameterButtons |
Array< ChannelSelectorButton * > | audioButtons |
Array< ChannelSelectorButton * > | recordButtons |
bool | paramsToggled |
bool | paramsActive |
bool | radioStatus |
bool | isNotSink |
bool | moveRight |
bool | moveLeft |
int | offsetLR |
int | offsetUD |
int | parameterOffset |
int | audioOffset |
int | recordOffset |
int | desiredOffset |
Font & | titleFont |
ChannelSelector::ChannelSelector | ( | bool | createButtons, |
Font & | titleFont | ||
) |
constructor
ChannelSelector::~ChannelSelector | ( | ) |
destructor
void ChannelSelector::buttonClicked | ( | Button * | button | ) |
button callback
Array<int> ChannelSelector::getActiveChannels | ( | ) |
Return an array of selected channels.
bool ChannelSelector::getAudioStatus | ( | int | chan | ) |
Return whether a particular channel should be monitored.
int ChannelSelector::getDesiredWidth | ( | ) |
Return component's desired width.
bool ChannelSelector::getRecordStatus | ( | int | chan | ) |
Return whether a particular channel should be recording.
void ChannelSelector::setActiveChannels | ( | Array< int > | ) |
Set the selected channels.
void ChannelSelector::setNumChannels | ( | int | ) |
Set the total number of channels.