Krotos Modules 3
Loading...
Searching...
No Matches
PerformanceArea.h File Reference

Go to the source code of this file.

Classes

class  krotos::krotos::PerformanceArea
 
struct  krotos::PerformanceArea::Tag
 
struct  krotos::PerformanceArea::ComponentIds
 
struct  krotos::PerformanceArea::Layout
 

Namespaces

namespace  krotos
 

Typedefs

using krotos::PerformanceArea::KType = KwidgetFactory::KwidgetType
 

Variables

static const std::string krotos::PerformanceArea::analyticsEventTemplateSelected {"analyticsEventTemplateSelected:"}
 
static const String krotos::PerformanceArea::TemplateFileExtension = "kst"
 
std::function< void(String kType)> krotos::PerformanceArea::addKwidget
 
std::function< Rectangle< int >(String componentType, Rectangle< int > currentBounds)> krotos::PerformanceArea::getAutoLayoutBoundsFromType
 Used to look up what bounds should be used for a given component type when using auto layout. Returns default bounds if nothing is set for that type.
 
bool krotos::PerformanceArea::smallify {false}
 
CustomLayout krotos::PerformanceArea::m_layoutEditor
 
std::unique_ptr< Drawable > krotos::PerformanceArea::m_backgroundImage
 
ComboBox krotos::PerformanceArea::m_layoutSelector
 
ComboBox krotos::PerformanceArea::m_editorSelector
 
StringArray krotos::PerformanceArea::m_optionKTypes
 
std::unique_ptr< FileChooser > krotos::PerformanceArea::m_saveWindow
 
std::unique_ptr< FileChooser > krotos::PerformanceArea::m_loadWindow
 
ValueTree & krotos::PerformanceArea::m_customDataTree
 
std::unique_ptr< ValueTreeAttachmentkrotos::PerformanceArea::m_customTreeAttachment
 
Array< File > krotos::PerformanceArea::m_templateFiles
 
KwidgetAudioProcessorkrotos::PerformanceArea::m_processor
 
const String krotos::PerformanceArea::edit_mode_file_ext {"nikolas"}
 
bool krotos::PerformanceArea::m_showEditorControls {false}
 
bool krotos::PerformanceArea::m_drawBackground {false}
 
int krotos::PerformanceArea::m_id {0}
 
int krotos::PerformanceArea::m_lastSelectedTemplate {0}
 
std::unique_ptr< Drawable > krotos::PerformanceArea::m_dropdownIcon
 
ValueTree krotos::PerformanceArea::m_layoutBuilderTree
 

Typedef Documentation

◆ KType

using krotos::PerformanceArea::KType = KwidgetFactory::KwidgetType
private

Variable Documentation

◆ addKwidget

std::function<void(String kType)> krotos::PerformanceArea::addKwidget

◆ analyticsEventTemplateSelected

const std::string krotos::PerformanceArea::analyticsEventTemplateSelected {"analyticsEventTemplateSelected:"}
static

◆ edit_mode_file_ext

const String krotos::PerformanceArea::edit_mode_file_ext {"nikolas"}
private

◆ getAutoLayoutBoundsFromType

std::function<Rectangle<int>(String componentType, Rectangle<int> currentBounds)> krotos::PerformanceArea::getAutoLayoutBoundsFromType

Used to look up what bounds should be used for a given component type when using auto layout. Returns default bounds if nothing is set for that type.

◆ m_backgroundImage

std::unique_ptr<Drawable> krotos::PerformanceArea::m_backgroundImage
private

◆ m_customDataTree

ValueTree& krotos::PerformanceArea::m_customDataTree
private

◆ m_customTreeAttachment

std::unique_ptr<ValueTreeAttachment> krotos::PerformanceArea::m_customTreeAttachment
private

◆ m_drawBackground

bool krotos::PerformanceArea::m_drawBackground {false}
private

◆ m_dropdownIcon

std::unique_ptr<Drawable> krotos::PerformanceArea::m_dropdownIcon
private

◆ m_editorSelector

ComboBox krotos::PerformanceArea::m_editorSelector
private

◆ m_id

int krotos::PerformanceArea::m_id {0}
private

◆ m_lastSelectedTemplate

int krotos::PerformanceArea::m_lastSelectedTemplate {0}
private

◆ m_layoutBuilderTree

ValueTree krotos::PerformanceArea::m_layoutBuilderTree
private

◆ m_layoutEditor

CustomLayout krotos::PerformanceArea::m_layoutEditor
private

◆ m_layoutSelector

ComboBox krotos::PerformanceArea::m_layoutSelector
private

◆ m_loadWindow

std::unique_ptr<FileChooser> krotos::PerformanceArea::m_loadWindow
private

◆ m_optionKTypes

StringArray krotos::PerformanceArea::m_optionKTypes
private

◆ m_processor

KwidgetAudioProcessor& krotos::PerformanceArea::m_processor
private

◆ m_saveWindow

std::unique_ptr<FileChooser> krotos::PerformanceArea::m_saveWindow
private

◆ m_showEditorControls

bool krotos::PerformanceArea::m_showEditorControls {false}
private

◆ m_templateFiles

Array<File> krotos::PerformanceArea::m_templateFiles
private

◆ smallify

bool krotos::PerformanceArea::smallify {false}

◆ TemplateFileExtension

const String krotos::PerformanceArea::TemplateFileExtension = "kst"
static