Holds tabs for visualizers. More...
#include <DataViewport.h>
Public Member Functions | |
DataViewport () | |
~DataViewport () | |
int | addTabToDataViewport (String tabName, Component *componentToAdd, GenericEditor *editor) |
Adds a new tab and returns the tab index. | |
void | destroyTab (int) |
Removes a tab with a specified index. | |
void | selectTab (int) |
Select a tab with a specified index. | |
void | currentTabChanged (int newIndex, const String &newTabName) |
Informs the component of the current tab that it's now active. | |
void | disableConnectionToEditorViewport () |
Prevent DataViewport from signaling EditorViewport when changing tabs. | |
![]() | |
AccessClass () | |
~AccessClass () | |
void | setUIComponent (UIComponent *) |
virtual void | updateChildComponents () |
EditorViewport * | getEditorViewport () |
DataViewport * | getDataViewport () |
ProcessorList * | getProcessorList () |
ProcessorGraph * | getProcessorGraph () |
ControlPanel * | getControlPanel () |
MessageCenter * | getMessageCenter () |
UIComponent * | getUIComponent () |
AudioComponent * | getAudioComponent () |
Holds tabs for visualizers.
Editors that create OpenGL visualizers can either place them in the DataViewport, for easy access on small monitors, or in a separate window, for maximum flexibility.
DataViewport::DataViewport | ( | ) |
DataViewport::~DataViewport | ( | ) |
int DataViewport::addTabToDataViewport | ( | String | tabName, |
Component * | componentToAdd, | ||
GenericEditor * | editor | ||
) |
Adds a new tab and returns the tab index.
void DataViewport::currentTabChanged | ( | int | newIndex, |
const String & | newTabName | ||
) |
Informs the component of the current tab that it's now active.
void DataViewport::destroyTab | ( | int | ) |
Removes a tab with a specified index.
void DataViewport::disableConnectionToEditorViewport | ( | ) |
Prevent DataViewport from signaling EditorViewport when changing tabs.
void DataViewport::selectTab | ( | int | ) |
Select a tab with a specified index.