Ardour  9.0-pre0-582-g084a23a80d
ArdourSurface::MACKIE_NAMESPACE::PluginSubviewState Class Referenceabstract

#include <subview.h>

Inheritance diagram for ArdourSurface::MACKIE_NAMESPACE::PluginSubviewState:
[legend]

Public Member Functions

 PluginSubviewState (PluginSubview &context)
 
virtual ~PluginSubviewState ()
 
virtual bool permit_flipping_faders_and_pots ()
 
virtual void setup_vpot (Strip *strip, Pot *vpot, std::string pending_display[2], uint32_t global_strip_position, std::shared_ptr< ARDOUR::Stripable > subview_stripable)=0
 
virtual void handle_vselect_event (uint32_t global_strip_position, std::shared_ptr< ARDOUR::Stripable > subview_stripable)=0
 
virtual bool handle_cursor_right_press ()=0
 
virtual bool handle_cursor_left_press ()
 
virtual void bank_changed ()=0
 

Static Public Member Functions

static std::string shorten_display_text (const std::string &text, std::string::size_type target_length)
 

Protected Member Functions

uint32_t calculate_virtual_strip_position (uint32_t strip_index) const
 

Protected Attributes

PluginSubview_context
 
const uint32_t _bank_size
 
uint32_t _current_bank
 

Detailed Description

Definition at line 213 of file subview.h.

Constructor & Destructor Documentation

◆ PluginSubviewState()

ArdourSurface::MACKIE_NAMESPACE::PluginSubviewState::PluginSubviewState ( PluginSubview context)

◆ ~PluginSubviewState()

virtual ArdourSurface::MACKIE_NAMESPACE::PluginSubviewState::~PluginSubviewState ( )
virtual

Member Function Documentation

◆ bank_changed()

virtual void ArdourSurface::MACKIE_NAMESPACE::PluginSubviewState::bank_changed ( )
pure virtual

◆ calculate_virtual_strip_position()

uint32_t ArdourSurface::MACKIE_NAMESPACE::PluginSubviewState::calculate_virtual_strip_position ( uint32_t  strip_index) const
protected

◆ handle_cursor_left_press()

virtual bool ArdourSurface::MACKIE_NAMESPACE::PluginSubviewState::handle_cursor_left_press ( )
virtual

◆ handle_cursor_right_press()

virtual bool ArdourSurface::MACKIE_NAMESPACE::PluginSubviewState::handle_cursor_right_press ( )
pure virtual

◆ handle_vselect_event()

virtual void ArdourSurface::MACKIE_NAMESPACE::PluginSubviewState::handle_vselect_event ( uint32_t  global_strip_position,
std::shared_ptr< ARDOUR::Stripable subview_stripable 
)
pure virtual

◆ permit_flipping_faders_and_pots()

virtual bool ArdourSurface::MACKIE_NAMESPACE::PluginSubviewState::permit_flipping_faders_and_pots ( )
inlinevirtual

Reimplemented in ArdourSurface::MACKIE_NAMESPACE::PluginEdit.

Definition at line 218 of file subview.h.

◆ setup_vpot()

virtual void ArdourSurface::MACKIE_NAMESPACE::PluginSubviewState::setup_vpot ( Strip *  strip,
Pot *  vpot,
std::string  pending_display[2],
uint32_t  global_strip_position,
std::shared_ptr< ARDOUR::Stripable subview_stripable 
)
pure virtual

◆ shorten_display_text()

static std::string ArdourSurface::MACKIE_NAMESPACE::PluginSubviewState::shorten_display_text ( const std::string &  text,
std::string::size_type  target_length 
)
static

Member Data Documentation

◆ _bank_size

const uint32_t ArdourSurface::MACKIE_NAMESPACE::PluginSubviewState::_bank_size
protected

Definition at line 235 of file subview.h.

◆ _context

PluginSubview& ArdourSurface::MACKIE_NAMESPACE::PluginSubviewState::_context
protected

Definition at line 234 of file subview.h.

◆ _current_bank

uint32_t ArdourSurface::MACKIE_NAMESPACE::PluginSubviewState::_current_bank
protected

Definition at line 236 of file subview.h.


The documentation for this class was generated from the following file: